Closed jjonhwa closed 2 years ago
Hi @jjonhwa, thanks for your interest in our work.
As stated in the paper, the training of the Lexical Model is as follows: Query: a random sentence from Wikipedia. Positive Context: The passage where the query comes from.
Therefore, both the queries and contexts come from the "documents" in this case. Does that answer your question?
I see. I'm sorry that I missed that part. Thanks to your detailed explanation, I understood exactly.
Thank you for your reply.
To generate our own training data for Lambda, we want to create training queries. At this time, I have a question about the code in 'dpr_scale/utils/prep_wiki_exp.py'.
passage_sents
.passage_sents
, you can see that it was taken from the document. Am I right to understand?positive_ctxs
stores the passage frompassage_sents
, and I wonder if query and context are used correctly.If you have time, please reply. Thank you.