The Dataset Viewer has been disabled on this dataset.

Dataset Card for gov

The gov dataset, provided by the ir-datasets package. For more information about the dataset, see the documentation.

Data

This dataset provides:

  • docs (documents, i.e., the corpus); count=1,247,753

This dataset is used by: gov_trec-web-2002, gov_trec-web-2002_named-page, gov_trec-web-2003, gov_trec-web-2003_named-page, gov_trec-web-2004

Usage

from datasets import load_dataset

docs = load_dataset('irds/gov', 'docs')
for record in docs:
    record # {'doc_id': ..., 'url': ..., 'http_headers': ..., 'body': ..., 'body_content_type': ...}

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.

Downloads last month
2