IBM Granite models support? #214

Open
opened 2025-01-10 02:08:43 -05:00 by 0wwafa · 0 comments
0wwafa commented 2025-01-10 02:08:43 -05:00 (Migrated from github.com)
from ctransformers import AutoModelForCausalLM

llm = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-3.1-2b-instruct", model_type="gpt2")

print(llm("Tell me the difference between thinking in humans and in LLMs."))

the above doesn't work. how can I use it?

``` from ctransformers import AutoModelForCausalLM llm = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-3.1-2b-instruct", model_type="gpt2") print(llm("Tell me the difference between thinking in humans and in LLMs.")) ``` the above doesn't work. how can I use it?
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
marella/ctransformers#214
No description provided.