Skip to content

Commit bbc736f

Browse files
authored
Merge pull request #1538 from hanhainebula/master
fix bug: pytrec_eval installation issue
2 parents f7cee83 + 9e9cf5b commit bbc736f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ We support evaluations on [MTEB](https://github.com/embeddings-benchmark/mteb),
158158

159159
```shell
160160
pip install pytrec_eval
161+
# if you fail to install pytrec_eval, try the following command
162+
# pip install pytrec-eval-terrier
161163
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
162164
python -m FlagEmbedding.evaluation.msmarco \
163165
--eval_name msmarco \

examples/evaluation/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ You need install `pytrec_eval` and `faiss` for evaluation:
105105

106106
```shell
107107
pip install pytrec_eval
108+
# if you fail to install pytrec_eval, try the following command
109+
# pip install pytrec-eval-terrier
108110
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
109111
```
110112

0 commit comments

Comments
 (0)