Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/adding_a_benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
The MTEB Leaderboard is available [here](https://huggingface.co/spaces/mteb/leaderboard) and we encourage additions of new benchmarks. To add a new benchmark:

1. Add your benchmark to [benchmark.py](../mteb/benchmarks/benchmarks.py) as a `Benchmark` object, and select the MTEB tasks that will be in the benchmark. If some of the tasks do not exist in MTEB, follow the "add a dataset" instructions to add them.
2. Open a PR at https://github.com/embedding-benchmark/results with results of models on your benchmark.
2. Open a PR at https://github.com/embeddings-benchmark/results with results of models on your benchmark.
3. When PRs are merged, your benchmark will be added to the leaderboard automatically after the next workflow trigger.
1 change: 1 addition & 0 deletions docs/adding_a_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ If your are adding a model that requires additional dependencies, you can add th

In the [voyage_models.py](../mteb/models/voyage_models.py) file, we have added the following code:
```python
from mteb.requires_package import requires_package
requires_package(self, "voyageai", model_name, "pip install 'mteb[voyageai]'")
```
and also updated [pyproject.toml]((../pyproject.toml)) file with the following code:
Expand Down