deepset-ai / haystack-tutorials

Here you can find all the Tutorials for Haystack 📓
https://haystack.deepset.ai/tutorials
Apache License 2.0
257 stars 87 forks source link

DPR inference #234

Closed salbatarni closed 1 day ago

salbatarni commented 1 year ago
jdixosnd commented 1 year ago

You can load trained DPR using load method reloaded_retriever = DensePassageRetriever.load(load_dir=save_dir, document_store=None) Found this code in, https://github.com/deepset-ai/haystack-tutorials/blob/main/tutorials/09_DPR_training.ipynb

Also, can you please elaborate your another query.

salbatarni commented 1 year ago

@jdixosnd I think you misunderstood now I am done training a DPR model and I want to test it, how to do so? I am aware of the evaluation tutorial, however, the DPR data format is really different so I am unsure how to do it.

bilgeyucel commented 1 day ago

This issue is related to Haystack v1, closing it Feel free to reopen this if you still have the issue