#200 · Primary category: Knowledge Base & RAG

DensePhrases

information-retrieval knowledge-base nlp open-domain-qa passage-retrieval slot-filling

[ACL 2021] Learning Dense Representations of Phrases at Scale; EMNLP'2021: Phrase Retrieval Learns Passage Retrieval, Too https://arxiv.org/abs/2012.12624

Project last updated:06/15/22

GitHub Stars

606

Forks

75

Contributors

5

License

Apache-2.0

Why we included this project

DensePhrases, from Princeton NLP, takes a different approach to retrieval: rather than ranking whole documents or passages, it indexes billions of phrase-level vectors over Wikipedia, so a question can be answered directly with a short phrase. The same model can also return broader units like sentences or full passages when you need context for downstream work. The repo includes pre-trained models, pre-built phrase indexes, and examples that wire retrieved passages into a Fusion-in-Decoder QA model, entity linking, or knowledge-grounded dialogue. The ACL and EMNLP papers lay out the design in detail. It is a research implementation rather than a maintained production service, so treat it as a strong reference for building or studying dense retrieval, not as something to drop straight into a live stack.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category