Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ This model is a fine-tuned version of [bart-it](https://huggingface.co/morenolq/
|
|
| 10 |
|
| 11 |
```python
|
| 12 |
import torch
|
| 13 |
-
from transformers import AutoTokenizer,
|
| 14 |
|
| 15 |
model_name = "efederici/bart-lfqa-it"
|
| 16 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
|
| 10 |
|
| 11 |
```python
|
| 12 |
import torch
|
| 13 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
| 14 |
|
| 15 |
model_name = "efederici/bart-lfqa-it"
|
| 16 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|