File size: 9,489 Bytes
572d0fd
81aded6
 
 
 
8eee6ff
45fd1df
8eee6ff
81aded6
 
 
 
48d4894
81aded6
 
 
 
0cfb20e
81aded6
 
 
4401db0
48d4894
 
30905e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4401db0
30905e2
4401db0
 
30905e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4401db0
30905e2
4401db0
 
 
 
 
 
 
 
 
 
 
572d0fd
 
 
 
 
 
 
22860da
572d0fd
 
 
 
22860da
572d0fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28b05c7
572d0fd
 
 
 
 
 
28b05c7
572d0fd
 
 
22860da
572d0fd
 
 
28b05c7
572d0fd
 
 
28b05c7
572d0fd
81aded6
 
 
 
572d0fd
28b05c7
572d0fd
 
 
 
f24024a
 
572d0fd
81aded6
572d0fd
81aded6
 
 
 
 
 
 
 
 
 
572d0fd
 
 
 
 
f24024a
 
572d0fd
81aded6
572d0fd
81aded6
 
 
 
 
 
 
 
 
 
572d0fd
 
28b05c7
572d0fd
81aded6
572d0fd
 
 
 
 
 
 
 
 
 
 
 
22860da
572d0fd
81aded6
 
 
 
572d0fd
28b05c7
572d0fd
28b05c7
572d0fd
 
 
28b05c7
572d0fd
22860da
 
 
 
 
 
572d0fd
 
28b05c7
572d0fd
22860da
 
 
 
 
 
572d0fd
 
28b05c7
572d0fd
 
 
28b05c7
572d0fd
28b05c7
572d0fd
 
 
28b05c7
572d0fd
 
 
28b05c7
572d0fd
 
 
28b05c7
572d0fd
28b05c7
572d0fd
 
 
28b05c7
572d0fd
81aded6
572d0fd
28b05c7
572d0fd
81aded6
 
 
 
 
 
 
 
 
 
572d0fd
81aded6
 
 
 
572d0fd
 
 
 
 
 
 
 
 
48d4894
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
---
annotations_creators:
- no-annotation
language_creators:
- crowdsourced
language:
- en
license:
- unknown
multilinguality:
- multilingual
size_categories:
- 10M<n<100M
source_datasets:
- extended|wiki40b
- extended|wikipedia
task_categories:
- text-generation
- other
task_ids:
- language-modeling
pretty_name: WikiSnippets
tags:
- text-search
dataset_info:
- config_name: wiki40b_en_100_0
  features:
  - name: _id
    dtype: string
  - name: datasets_id
    dtype: int32
  - name: wiki_id
    dtype: string
  - name: start_paragraph
    dtype: int32
  - name: start_character
    dtype: int32
  - name: end_paragraph
    dtype: int32
  - name: end_character
    dtype: int32
  - name: article_title
    dtype: string
  - name: section_title
    dtype: string
  - name: passage_text
    dtype: string
  splits:
  - name: train
    num_bytes: 12927635491
    num_examples: 17553713
  download_size: 7022389836
  dataset_size: 12927635491
- config_name: wikipedia_en_100_0
  features:
  - name: _id
    dtype: string
  - name: datasets_id
    dtype: int32
  - name: wiki_id
    dtype: string
  - name: start_paragraph
    dtype: int32
  - name: start_character
    dtype: int32
  - name: end_paragraph
    dtype: int32
  - name: end_character
    dtype: int32
  - name: article_title
    dtype: string
  - name: section_title
    dtype: string
  - name: passage_text
    dtype: string
  splits:
  - name: train
    num_bytes: 26386660503
    num_examples: 33849898
  download_size: 13135892980
  dataset_size: 26386660503
configs:
- config_name: wiki40b_en_100_0
  data_files:
  - split: train
    path: wiki40b_en_100_0/train-*
- config_name: wikipedia_en_100_0
  data_files:
  - split: train
    path: wikipedia_en_100_0/train-*
---

