system HF staff commited on
Commit
5336ad3
1 Parent(s): 350347c

Update files from the datasets library (from 1.3.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.3.0

Files changed (1) hide show
  1. README.md +245 -0
README.md ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ ---
3
+
4
+ # Dataset Card for "squadshifts"
5
+
6
+ ## Table of Contents
7
+ - [Dataset Description](#dataset-description)
8
+ - [Dataset Summary](#dataset-summary)
9
+ - [Supported Tasks](#supported-tasks)
10
+ - [Languages](#languages)
11
+ - [Dataset Structure](#dataset-structure)
12
+ - [Data Instances](#data-instances)
13
+ - [Data Fields](#data-fields)
14
+ - [Data Splits Sample Size](#data-splits-sample-size)
15
+ - [Dataset Creation](#dataset-creation)
16
+ - [Curation Rationale](#curation-rationale)
17
+ - [Source Data](#source-data)
18
+ - [Annotations](#annotations)
19
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
20
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
21
+ - [Social Impact of Dataset](#social-impact-of-dataset)
22
+ - [Discussion of Biases](#discussion-of-biases)
23
+ - [Other Known Limitations](#other-known-limitations)
24
+ - [Additional Information](#additional-information)
25
+ - [Dataset Curators](#dataset-curators)
26
+ - [Licensing Information](#licensing-information)
27
+ - [Citation Information](#citation-information)
28
+ - [Contributions](#contributions)
29
+
30
+ ## [Dataset Description](#dataset-description)
31
+
32
+ - **Homepage:** [https://modestyachts.github.io/squadshifts-website/index.html](https://modestyachts.github.io/squadshifts-website/index.html)
33
+ - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
34
+ - **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
35
+ - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
36
+ - **Size of downloaded dataset files:** 62.96 MB
37
+ - **Size of the generated dataset:** 35.82 MB
38
+ - **Total amount of disk used:** 98.78 MB
39
+
40
+ ### [Dataset Summary](#dataset-summary)
41
+
42
+ SquadShifts consists of four new test sets for the Stanford Question Answering Dataset (SQuAD) from four different domains: Wikipedia articles, New York \
43
+ Times articles, Reddit comments, and Amazon product reviews. Each dataset was generated using the same data generating pipeline, Amazon Mechanical Turk interface, and data cleaning code as the original SQuAD v1.1 dataset. The "new-wikipedia" dataset measures overfitting on the original SQuAD v1.1 dataset. The "new-york-times", "reddit", and "amazon" datasets measure robustness to natural distribution shifts. We encourage SQuAD model developers to also evaluate their methods on these new datasets!
44
+
45
+ ### [Supported Tasks](#supported-tasks)
46
+
47
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
48
+
49
+ ### [Languages](#languages)
50
+
51
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
52
+
53
+ ## [Dataset Structure](#dataset-structure)
54
+
55
+ We show detailed information for up to 5 configurations of the dataset.
56
+
57
+ ### [Data Instances](#data-instances)
58
+
59
+ #### amazon
60
+
61
+ - **Size of downloaded dataset files:** 15.74 MB
62
+ - **Size of the generated dataset:** 9.00 MB
63
+ - **Total amount of disk used:** 24.74 MB
64
+
65
+ An example of 'test' looks as follows.
66
+ ```
67
+ {
68
+ "answers": {
69
+ "answer_start": [25],
70
+ "text": ["amazon"]
71
+ },
72
+ "context": "This is a paragraph from amazon.",
73
+ "id": "090909",
74
+ "question": "Where is this paragraph from?",
75
+ "title": "amazon dummy data"
76
+ }
77
+ ```
78
+
79
+ #### new_wiki
80
+
81
+ - **Size of downloaded dataset files:** 15.74 MB
82
+ - **Size of the generated dataset:** 7.50 MB
83
+ - **Total amount of disk used:** 23.24 MB
84
+
85
+ An example of 'test' looks as follows.
86
+ ```
87
+ {
88
+ "answers": {
89
+ "answer_start": [25],
90
+ "text": ["wikipedia"]
91
+ },
92
+ "context": "This is a paragraph from wikipedia.",
93
+ "id": "090909",
94
+ "question": "Where is this paragraph from?",
95
+ "title": "new_wiki dummy data"
96
+ }
97
+ ```
98
+
99
+ #### nyt
100
+
101
+ - **Size of downloaded dataset files:** 15.74 MB
102
+ - **Size of the generated dataset:** 10.29 MB
103
+ - **Total amount of disk used:** 26.03 MB
104
+
105
+ An example of 'test' looks as follows.
106
+ ```
107
+ {
108
+ "answers": {
109
+ "answer_start": [25],
110
+ "text": ["new york times"]
111
+ },
112
+ "context": "This is a paragraph from new york times.",
113
+ "id": "090909",
114
+ "question": "Where is this paragraph from?",
115
+ "title": "nyt dummy data"
116
+ }
117
+ ```
118
+
119
+ #### reddit
120
+
121
+ - **Size of downloaded dataset files:** 15.74 MB
122
+ - **Size of the generated dataset:** 9.03 MB
123
+ - **Total amount of disk used:** 24.77 MB
124
+
125
+ An example of 'test' looks as follows.
126
+ ```
127
+ {
128
+ "answers": {
129
+ "answer_start": [25],
130
+ "text": ["reddit"]
131
+ },
132
+ "context": "This is a paragraph from reddit.",
133
+ "id": "090909",
134
+ "question": "Where is this paragraph from?",
135
+ "title": "reddit dummy data"
136
+ }
137
+ ```
138
+
139
+ ### [Data Fields](#data-fields)
140
+
141
+ The data fields are the same among all splits.
142
+
143
+ #### amazon
144
+ - `id`: a `string` feature.
145
+ - `title`: a `string` feature.
146
+ - `context`: a `string` feature.
147
+ - `question`: a `string` feature.
148
+ - `answers`: a dictionary feature containing:
149
+ - `text`: a `string` feature.
150
+ - `answer_start`: a `int32` feature.
151
+
152
+ #### new_wiki
153
+ - `id`: a `string` feature.
154
+ - `title`: a `string` feature.
155
+ - `context`: a `string` feature.
156
+ - `question`: a `string` feature.
157
+ - `answers`: a dictionary feature containing:
158
+ - `text`: a `string` feature.
159
+ - `answer_start`: a `int32` feature.
160
+
161
+ #### nyt
162
+ - `id`: a `string` feature.
163
+ - `title`: a `string` feature.
164
+ - `context`: a `string` feature.
165
+ - `question`: a `string` feature.
166
+ - `answers`: a dictionary feature containing:
167
+ - `text`: a `string` feature.
168
+ - `answer_start`: a `int32` feature.
169
+
170
+ #### reddit
171
+ - `id`: a `string` feature.
172
+ - `title`: a `string` feature.
173
+ - `context`: a `string` feature.
174
+ - `question`: a `string` feature.
175
+ - `answers`: a dictionary feature containing:
176
+ - `text`: a `string` feature.
177
+ - `answer_start`: a `int32` feature.
178
+
179
+ ### [Data Splits Sample Size](#data-splits-sample-size)
180
+
181
+ | name |test |
182
+ |--------|----:|
183
+ |amazon | 9885|
184
+ |new_wiki| 7938|
185
+ |nyt |10065|
186
+ |reddit | 9803|
187
+
188
+ ## [Dataset Creation](#dataset-creation)
189
+
190
+ ### [Curation Rationale](#curation-rationale)
191
+
192
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
193
+
194
+ ### [Source Data](#source-data)
195
+
196
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
197
+
198
+ ### [Annotations](#annotations)
199
+
200
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
201
+
202
+ ### [Personal and Sensitive Information](#personal-and-sensitive-information)
203
+
204
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
205
+
206
+ ## [Considerations for Using the Data](#considerations-for-using-the-data)
207
+
208
+ ### [Social Impact of Dataset](#social-impact-of-dataset)
209
+
210
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
211
+
212
+ ### [Discussion of Biases](#discussion-of-biases)
213
+
214
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
215
+
216
+ ### [Other Known Limitations](#other-known-limitations)
217
+
218
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
219
+
220
+ ## [Additional Information](#additional-information)
221
+
222
+ ### [Dataset Curators](#dataset-curators)
223
+
224
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
225
+
226
+ ### [Licensing Information](#licensing-information)
227
+
228
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
229
+
230
+ ### [Citation Information](#citation-information)
231
+
232
+ ```
233
+ @inproceedings{miller2020effect,
234
+ author = {J. Miller and K. Krauth and B. Recht and L. Schmidt},
235
+ booktitle = {International Conference on Machine Learning (ICML)},
236
+ title = {The Effect of Natural Distribution Shift on Question Answering Models},
237
+ year = {2020},
238
+ }
239
+
240
+ ```
241
+
242
+
243
+ ### Contributions
244
+
245
+ Thanks to [@thomwolf](https://github.com/thomwolf), [@lewtun](https://github.com/lewtun), [@millerjohnp](https://github.com/millerjohnp), [@albertvillanova](https://github.com/albertvillanova) for adding this dataset.