From 90b12342b7e9820ee82eea4963f41d9113d067f9 Mon Sep 17 00:00:00 2001 From: hanhainebula <2512674094@qq.com> Date: Wed, 22 Oct 2025 14:08:51 +0800 Subject: [PATCH 1/2] fix bug: pytrec_eval installation issue --- examples/README.md | 2 ++ examples/evaluation/README.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/README.md b/examples/README.md index d115b8fc..2a2104f1 100644 --- a/examples/README.md +++ b/examples/README.md @@ -158,6 +158,8 @@ We support evaluations on [MTEB](https://github.com/embeddings-benchmark/mteb), ```shell pip install pytrec_eval +# if you fails 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 \ diff --git a/examples/evaluation/README.md b/examples/evaluation/README.md index 931d2de9..d8248eca 100644 --- a/examples/evaluation/README.md +++ b/examples/evaluation/README.md @@ -105,6 +105,8 @@ You need install `pytrec_eval` and `faiss` for evaluation: ```shell pip install pytrec_eval +# if you fails 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 ``` From 9e9cf5b37c57a3cd32e8a1162d186f82c35c02dc Mon Sep 17 00:00:00 2001 From: hanhainebula <2512674094@qq.com> Date: Wed, 22 Oct 2025 14:09:47 +0800 Subject: [PATCH 2/2] fix bug: pytrec_eval installation issue --- examples/README.md | 2 +- examples/evaluation/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/README.md b/examples/README.md index 2a2104f1..3faea48d 100644 --- a/examples/README.md +++ b/examples/README.md @@ -158,7 +158,7 @@ We support evaluations on [MTEB](https://github.com/embeddings-benchmark/mteb), ```shell pip install pytrec_eval -# if you fails to install pytrec_eval, try the following command +# 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 \ diff --git a/examples/evaluation/README.md b/examples/evaluation/README.md index d8248eca..f429ed58 100644 --- a/examples/evaluation/README.md +++ b/examples/evaluation/README.md @@ -105,7 +105,7 @@ You need install `pytrec_eval` and `faiss` for evaluation: ```shell pip install pytrec_eval -# if you fails to install pytrec_eval, try the following command +# 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 ```