Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -88,13 +88,13 @@ You can evaluate an embedding model on this sample dataset using the following c
|
|
88 |
```python
|
89 |
import mteb
|
90 |
|
91 |
-
# Load the
|
92 |
task = mteb.get_task("FrenchLegal1Retrieval")
|
93 |
evaluator = mteb.MTEB(tasks=[task])
|
94 |
|
95 |
# Run evaluation with your model
|
96 |
model = mteb.get_model("your-model-name")
|
97 |
-
results = evaluator.run(model)
|
98 |
```
|
99 |
|
100 |
## Sample Content
|
|
|
88 |
```python
|
89 |
import mteb
|
90 |
|
91 |
+
# Load the dataset
|
92 |
task = mteb.get_task("FrenchLegal1Retrieval")
|
93 |
evaluator = mteb.MTEB(tasks=[task])
|
94 |
|
95 |
# Run evaluation with your model
|
96 |
model = mteb.get_model("your-model-name")
|
97 |
+
results = evaluator.run(model) # requires hf_token to run as it is a closed dataset
|
98 |
```
|
99 |
|
100 |
## Sample Content
|