msmarco-corpus / README.md
tomaarsen's picture
tomaarsen HF staff
Update README.md
a6495a5 verified
|
raw
history blame
917 Bytes
metadata
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:

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])