Corrected tiny typo in loading the model
Browse filesFixed a tiny typo at the section _Load Pretrained Model_
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 |
|