from datasets import load_dataset
queries = load_dataset('irds/gov_trec-web-2002_named-page', 'queries')
for record in queries:
record # {'query_id': ..., 'text': ...}
qrels = load_dataset('irds/gov_trec-web-2002_named-page', 'qrels')
for record in qrels:
record # {'query_id': ..., 'doc_id': ..., 'relevance': ..., 'iteration': ...}
Note that calling load_dataset will download the dataset (or provide access instructions when it's not public) and make a copy of the
data in 🤗 Dataset format.
Citation Information
@inproceedings{Craswell2002TrecWeb,
title={Overview of the TREC-2002 Web Track},
author={Nick Craswell and David Hawking},
booktitle={TREC},
year={2002}
}