Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ To correctly load the full model, include the `trust_remote_code=True` argument
|
|
31 |
```python
|
32 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
33 |
|
34 |
-
model = AutoModelForSequenceClassification.from_pretrained("manifesto-project/xlm-roberta-
|
35 |
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-large")
|
36 |
|
37 |
sentence = "These principles are under threat."
|
|
|
31 |
```python
|
32 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
33 |
|
34 |
+
model = AutoModelForSequenceClassification.from_pretrained("manifesto-project/manifestoberta-xlm-roberta-56policy-topics-context-2023-1", trust_remote_code=True)
|
35 |
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-large")
|
36 |
|
37 |
sentence = "These principles are under threat."
|