pip install -e git+https://github.com/facebookresearch/DrQA#egg=DrQA
pip install pexpect==4.8
change line 36 of src/drqa/drqa/retriever/utils.py
to
loader = np.load(filename, allow_pickle=True)
Download the following files in the models
folder.
python scripts/execute_retrieval.py -m drqa -o predictions/drqa
pip install -e [email protected]:facebookresearch/DPR.git#egg=DPR
change line 185 of src/dpr/dense_retriever.py
to
try:
db_id, doc_vector = doc
except:
title, db_id, doc_vector = doc
Download the following files in the models
folder.
python scripts/execute_retrieval.py -m dpr -o predictions/dpr
pip install -e [email protected]:facebookresearch/BLINK.git#egg=BLINK
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