pip install -e git+https://github.com/facebookresearch/DrQA#egg=DrQA
pip install pexpect==4.8
Download the following files in the models
folder.
python scripts/execute_retrieval.py -m drqa -o predictions/drqa
pip install -e git+https://github.com/facebookresearch/DPR.git#egg=DPR
Download the following files in the models
folder.
python scripts/execute_retrieval.py -m dpr -o predictions/dpr
Please follow instructions in the Sphere repository.
pip install -e git+https://github.com/facebookresearch/BLINK.git#egg=BLINK
pip install flair
Download files in the models
folder using the following script: download_models.sh
And this file:
python scripts/execute_retrieval.py -m blink -o predictions/blink
Follow instructions in pyserini
to download JAVA.
pip install jnius
pip install pyserini==0.9.4.0
python scripts/execute_retrieval.py -m bm25 -o predictions/bm25