File size: 917 Bytes
5dd3d54
a6495a5
 
 
 
 
 
 
5dd3d54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a6495a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
37
38
39
40
41
---
language:
- en
multilinguality:
- monolingual
size_categories:
- 1M<n<10M
pretty_name: MS MARCO corpus
dataset_info:
  features:
  - name: id
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 3089201649
    num_examples: 8841823
  download_size: 1688638398
  dataset_size: 3089201649
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---

# MS MARCO Corpus

This dataset allows for a convenient mapping from MS MARCO query/passage ID to the query/passage text. This corpus was downloaded from https://msmarco.z22.web.core.windows.net/msmarcoranking/collection.tar.gz.

## Usage

This dataset was designed to allow you to perform the following:
```python
from datasets import load_dataset

dataset = load_dataset("sentence-transformers/msmarco-corpus")
id_to_text = dict(zip(dataset["id"], dataset["text"]))
print(id_to_text[571018])
```