# Dataset Card for "wiki_snippets"

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:** [https://dumps.wikimedia.org](https://dumps.wikimedia.org)
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
- **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Dataset Summary

Wikipedia version split into plain text snippets for dense semantic indexing.

### Supported Tasks and Leaderboards

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Languages

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

## Dataset Structure

We show detailed information for 2 configurations of the dataset (with 100 snippet passage length and 0 overlap) in
English:
- wiki40b_en_100_0: Wiki-40B
- wikipedia_en_100_0: Wikipedia

### Data Instances

#### wiki40b_en_100_0

- **Size of downloaded dataset files:** 0.00 MB
- **Size of the generated dataset:** 12.94 GB
- **Total amount of disk used:** 12.94 GB

An example of 'train' looks as follows:
```
{'_id': '{"datasets_id": 0, "wiki_id": "Q1294448", "sp": 2, "sc": 0, "ep": 6, "ec": 610}',
 'datasets_id': 0,
 'wiki_id': 'Q1294448',
 'start_paragraph': 2,
 'start_character': 0,
 'end_paragraph': 6,
 'end_character': 610,
 'article_title': 'Ági Szalóki',
 'section_title': 'Life',
 'passage_text': "Ági Szalóki Life She started singing as a toddler, considering Márta Sebestyén a role model. Her musical background is traditional folk music; she first won recognition for singing with Ökrös in a traditional folk style, and Besh o droM, a Balkan gypsy brass band. With these ensembles she toured around the world from the Montreal Jazz Festival, through Glastonbury Festival to the Théatre de la Ville in Paris, from New York to Beijing.\nSince 2005, she began to pursue her solo career and explore various genres, such as jazz, thirties ballads, or children's songs.\nUntil now, three of her six released albums"}
```

#### wikipedia_en_100_0

- **Size of downloaded dataset files:** 0.00 MB
- **Size of the generated dataset:** 26.41 GB
- **Total amount of disk used:** 26.41 GB

An example of 'train' looks as follows:
```
{'_id': '{"datasets_id": 0, "wiki_id": "Anarchism", "sp": 0, "sc": 0, "ep": 2, "ec": 129}',
 'datasets_id': 0,
 'wiki_id': 'Anarchism',
 'start_paragraph': 0,
 'start_character': 0,
 'end_paragraph': 2,
 'end_character': 129,
 'article_title': 'Anarchism',
 'section_title': 'Start',
 'passage_text': 'Anarchism is a political philosophy and movement that is sceptical of authority and rejects all involuntary, coercive forms of hierarchy. Anarchism calls for the abolition of the state, which it holds to be unnecessary, undesirable, and harmful. As a historically left-wing movement, placed on the farthest left of the political spectrum, it is usually described alongside communalism and libertarian Marxism as the libertarian wing (libertarian socialism) of the socialist movement, and has a strong historical association with anti-capitalism and socialism.  Humans lived in societies without formal hierarchies long before the establishment of formal states, realms, or empires. With the'}
```

### Data Fields

The data fields are the same for all configurations:
- `_id`: a `string` feature.
- `datasets_id`: a `int32` feature.
- `wiki_id`: a `string` feature.
- `start_paragraph`: a `int32` feature.
- `start_character`: a `int32` feature.
- `end_paragraph`: a `int32` feature.
- `end_character`: a `int32` feature.
- `article_title`: a `string` feature.
- `section_title`: a `string` feature.
- `passage_text`: a `string` feature.


### Data Splits

| name               |    train |
|:-------------------|---------:|
| wiki40b_en_100_0   | 17553713 |
| wikipedia_en_100_0 | 33849898 |

## Dataset Creation

### Curation Rationale

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Source Data

#### Initial Data Collection and Normalization

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

#### Who are the source language producers?

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Annotations

#### Annotation process

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

#### Who are the annotators?

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Personal and Sensitive Information

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Discussion of Biases

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Other Known Limitations

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

## Additional Information

### Dataset Curators

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Licensing Information

See licensing information of source datasets.

### Citation Information

Cite source datasets:

- Wiki-40B:
```
@inproceedings{49029,
title = {Wiki-40B: Multilingual Language Model Dataset},
author = {Mandy Guo and Zihang Dai and Denny Vrandecic and Rami Al-Rfou},
year = {2020},
booktitle   = {LREC 2020}
}
```

- Wikipedia:
```
@ONLINE{wikidump,
    author = "Wikimedia Foundation",
    title  = "Wikimedia Downloads",
    url    = "https://dumps.wikimedia.org"
}
```


### Contributions

Thanks to [@thomwolf](https://github.com/thomwolf), [@lhoestq](https://github.com/lhoestq), [@mariamabarham](https://github.com/mariamabarham), [@yjernite](https://github.com/yjernite) for adding this dataset.