Merge pull request #1538 from hanhainebula/master

fix bug: pytrec_eval installation issue
This commit is contained in:
Jianlyu Chen
2025-10-22 14:10:16 +08:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -158,6 +158,8 @@ We support evaluations on [MTEB](https://github.com/embeddings-benchmark/mteb),
```shell
pip install pytrec_eval
# if you fail to install pytrec_eval, try the following command
# pip install pytrec-eval-terrier
pip install https://github.com/kyamagu/faiss-wheels/releases/download/v1.7.3/faiss_gpu-1.7.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
python -m FlagEmbedding.evaluation.msmarco \
--eval_name msmarco \
+2
View File
@@ -105,6 +105,8 @@ You need install `pytrec_eval` and `faiss` for evaluation:
```shell
pip install pytrec_eval
# if you fail to install pytrec_eval, try the following command
# pip install pytrec-eval-terrier
pip install https://github.com/kyamagu/faiss-wheels/releases/download/v1.7.3/faiss_gpu-1.7.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
```