Update README.md
Browse files
README.md
CHANGED
@@ -41,7 +41,7 @@ Then, copy the code snippet below to run the example.
|
|
41 |
```python
|
42 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
43 |
device = "auto"
|
44 |
-
model_path = "ibm-granite/
|
45 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
46 |
# drop device_map if running on CPU
|
47 |
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
|
|
|
41 |
```python
|
42 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
43 |
device = "auto"
|
44 |
+
model_path = "ibm-granite/granite-3.1-3b-a800m-base"
|
45 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
46 |
# drop device_map if running on CPU
|
47 |
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
|