Skip to content

Trying to convert SQuAD to DPR format, unable to initialize the ElasticSearch #3119

Answered by Myko-10
Myko-10 asked this question in Questions
Discussion options

You must be logged in to vote

I am back here again with good news 😆

I just review the code and saw that it was necessary create an ElasticSearchDocumentStore because by default BM25 uses ElasticsearchDocumentStore, OpenSearchDocumentStore or OpenDistroElasticsearchDocumentStore

I didn't have any hope that this could work but I just execute the code from this tutorial https://colab.research.google.com/github/deepset-ai/haystack/blob/master/tutorials/Tutorial4_FAQ_style_QA.ipynb#scrollTo=cJ36e9nia7-l for creating the ElasticSearchServer.

With 0 hope I just ran the code and magically everything started to work smooth. I know SQuAD is no the more suitable dataset for training the DPR but there in no other dataset for cata…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Myko-10
Comment options

You must be logged in to vote
2 replies
@Myko-10
Comment options

@bglearning
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants