tomaarsen HF staff commited on
Commit
a4a348a
·
verified ·
1 Parent(s): ec94ffd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -7,7 +7,7 @@ size_categories:
7
  - 1M<n<10M
8
  pretty_name: MS MARCO corpus
9
  dataset_info:
10
- - config_name: default
11
  features:
12
  - name: id
13
  dtype: int64
@@ -19,7 +19,7 @@ dataset_info:
19
  num_examples: 8841823
20
  download_size: 1688638398
21
  dataset_size: 3089201649
22
- - config_name: queries
23
  features:
24
  - name: qid
25
  dtype: int64
@@ -32,11 +32,11 @@ dataset_info:
32
  download_size: 34858846
33
  dataset_size: 48033044
34
  configs:
35
- - config_name: default
36
  data_files:
37
  - split: train
38
  path: data/train-*
39
- - config_name: queries
40
  data_files:
41
  - split: train
42
  path: queries/train-*
@@ -52,7 +52,7 @@ This dataset was designed to allow you to perform the following:
52
  ```python
53
  from datasets import load_dataset
54
 
55
- dataset = load_dataset("sentence-transformers/msmarco-corpus")
56
- id_to_text = dict(zip(dataset["id"], dataset["text"]))
57
  print(id_to_text[571018])
58
  ```
 
7
  - 1M<n<10M
8
  pretty_name: MS MARCO corpus
9
  dataset_info:
10
+ - config_name: passage
11
  features:
12
  - name: id
13
  dtype: int64
 
19
  num_examples: 8841823
20
  download_size: 1688638398
21
  dataset_size: 3089201649
22
+ - config_name: query
23
  features:
24
  - name: qid
25
  dtype: int64
 
32
  download_size: 34858846
33
  dataset_size: 48033044
34
  configs:
35
+ - config_name: passage
36
  data_files:
37
  - split: train
38
  path: data/train-*
39
+ - config_name: query
40
  data_files:
41
  - split: train
42
  path: queries/train-*
 
52
  ```python
53
  from datasets import load_dataset
54
 
55
+ dataset = load_dataset("sentence-transformers/msmarco-corpus", "query")
56
+ id_to_text = dict(zip(dataset["qid"], dataset["text"]))
57
  print(id_to_text[571018])
58
  ```