Distilling Knowledge from Reader to Retriever for Question Answering
Paper โข 2012.04584 โข Published
How to use castorini/dkrr-dpr-tqa-retriever with Transformers:
# Load model directly
from transformers import AutoTokenizer, Retriever
tokenizer = AutoTokenizer.from_pretrained("castorini/dkrr-dpr-tqa-retriever")
model = Retriever.from_pretrained("castorini/dkrr-dpr-tqa-retriever")YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This model is converted from the original DKRR repo and ported into Pyserini:
@misc{izacard2020distilling,
title={Distilling Knowledge from Reader to Retriever for Question Answering},
author={Gautier Izacard and Edouard Grave},
year={2020},
eprint={2012.04584},
archivePrefix={arXiv},
primaryClass={cs.CL}
}