bfattori commited on
Commit
fc0e6bb
1 Parent(s): eee5db4

use original wikitext reamde + note on document level

Browse files
Files changed (1) hide show
  1. README.md +309 -0
README.md ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - crowdsourced
6
+ language:
7
+ - en
8
+ license:
9
+ - cc-by-sa-3.0
10
+ - gfdl
11
+ multilinguality:
12
+ - monolingual
13
+ paperswithcode_id: wikitext-2
14
+ pretty_name: WikiText
15
+ size_categories:
16
+ - 1M<n<10M
17
+ source_datasets:
18
+ - original
19
+ task_categories:
20
+ - text-generation
21
+ - fill-mask
22
+ task_ids:
23
+ - language-modeling
24
+ - masked-language-modeling
25
+ dataset_info:
26
+ - config_name: wikitext-103-v1
27
+ features:
28
+ - name: text
29
+ dtype: string
30
+ splits:
31
+ - name: test
32
+ num_bytes: 1295579
33
+ num_examples: 4358
34
+ - name: train
35
+ num_bytes: 545142639
36
+ num_examples: 1801350
37
+ - name: validation
38
+ num_bytes: 1154755
39
+ num_examples: 3760
40
+ download_size: 190229076
41
+ dataset_size: 547592973
42
+ - config_name: wikitext-2-v1
43
+ features:
44
+ - name: text
45
+ dtype: string
46
+ splits:
47
+ - name: test
48
+ num_bytes: 1270951
49
+ num_examples: 4358
50
+ - name: train
51
+ num_bytes: 10918134
52
+ num_examples: 36718
53
+ - name: validation
54
+ num_bytes: 1134127
55
+ num_examples: 3760
56
+ download_size: 4475746
57
+ dataset_size: 13323212
58
+ - config_name: wikitext-103-raw-v1
59
+ features:
60
+ - name: text
61
+ dtype: string
62
+ splits:
63
+ - name: test
64
+ num_bytes: 1305092
65
+ num_examples: 4358
66
+ - name: train
67
+ num_bytes: 546501673
68
+ num_examples: 1801350
69
+ - name: validation
70
+ num_bytes: 1159292
71
+ num_examples: 3760
72
+ download_size: 191984949
73
+ dataset_size: 548966057
74
+ - config_name: wikitext-2-raw-v1
75
+ features:
76
+ - name: text
77
+ dtype: string
78
+ splits:
79
+ - name: test
80
+ num_bytes: 1305092
81
+ num_examples: 4358
82
+ - name: train
83
+ num_bytes: 11061733
84
+ num_examples: 36718
85
+ - name: validation
86
+ num_bytes: 1159292
87
+ num_examples: 3760
88
+ download_size: 4721645
89
+ dataset_size: 13526117
90
+ ---
91
+
92
+ # Wikitext Document Level
93
+
94
+ This is a modified version of [https://huggingface.co/datasets/wikitext](https://huggingface.co/datasets/wikitext) that returns Wiki pages instead of Wiki text line-by-line. The original readme is contained below.
95
+
96
+ # Dataset Card for "wikitext"
97
+
98
+ ## Table of Contents
99
+ - [Dataset Description](#dataset-description)
100
+ - [Dataset Summary](#dataset-summary)
101
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
102
+ - [Languages](#languages)
103
+ - [Dataset Structure](#dataset-structure)
104
+ - [Data Instances](#data-instances)
105
+ - [Data Fields](#data-fields)
106
+ - [Data Splits](#data-splits)
107
+ - [Dataset Creation](#dataset-creation)
108
+ - [Curation Rationale](#curation-rationale)
109
+ - [Source Data](#source-data)
110
+ - [Annotations](#annotations)
111
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
112
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
113
+ - [Social Impact of Dataset](#social-impact-of-dataset)
114
+ - [Discussion of Biases](#discussion-of-biases)
115
+ - [Other Known Limitations](#other-known-limitations)
116
+ - [Additional Information](#additional-information)
117
+ - [Dataset Curators](#dataset-curators)
118
+ - [Licensing Information](#licensing-information)
119
+ - [Citation Information](#citation-information)
120
+ - [Contributions](#contributions)
121
+
122
+ ## Dataset Description
123
+
124
+ - **Homepage:** [https://blog.einstein.ai/the-wikitext-long-term-dependency-language-modeling-dataset/](https://blog.einstein.ai/the-wikitext-long-term-dependency-language-modeling-dataset/)
125
+ - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
126
+ - **Paper:** [Pointer Sentinel Mixture Models](https://arxiv.org/abs/1609.07843)
127
+ - **Point of Contact:** [Stephen Merity](mailto:smerity@salesforce.com)
128
+ - **Size of downloaded dataset files:** 373.28 MB
129
+ - **Size of the generated dataset:** 1072.25 MB
130
+ - **Total amount of disk used:** 1445.53 MB
131
+
132
+ ### Dataset Summary
133
+
134
+ The WikiText language modeling dataset is a collection of over 100 million tokens extracted from the set of verified
135
+ Good and Featured articles on Wikipedia. The dataset is available under the Creative Commons Attribution-ShareAlike License.
136
+
137
+ Compared to the preprocessed version of Penn Treebank (PTB), WikiText-2 is over 2 times larger and WikiText-103 is over
138
+ 110 times larger. The WikiText dataset also features a far larger vocabulary and retains the original case, punctuation
139
+ and numbers - all of which are removed in PTB. As it is composed of full articles, the dataset is well suited for models
140
+ that can take advantage of long term dependencies.
141
+
142
+ ### Supported Tasks and Leaderboards
143
+
144
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
145
+
146
+ ### Languages
147
+
148
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
149
+
150
+ ## Dataset Structure
151
+
152
+ ### Data Instances
153
+
154
+ #### wikitext-103-raw-v1
155
+
156
+ - **Size of downloaded dataset files:** 183.09 MB
157
+ - **Size of the generated dataset:** 523.97 MB
158
+ - **Total amount of disk used:** 707.06 MB
159
+
160
+ An example of 'validation' looks as follows.
161
+ ```
162
+ This example was too long and was cropped:
163
+
164
+ {
165
+ "text": "\" The gold dollar or gold one @-@ dollar piece was a coin struck as a regular issue by the United States Bureau of the Mint from..."
166
+ }
167
+ ```
168
+
169
+ #### wikitext-103-v1
170
+
171
+ - **Size of downloaded dataset files:** 181.42 MB
172
+ - **Size of the generated dataset:** 522.66 MB
173
+ - **Total amount of disk used:** 704.07 MB
174
+
175
+ An example of 'train' looks as follows.
176
+ ```
177
+ This example was too long and was cropped:
178
+
179
+ {
180
+ "text": "\" Senjō no Valkyria 3 : <unk> Chronicles ( Japanese : 戦場のヴァルキュリア3 , lit . Valkyria of the Battlefield 3 ) , commonly referred to..."
181
+ }
182
+ ```
183
+
184
+ #### wikitext-2-raw-v1
185
+
186
+ - **Size of downloaded dataset files:** 4.50 MB
187
+ - **Size of the generated dataset:** 12.91 MB
188
+ - **Total amount of disk used:** 17.41 MB
189
+
190
+ An example of 'train' looks as follows.
191
+ ```
192
+ This example was too long and was cropped:
193
+
194
+ {
195
+ "text": "\" The Sinclair Scientific Programmable was introduced in 1975 , with the same case as the Sinclair Oxford . It was larger than t..."
196
+ }
197
+ ```
198
+
199
+ #### wikitext-2-v1
200
+
201
+ - **Size of downloaded dataset files:** 4.27 MB
202
+ - **Size of the generated dataset:** 12.72 MB
203
+ - **Total amount of disk used:** 16.99 MB
204
+
205
+ An example of 'train' looks as follows.
206
+ ```
207
+ This example was too long and was cropped:
208
+
209
+ {
210
+ "text": "\" Senjō no Valkyria 3 : <unk> Chronicles ( Japanese : 戦場のヴァルキュリア3 , lit . Valkyria of the Battlefield 3 ) , commonly referred to..."
211
+ }
212
+ ```
213
+
214
+ ### Data Fields
215
+
216
+ The data fields are the same among all splits.
217
+
218
+ #### wikitext-103-raw-v1
219
+ - `text`: a `string` feature.
220
+
221
+ #### wikitext-103-v1
222
+ - `text`: a `string` feature.
223
+
224
+ #### wikitext-2-raw-v1
225
+ - `text`: a `string` feature.
226
+
227
+ #### wikitext-2-v1
228
+ - `text`: a `string` feature.
229
+
230
+ ### Data Splits
231
+
232
+ | name | train |validation|test|
233
+ |-------------------|------:|---------:|---:|
234
+ |wikitext-103-raw-v1|1801350| 3760|4358|
235
+ |wikitext-103-v1 |1801350| 3760|4358|
236
+ |wikitext-2-raw-v1 | 36718| 3760|4358|
237
+ |wikitext-2-v1 | 36718| 3760|4358|
238
+
239
+ ## Dataset Creation
240
+
241
+ ### Curation Rationale
242
+
243
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
244
+
245
+ ### Source Data
246
+
247
+ #### Initial Data Collection and Normalization
248
+
249
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
250
+
251
+ #### Who are the source language producers?
252
+
253
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
254
+
255
+ ### Annotations
256
+
257
+ #### Annotation process
258
+
259
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
260
+
261
+ #### Who are the annotators?
262
+
263
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
264
+
265
+ ### Personal and Sensitive Information
266
+
267
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
268
+
269
+ ## Considerations for Using the Data
270
+
271
+ ### Social Impact of Dataset
272
+
273
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
274
+
275
+ ### Discussion of Biases
276
+
277
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
278
+
279
+ ### Other Known Limitations
280
+
281
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
282
+
283
+ ## Additional Information
284
+
285
+ ### Dataset Curators
286
+
287
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
288
+
289
+ ### Licensing Information
290
+
291
+ The dataset is available under the [Creative Commons Attribution-ShareAlike License (CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/).
292
+
293
+ ### Citation Information
294
+
295
+ ```
296
+ @misc{merity2016pointer,
297
+ title={Pointer Sentinel Mixture Models},
298
+ author={Stephen Merity and Caiming Xiong and James Bradbury and Richard Socher},
299
+ year={2016},
300
+ eprint={1609.07843},
301
+ archivePrefix={arXiv},
302
+ primaryClass={cs.CL}
303
+ }
304
+ ```
305
+
306
+
307
+ ### Contributions
308
+
309
+ Thanks to [@thomwolf](https://github.com/thomwolf), [@lewtun](https://github.com/lewtun), [@patrickvonplaten](https://github.com/patrickvonplaten), [@mariamabarham](https://github.com/mariamabarham) for adding this dataset.