facebookresearch / DPR

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

Fix `pip install .` by adding empty py_modules #226

Open xhluca opened 2 years ago

xhluca commented 2 years ago

This fixes the following step:

cd DPR/
pip install .

This issue was originally reported in: https://github.com/facebookresearch/DPR/issues/223

@AkariAsai proposed the following fix: https://github.com/facebookresearch/DPR/issues/223#issuecomment-1192218375

This PR simply implements the proposed fix as is, and it successfully corrects the reported error

xhluca commented 2 years ago

I can also include a fix for #147 based on the stackoveflow thread: https://stackoverflow.com/a/53383704