Dense Retrieval for PyTerrierΒΆ

pyterrier-dr is a PyTerrier extension that provides single-vector [1] dense retrieval functionality through components for dense encoding, indexing, and retrieval.

You can install this extension with pip:

pip install pyterrier-dr

Some functionality requires the installation ot other software packages. For instance, to retrieve using FAISS (e.g., using faiss_hnsw_retriever()), you will need to install the FAISS package:

pip install faiss-cpu