Where to find negative passages by the 'doc_id' provided?
#2
by
Mengyao00
- opened
Hi
I would like to use this dataset, and may I ask where is the original passages?
For example, given "negatives":{"doc_id":["3637060","5514715"} , where I can find the passages with id "3637060" and "5514715"
Thank you in advance
Please refer to discussion at https://huggingface.co/datasets/intfloat/simlm-msmarco/discussions/1#6493b4dbe0db08db8199325d
After you download and unzip the data files, you can find passage contents in the passages.jsonl.gz
file.
Our usage code at https://github.com/microsoft/unilm/blob/24ea2108aa9b365dd9937c8f3bca07e7da3fb0cc/simlm/src/loaders/biencoder_dataloader.py#L21-L22 and https://github.com/microsoft/unilm/blob/24ea2108aa9b365dd9937c8f3bca07e7da3fb0cc/simlm/src/loaders/biencoder_dataloader.py#L39-L40