File size: 1,249 Bytes
f6b2444
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
pretty_name: '`gov`'
viewer: false
source_datasets: []
task_categories:
- text-retrieval
---

# Dataset Card for `gov`

The `gov` dataset, provided by the [ir-datasets](https://ir-datasets.com/) package.
For more information about the dataset, see the [documentation](https://ir-datasets.com/gov#gov).

# Data

This dataset provides:
 - `docs` (documents, i.e., the corpus); count=1,247,753


This dataset is used by: [`gov_trec-web-2002`](https://huggingface.co/datasets/irds/gov_trec-web-2002), [`gov_trec-web-2002_named-page`](https://huggingface.co/datasets/irds/gov_trec-web-2002_named-page), [`gov_trec-web-2003`](https://huggingface.co/datasets/irds/gov_trec-web-2003), [`gov_trec-web-2003_named-page`](https://huggingface.co/datasets/irds/gov_trec-web-2003_named-page), [`gov_trec-web-2004`](https://huggingface.co/datasets/irds/gov_trec-web-2004)


## Usage

```python
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.