Update README.md
Browse files
README.md
CHANGED
@@ -25,6 +25,7 @@ It works for all languages the xlm-roberta model is pretrained on ([overview](ht
|
|
25 |
## How to use
|
26 |
|
27 |
```python
|
|
|
28 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
29 |
|
30 |
model = AutoModelForSequenceClassification.from_pretrained("manifesto-project/manifestoberta-xlm-roberta-56policy-topics-sentence-2023-1-1")
|
|
|
25 |
## How to use
|
26 |
|
27 |
```python
|
28 |
+
import torch
|
29 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
30 |
|
31 |
model = AutoModelForSequenceClassification.from_pretrained("manifesto-project/manifestoberta-xlm-roberta-56policy-topics-sentence-2023-1-1")
|