Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
parquet
Sub-tasks:
multiple-choice-qa
Size:
100K - 1M
ArXiv:
License:
Commit
·
977bf5b
1
Parent(s):
12dc900
Fix bug and checksums in exams dataset (#4853)
Browse files* Fix KeyError in exams dataset
* Update metadata JSON
* Fix dataset card
Commit from https://github.com/huggingface/datasets/commit/b88a656cf94c4ad972154371c83c1af759fde522
- README.md +26 -6
- dataset_infos.json +0 -0
- exams.py +6 -1
README.md
CHANGED
@@ -95,13 +95,13 @@ configs:
|
|
95 |
|
96 |
## Dataset Description
|
97 |
|
98 |
-
- **Repository:**
|
99 |
- **Paper:** [EXAMS: A Multi-Subject High School Examinations Dataset for Cross-Lingual and Multilingual Question Answering](https://arxiv.org/abs/2011.03080)
|
100 |
- **Point of Contact:** [hardalov@@fmi.uni-sofia.bg](hardalov@@fmi.uni-sofia.bg)
|
101 |
|
102 |
### Dataset Summary
|
103 |
|
104 |
-
|
105 |
|
106 |
### Supported Tasks and Leaderboards
|
107 |
|
@@ -109,7 +109,23 @@ Eχαµs is a benchmark dataset for multilingual and cross-lingual question answ
|
|
109 |
|
110 |
### Languages
|
111 |
|
112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
## Dataset Structure
|
115 |
|
@@ -150,7 +166,11 @@ A data instance contains the following fields:
|
|
150 |
|
151 |
### Data Splits
|
152 |
|
153 |
-
|
|
|
|
|
|
|
|
|
154 |
|
155 |
## Dataset Creation
|
156 |
|
@@ -166,7 +186,7 @@ Eχαµs was collected from official state exams prepared by the ministries of e
|
|
166 |
|
167 |
The questions cover a large variety of subjects and material based on the country’s education system. They cover major school subjects such as Biology, Chemistry, Geography, History, and Physics, but we also highly specialized ones such as Agriculture, Geology, Informatics, as well as some applied and profiled studies.
|
168 |
|
169 |
-
Some countries allow students to take official examinations in several languages. This dataset
|
170 |
|
171 |
For all languages in the dataset, the first step in the process of data collection was to download the PDF files per year, per subject, and per language (when parallel languages were available in the same source), convert the PDF files to text, and select those that were well formatted and followed the document structure.
|
172 |
|
@@ -227,4 +247,4 @@ The dataset, which contains paragraphs from Wikipedia, is licensed under CC-BY-S
|
|
227 |
|
228 |
### Contributions
|
229 |
|
230 |
-
Thanks to [@yjernite](https://github.com/yjernite) for adding this dataset.
|
|
|
95 |
|
96 |
## Dataset Description
|
97 |
|
98 |
+
- **Repository:** https://github.com/mhardalov/exams-qa
|
99 |
- **Paper:** [EXAMS: A Multi-Subject High School Examinations Dataset for Cross-Lingual and Multilingual Question Answering](https://arxiv.org/abs/2011.03080)
|
100 |
- **Point of Contact:** [hardalov@@fmi.uni-sofia.bg](hardalov@@fmi.uni-sofia.bg)
|
101 |
|
102 |
### Dataset Summary
|
103 |
|
104 |
+
EXAMS is a benchmark dataset for multilingual and cross-lingual question answering from high school examinations. It consists of more than 24,000 high-quality high school exam questions in 16 languages, covering 8 language families and 24 school subjects from Natural Sciences and Social Sciences, among others.
|
105 |
|
106 |
### Supported Tasks and Leaderboards
|
107 |
|
|
|
109 |
|
110 |
### Languages
|
111 |
|
112 |
+
The languages in the dataset are:
|
113 |
+
- ar
|
114 |
+
- bg
|
115 |
+
- de
|
116 |
+
- es
|
117 |
+
- fr
|
118 |
+
- hr
|
119 |
+
- hu
|
120 |
+
- it
|
121 |
+
- lt
|
122 |
+
- mk
|
123 |
+
- pl
|
124 |
+
- pt
|
125 |
+
- sq
|
126 |
+
- sr
|
127 |
+
- tr
|
128 |
+
- vi
|
129 |
|
130 |
## Dataset Structure
|
131 |
|
|
|
166 |
|
167 |
### Data Splits
|
168 |
|
169 |
+
Depending on the configuration, the dataset have different splits:
|
170 |
+
- "alignments": a single "full" split
|
171 |
+
- "multilingual" and "multilingual_with_para": "train", "validation" and "test" splits
|
172 |
+
- "crosslingual_test" and "crosslingual_with_para_test": a single "test" split
|
173 |
+
- the rest of crosslingual configurations: "train" and "validation" splits
|
174 |
|
175 |
## Dataset Creation
|
176 |
|
|
|
186 |
|
187 |
The questions cover a large variety of subjects and material based on the country’s education system. They cover major school subjects such as Biology, Chemistry, Geography, History, and Physics, but we also highly specialized ones such as Agriculture, Geology, Informatics, as well as some applied and profiled studies.
|
188 |
|
189 |
+
Some countries allow students to take official examinations in several languages. This dataset provides 9,857 parallel question pairs spread across seven languages coming from Croatia (Croatian, Serbian, Italian, Hungarian), Hungary (Hungarian, German, French, Spanish, Croatian, Serbian, Italian), and North Macedonia (Macedonian, Albanian, Turkish).
|
190 |
|
191 |
For all languages in the dataset, the first step in the process of data collection was to download the PDF files per year, per subject, and per language (when parallel languages were available in the same source), convert the PDF files to text, and select those that were well formatted and followed the document structure.
|
192 |
|
|
|
247 |
|
248 |
### Contributions
|
249 |
|
250 |
+
Thanks to [@yjernite](https://github.com/yjernite) for adding this dataset.
|
dataset_infos.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
exams.py
CHANGED
@@ -257,5 +257,10 @@ class Exams(datasets.GeneratorBasedBuilder):
|
|
257 |
line_dict = json.loads(line.strip())
|
258 |
for choice in line_dict["question"]["choices"]:
|
259 |
choice["para"] = choice.get("para", "")
|
260 |
-
yield id_,
|
|
|
|
|
|
|
|
|
|
|
261 |
break
|
|
|
257 |
line_dict = json.loads(line.strip())
|
258 |
for choice in line_dict["question"]["choices"]:
|
259 |
choice["para"] = choice.get("para", "")
|
260 |
+
yield id_, {
|
261 |
+
"id": line_dict["id"],
|
262 |
+
"question": line_dict["question"],
|
263 |
+
"answerKey": line_dict["answerKey"],
|
264 |
+
"info": line_dict["info"],
|
265 |
+
}
|
266 |
break
|