Update README.md
Browse files
README.md
CHANGED
@@ -35,7 +35,7 @@ pip install transformers
|
|
35 |
#### Running the model on CPU/GPU/multi GPU
|
36 |
* _Using full precision_
|
37 |
```python
|
38 |
-
# pip install
|
39 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
40 |
checkpoint = "HuggingFaceTB/SmolLM-360M"
|
41 |
device = "cuda" # for GPU usage or "cpu" for CPU usage
|
|
|
35 |
#### Running the model on CPU/GPU/multi GPU
|
36 |
* _Using full precision_
|
37 |
```python
|
38 |
+
# pip install transformers
|
39 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
40 |
checkpoint = "HuggingFaceTB/SmolLM-360M"
|
41 |
device = "cuda" # for GPU usage or "cpu" for CPU usage
|