AdrianSword parquet-converter commited on
Commit
2ce774e
·
verified ·
0 Parent(s):

Duplicate from tau/commonsense_qa

Browse files

Co-authored-by: Parquet-converter (BOT) <parquet-converter@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - crowdsourced
4
+ language_creators:
5
+ - crowdsourced
6
+ language:
7
+ - en
8
+ license:
9
+ - mit
10
+ multilinguality:
11
+ - monolingual
12
+ size_categories:
13
+ - 1K<n<10K
14
+ source_datasets:
15
+ - original
16
+ task_categories:
17
+ - question-answering
18
+ task_ids:
19
+ - open-domain-qa
20
+ paperswithcode_id: commonsenseqa
21
+ pretty_name: CommonsenseQA
22
+ dataset_info:
23
+ features:
24
+ - name: id
25
+ dtype: string
26
+ - name: question
27
+ dtype: string
28
+ - name: question_concept
29
+ dtype: string
30
+ - name: choices
31
+ sequence:
32
+ - name: label
33
+ dtype: string
34
+ - name: text
35
+ dtype: string
36
+ - name: answerKey
37
+ dtype: string
38
+ splits:
39
+ - name: train
40
+ num_bytes: 2207794
41
+ num_examples: 9741
42
+ - name: validation
43
+ num_bytes: 273848
44
+ num_examples: 1221
45
+ - name: test
46
+ num_bytes: 257842
47
+ num_examples: 1140
48
+ download_size: 1558570
49
+ dataset_size: 2739484
50
+ configs:
51
+ - config_name: default
52
+ data_files:
53
+ - split: train
54
+ path: data/train-*
55
+ - split: validation
56
+ path: data/validation-*
57
+ - split: test
58
+ path: data/test-*
59
+ ---
60
+
61
+ # Dataset Card for "commonsense_qa"
62
+
63
+ ## Table of Contents
64
+ - [Table of Contents](#table-of-contents)
65
+ - [Dataset Description](#dataset-description)
66
+ - [Dataset Summary](#dataset-summary)
67
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
68
+ - [Languages](#languages)
69
+ - [Dataset Structure](#dataset-structure)
70
+ - [Data Instances](#data-instances)
71
+ - [Data Fields](#data-fields)
72
+ - [Data Splits](#data-splits)
73
+ - [Dataset Creation](#dataset-creation)
74
+ - [Curation Rationale](#curation-rationale)
75
+ - [Source Data](#source-data)
76
+ - [Annotations](#annotations)
77
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
78
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
79
+ - [Social Impact of Dataset](#social-impact-of-dataset)
80
+ - [Discussion of Biases](#discussion-of-biases)
81
+ - [Other Known Limitations](#other-known-limitations)
82
+ - [Additional Information](#additional-information)
83
+ - [Dataset Curators](#dataset-curators)
84
+ - [Licensing Information](#licensing-information)
85
+ - [Citation Information](#citation-information)
86
+ - [Contributions](#contributions)
87
+
88
+ ## Dataset Description
89
+
90
+ - **Homepage:** https://www.tau-nlp.org/commonsenseqa
91
+ - **Repository:** https://github.com/jonathanherzig/commonsenseqa
92
+ - **Paper:** https://arxiv.org/abs/1811.00937
93
+ - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
94
+ - **Size of downloaded dataset files:** 4.68 MB
95
+ - **Size of the generated dataset:** 2.18 MB
96
+ - **Total amount of disk used:** 6.86 MB
97
+
98
+ ### Dataset Summary
99
+
100
+ CommonsenseQA is a new multiple-choice question answering dataset that requires different types of commonsense knowledge
101
+ to predict the correct answers . It contains 12,102 questions with one correct answer and four distractor answers.
102
+ The dataset is provided in two major training/validation/testing set splits: "Random split" which is the main evaluation
103
+ split, and "Question token split", see paper for details.
104
+
105
+ ### Supported Tasks and Leaderboards
106
+
107
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
108
+
109
+ ### Languages
110
+
111
+ The dataset is in English (`en`).
112
+
113
+ ## Dataset Structure
114
+
115
+ ### Data Instances
116
+
117
+ #### default
118
+
119
+ - **Size of downloaded dataset files:** 4.68 MB
120
+ - **Size of the generated dataset:** 2.18 MB
121
+ - **Total amount of disk used:** 6.86 MB
122
+
123
+ An example of 'train' looks as follows:
124
+ ```
125
+ {'id': '075e483d21c29a511267ef62bedc0461',
126
+ 'question': 'The sanctions against the school were a punishing blow, and they seemed to what the efforts the school had made to change?',
127
+ 'question_concept': 'punishing',
128
+ 'choices': {'label': ['A', 'B', 'C', 'D', 'E'],
129
+ 'text': ['ignore', 'enforce', 'authoritarian', 'yell at', 'avoid']},
130
+ 'answerKey': 'A'}
131
+ ```
132
+
133
+ ### Data Fields
134
+
135
+ The data fields are the same among all splits.
136
+
137
+ #### default
138
+ - `id` (`str`): Unique ID.
139
+ - `question`: a `string` feature.
140
+ - `question_concept` (`str`): ConceptNet concept associated to the question.
141
+ - `choices`: a dictionary feature containing:
142
+ - `label`: a `string` feature.
143
+ - `text`: a `string` feature.
144
+ - `answerKey`: a `string` feature.
145
+
146
+ ### Data Splits
147
+
148
+ | name | train | validation | test |
149
+ |---------|------:|-----------:|-----:|
150
+ | default | 9741 | 1221 | 1140 |
151
+
152
+ ## Dataset Creation
153
+
154
+ ### Curation Rationale
155
+
156
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
157
+
158
+ ### Source Data
159
+
160
+ #### Initial Data Collection and Normalization
161
+
162
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
163
+
164
+ #### Who are the source language producers?
165
+
166
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
167
+
168
+ ### Annotations
169
+
170
+ #### Annotation process
171
+
172
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
173
+
174
+ #### Who are the annotators?
175
+
176
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
177
+
178
+ ### Personal and Sensitive Information
179
+
180
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
181
+
182
+ ## Considerations for Using the Data
183
+
184
+ ### Social Impact of Dataset
185
+
186
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
187
+
188
+ ### Discussion of Biases
189
+
190
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
191
+
192
+ ### Other Known Limitations
193
+
194
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
195
+
196
+ ## Additional Information
197
+
198
+ ### Dataset Curators
199
+
200
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
201
+
202
+ ### Licensing Information
203
+
204
+ The dataset is licensed under the MIT License.
205
+
206
+ See: https://github.com/jonathanherzig/commonsenseqa/issues/5
207
+
208
+ ### Citation Information
209
+
210
+ ```
211
+ @inproceedings{talmor-etal-2019-commonsenseqa,
212
+ title = "{C}ommonsense{QA}: A Question Answering Challenge Targeting Commonsense Knowledge",
213
+ author = "Talmor, Alon and
214
+ Herzig, Jonathan and
215
+ Lourie, Nicholas and
216
+ Berant, Jonathan",
217
+ booktitle = "Proceedings of the 2019 Conference of the North {A}merican Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)",
218
+ month = jun,
219
+ year = "2019",
220
+ address = "Minneapolis, Minnesota",
221
+ publisher = "Association for Computational Linguistics",
222
+ url = "https://aclanthology.org/N19-1421",
223
+ doi = "10.18653/v1/N19-1421",
224
+ pages = "4149--4158",
225
+ archivePrefix = "arXiv",
226
+ eprint = "1811.00937",
227
+ primaryClass = "cs",
228
+ }
229
+ ```
230
+
231
+ ### Contributions
232
+
233
+ Thanks to [@thomwolf](https://github.com/thomwolf), [@lewtun](https://github.com/lewtun), [@albertvillanova](https://github.com/albertvillanova), [@patrickvonplaten](https://github.com/patrickvonplaten) for adding this dataset.
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19efe93223d1712397aaa44b3adc07f4fa50349206a611ca4f33afbec661fa5e
3
+ size 151227
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0449767ed986bfc2ca52b1244a46ef12f732756727f3cb0a4ab69ac8b3d282b
3
+ size 1247103
data/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdbd9bf9cc4d2349b24901038b2ab2f58e10e4e507ad2fd425dca55cd3cb6660
3
+ size 160240