Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ We slightly modified the Classification Head of the XLMRobertaModelForSequenceCl
|
|
20 |
```python
|
21 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
22 |
|
23 |
-
model = AutoModelForSequenceClassification.from_pretrained("manifesto-project/xlm-roberta-
|
24 |
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-large")
|
25 |
|
26 |
sentence = "These principles are under threat."
|
|
|
20 |
```python
|
21 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
22 |
|
23 |
+
model = AutoModelForSequenceClassification.from_pretrained("manifesto-project/xlm-roberta-political-56topics-context-2023a", trust_remote_code=True)
|
24 |
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-large")
|
25 |
|
26 |
sentence = "These principles are under threat."
|