This repo is deprecated. Please check out our new repo at https://github.com/OpenMatch/OpenMatch.
An all-in-one toolkit for information retrieval. Under active development.
git clone https://github.com/thunlp/OpenMatch.git
cd OpenMatch
pip install -e .
-e
means editable, i.e. you can change the code directly in your directory.
We do not include all the requirements in the package. You may need to manually install torch
, tensorboard
.
You may also need faiss for dense retrieval. You can install either faiss-cpu
or faiss-gpu
, according to your enviroment. Note that if you want to perform search on GPUs, you need to install the version of faiss-gpu
compatible with your CUDA. In some cases (usually CUDA >= 11.0) pip
installs a wrong version. If you encounter errors during search on GPUs, you may try installing it from conda
.
See docs folder.
Our implementation uses Tevatron as the starting point. We thank its authors for their contributions.
Please email to yushi17@foxmail.com.