JacopoAbate
commited on
Commit
•
f421b93
1
Parent(s):
57e1005
Update README.md
Browse files
README.md
CHANGED
@@ -29,7 +29,7 @@ We evaluated the model using the same test sets as used for the Open Ita LLM Lea
|
|
29 |
|
30 |
## Usage
|
31 |
|
32 |
-
Be sure to
|
33 |
|
34 |
```python
|
35 |
pip install transformers torch sentencepiece
|
@@ -38,7 +38,7 @@ pip install transformers torch sentencepiece
|
|
38 |
```python
|
39 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
40 |
|
41 |
-
device = "cpu" #
|
42 |
|
43 |
model = AutoModelForCausalLM.from_pretrained("MoxoffSpA/Azzurro")
|
44 |
tokenizer = AutoTokenizer.from_pretrained("MoxoffSpA/Azzurro")
|
|
|
29 |
|
30 |
## Usage
|
31 |
|
32 |
+
Be sure to install these dependecies before running the program
|
33 |
|
34 |
```python
|
35 |
pip install transformers torch sentencepiece
|
|
|
38 |
```python
|
39 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
40 |
|
41 |
+
device = "cpu" # if you want to use the gpu make sure to have cuda toolkit installed and change this to "cuda"
|
42 |
|
43 |
model = AutoModelForCausalLM.from_pretrained("MoxoffSpA/Azzurro")
|
44 |
tokenizer = AutoTokenizer.from_pretrained("MoxoffSpA/Azzurro")
|