Datasets:
Tasks:
Question Answering
Sub-tasks:
open-domain-qa
Languages:
English
Size:
1K<n<10K
ArXiv:
License:
Sadanto3933
commited on
Commit
•
3430efd
1
Parent(s):
1f36da2
Upload 4 files
Browse files- README.md +159 -3
- test.jsonl +0 -0
- train.jsonl +0 -0
- validation.jsonl +0 -0
README.md
CHANGED
@@ -1,3 +1,159 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
## Usage
|
62 |
+
|
63 |
+
```python
|
64 |
+
from datasets import load_dataset
|
65 |
+
|
66 |
+
dataset=load_dataset(
|
67 |
+
"Sadanto3933/commonsense_qa",
|
68 |
+
split="train",
|
69 |
+
)
|
70 |
+
|
71 |
+
# ...
|
72 |
+
```
|
73 |
+
|
74 |
+
# Dataset Card for "commonsense_qa"
|
75 |
+
|
76 |
+
## Dataset Description
|
77 |
+
|
78 |
+
- **Homepage:** https://www.tau-nlp.org/commonsenseqa
|
79 |
+
- **Repository:** https://github.com/jonathanherzig/commonsenseqa
|
80 |
+
- **Paper:** https://arxiv.org/abs/1811.00937
|
81 |
+
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
82 |
+
- **Size of downloaded dataset files:** 4.68 MB
|
83 |
+
- **Size of the generated dataset:** 2.18 MB
|
84 |
+
- **Total amount of disk used:** 6.86 MB
|
85 |
+
|
86 |
+
### Dataset Summary
|
87 |
+
|
88 |
+
CommonsenseQA is a new multiple-choice question answering dataset that requires different types of commonsense knowledge
|
89 |
+
to predict the correct answers.
|
90 |
+
The dataset is provided in two major training/validation/testing set splits: "Random split" which is the main evaluation
|
91 |
+
split, and "Question token split", see paper for details.
|
92 |
+
|
93 |
+
### Supported Tasks and Leaderboards
|
94 |
+
|
95 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
96 |
+
|
97 |
+
### Languages
|
98 |
+
|
99 |
+
The dataset is in English (`en`).
|
100 |
+
|
101 |
+
## Dataset Structure
|
102 |
+
|
103 |
+
### Data Instances
|
104 |
+
|
105 |
+
|
106 |
+
An example of 'train' looks as follows:
|
107 |
+
```json
|
108 |
+
{'id': '075e483d21c29a511267ef62bedc0461',
|
109 |
+
'question': 'The sanctions against the school were a punishing blow, and they seemed to what the efforts the school had made to change?',
|
110 |
+
'question_concept': 'punishing',
|
111 |
+
'choices': {'label': ['A', 'B', 'C', 'D', 'E'],
|
112 |
+
'text': ['ignore', 'enforce', 'authoritarian', 'yell at', 'avoid']},
|
113 |
+
'answerKey': 'A'}
|
114 |
+
```
|
115 |
+
|
116 |
+
### Data Fields
|
117 |
+
|
118 |
+
The data fields are the same among all splits.
|
119 |
+
|
120 |
+
#### default
|
121 |
+
- `id` (`str`): Unique ID.
|
122 |
+
- `question`: a `string` feature.
|
123 |
+
- `question_concept` (`str`): ConceptNet concept associated to the question.
|
124 |
+
- `choices`: a dictionary feature containing:
|
125 |
+
- `label`: a `string` feature.
|
126 |
+
- `text`: a `string` feature.
|
127 |
+
- `answerKey`: a `string` feature.
|
128 |
+
|
129 |
+
## Dataset Creation
|
130 |
+
|
131 |
+
|
132 |
+
### Licensing Information
|
133 |
+
|
134 |
+
The dataset is licensed under the MIT License.
|
135 |
+
|
136 |
+
See: https://github.com/jonathanherzig/commonsenseqa/issues/5
|
137 |
+
|
138 |
+
### Citation Information
|
139 |
+
|
140 |
+
```
|
141 |
+
@inproceedings{talmor-etal-2019-commonsenseqa,
|
142 |
+
title = "{C}ommonsense{QA}: A Question Answering Challenge Targeting Commonsense Knowledge",
|
143 |
+
author = "Talmor, Alon and
|
144 |
+
Herzig, Jonathan and
|
145 |
+
Lourie, Nicholas and
|
146 |
+
Berant, Jonathan",
|
147 |
+
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)",
|
148 |
+
month = jun,
|
149 |
+
year = "2019",
|
150 |
+
address = "Minneapolis, Minnesota",
|
151 |
+
publisher = "Association for Computational Linguistics",
|
152 |
+
url = "https://aclanthology.org/N19-1421",
|
153 |
+
doi = "10.18653/v1/N19-1421",
|
154 |
+
pages = "4149--4158",
|
155 |
+
archivePrefix = "arXiv",
|
156 |
+
eprint = "1811.00937",
|
157 |
+
primaryClass = "cs",
|
158 |
+
}
|
159 |
+
```
|
test.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
train.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
validation.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|