Commit
•
26c3ffb
1
Parent(s):
ee483c1
Corrected tiny typo in loading the model (#1)
Browse files- Corrected tiny typo in loading the model (64c3d1a035f3c88ddf638653b3b970cb9179650c)
Co-authored-by: Yannis Panagis <ypanagis@users.noreply.huggingface.co>
README.md
CHANGED
@@ -41,8 +41,8 @@ For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conne
|
|
41 |
```python
|
42 |
from transformers import AutoTokenizer, AutoModel
|
43 |
|
44 |
-
tokenizer = AutoTokenizer.from_pretrained("coastalcph/fairlex-ecthr-
|
45 |
-
model = AutoModel.from_pretrained("coastalcph/fairlex-ecthr-
|
46 |
```
|
47 |
|
48 |
|
|
|
41 |
```python
|
42 |
from transformers import AutoTokenizer, AutoModel
|
43 |
|
44 |
+
tokenizer = AutoTokenizer.from_pretrained("coastalcph/fairlex-ecthr-minilm")
|
45 |
+
model = AutoModel.from_pretrained("coastalcph/fairlex-ecthr-minilm")
|
46 |
```
|
47 |
|
48 |
|