You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Background:
I am working on an idea which is an extension of DPR. so i used DPR retriever to get some retrieval results and I want to use them with DPR reader..
The output of retriever/input to the reader is a list and list's each item's structure is:
But I am unable to use this file as the input to reader. The reason i think is because of the difference in structure to what DPR expects.
I successfully ran DPR reader on nq-single dataset but their format is ReaderSample (question, answers, positive_passages, .....).
My question
Is there any way I can convert the json file I have to the required format by the reader?
Relevant Issue
I found issue #73 to be somewhat related but i think the code has been changed since then because I am unable to find the file preprocess_reader_data.py.
What I am expecting
I am trying to use this data/json file (whose structure is mentioned above in the background section) for the input of DPR reader (train_extractive_reader.py)
The text was updated successfully, but these errors were encountered:
Background:
I am working on an idea which is an extension of DPR. so i used DPR retriever to get some retrieval results and I want to use them with DPR reader..
The output of retriever/input to the reader is a list and list's each item's structure is:
But I am unable to use this file as the input to reader. The reason i think is because of the difference in structure to what DPR expects.
I successfully ran DPR reader on nq-single dataset but their format is ReaderSample (question, answers, positive_passages, .....).
My question
Is there any way I can convert the json file I have to the required format by the reader?
Relevant Issue
I found issue #73 to be somewhat related but i think the code has been changed since then because I am unable to find the file preprocess_reader_data.py.
What I am expecting
I am trying to use this data/json file (whose structure is mentioned above in the background section) for the input of DPR reader (train_extractive_reader.py)
The text was updated successfully, but these errors were encountered: