beir-cellar / beir

A Heterogeneous Benchmark for Information Retrieval. Easy to use, evaluate your models across 15+ diverse IR datasets.
http://beir.ai
Apache License 2.0
1.54k stars 182 forks source link

ModuleNotFoundError #113

Closed haha978 closed 1 year ago

haha978 commented 1 year ago

When runnning this example, https://github.com/beir-cellar/beir/blob/main/examples/retrieval/evaluation/reranking/evaluate_bm25_ce_reranking.py

I run into this error: ModuleNotFoundError: No module named 'datasets.utils.filelock’ when FileLock gets imported in exact_search_multi_gpu.py script.

I thus edited the path in exact_search_multi_gpu.py that imports FileLock to the most updated path.