Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
parquet
Sub-tasks:
extractive-qa
Languages:
English
Size:
100K - 1M
ArXiv:
License:
Update files from the datasets library (from 1.7.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.7.0
README.md
CHANGED
@@ -23,6 +23,7 @@ task_categories:
|
|
23 |
- question-answering
|
24 |
task_ids:
|
25 |
- extractive-qa
|
|
|
26 |
---
|
27 |
|
28 |
# Dataset Card Creation Guide
|
@@ -30,12 +31,12 @@ task_ids:
|
|
30 |
## Table of Contents
|
31 |
- [Dataset Description](#dataset-description)
|
32 |
- [Dataset Summary](#dataset-summary)
|
33 |
-
- [Supported Tasks](#supported-tasks-and-leaderboards)
|
34 |
- [Languages](#languages)
|
35 |
- [Dataset Structure](#dataset-structure)
|
36 |
- [Data Instances](#data-instances)
|
37 |
-
- [Data Fields](#data-
|
38 |
-
- [Data Splits](#data-
|
39 |
- [Dataset Creation](#dataset-creation)
|
40 |
- [Curation Rationale](#curation-rationale)
|
41 |
- [Source Data](#source-data)
|
|
|
23 |
- question-answering
|
24 |
task_ids:
|
25 |
- extractive-qa
|
26 |
+
paperswithcode_id: mrqa-2019
|
27 |
---
|
28 |
|
29 |
# Dataset Card Creation Guide
|
|
|
31 |
## Table of Contents
|
32 |
- [Dataset Description](#dataset-description)
|
33 |
- [Dataset Summary](#dataset-summary)
|
34 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
35 |
- [Languages](#languages)
|
36 |
- [Dataset Structure](#dataset-structure)
|
37 |
- [Data Instances](#data-instances)
|
38 |
+
- [Data Fields](#data-fields)
|
39 |
+
- [Data Splits](#data-splits)
|
40 |
- [Dataset Creation](#dataset-creation)
|
41 |
- [Curation Rationale](#curation-rationale)
|
42 |
- [Source Data](#source-data)
|
mrqa.py
CHANGED
@@ -184,7 +184,7 @@ class Mrqa(datasets.GeneratorBasedBuilder):
|
|
184 |
}
|
185 |
)
|
186 |
answers = qa["answers"]
|
187 |
-
yield qid, {
|
188 |
"subset": subset,
|
189 |
"context": context,
|
190 |
"context_tokens": context_tokens,
|
|
|
184 |
}
|
185 |
)
|
186 |
answers = qa["answers"]
|
187 |
+
yield f"{source}_{qid}", {
|
188 |
"subset": subset,
|
189 |
"context": context,
|
190 |
"context_tokens": context_tokens,
|