Closed anthonywchen closed 3 years ago
Hey @anthonywchen, if you can include also this fix in your pull request would be great! :)
Sure :)
Thanks @anthonywchen and @anthonywchen. I opened a PR for this issue: https://github.com/facebookresearch/KILT/pull/29.
I noticed that making this change isn't necessary to get DPR to work:
try:
db_id, doc_vector = doc
except:
title, db_id, doc_vector = doc
I can remove this from the retriever README when making the pull request for the other issue
THANKS A LOT ! :)
Hello! Thank you for the great repository/paper. I noticed some issues with how some of the DPR_connector code interacts with the DPR repository.
This line leads to an error because
DenseRetriever
class in the DPR repo doesn't have that function. I believe that this line should be changed to:self.retriever.index.index_data(input_paths)
This is really minor: In the Retriever README there is this instruction:
Thanks again for the great work!
Best, Anthony