facebookresearch / DPR

Dense Passage Retriever - is a set of tools and models for open domain Q&A task.
Other
1.71k stars 300 forks source link

nanoDPR: simple replication of DPR #251

Open Hannibal046 opened 11 months ago

Hannibal046 commented 11 months ago

Hi guys, First I would like to offer my sincere gratitude to the authors. They have provided an excellent open-source repository. However, the original repository is primarily driven by academic research and includes numerous configurable options. So, I create a project named nanoDPR, aiming to offer a simplified replication of the DPR model on the Natural Questions dataset, allowing for a clear and straightforward understanding of DPR without compromising any details. With approximately 300 lines of code, we can train a DPR from scratch and achieve results comparable to those presented in the original paper.

If you are interested, please check this: https://github.com/Hannibal046/nanoDPR