Datasets:
Tasks:
Other
Modalities:
Text
Languages:
English
Size:
10K - 100K
ArXiv:
Tags:
question-generation
License:
WorkInTheDark
commited on
Commit
·
e151a8a
1
Parent(s):
76a9864
- fairytaleqa.py +2 -0
fairytaleqa.py
CHANGED
@@ -98,6 +98,7 @@ class FairytaleQA(datasets.GeneratorBasedBuilder):
|
|
98 |
"story_name": datasets.Value("string"),
|
99 |
"content": datasets.Value("string"),
|
100 |
"answer": datasets.Value("string"),
|
|
|
101 |
"gem_id": datasets.Value("string"),
|
102 |
"target": datasets.Value("string"),
|
103 |
"references":[datasets.Value("string")],
|
@@ -173,6 +174,7 @@ class FairytaleQA(datasets.GeneratorBasedBuilder):
|
|
173 |
"story_name": story_name,
|
174 |
"content": content,
|
175 |
"answer": answer,
|
|
|
176 |
"gem_id": f"GEM-FairytaleQA-{split}-{id_}",
|
177 |
"target": question,
|
178 |
"references": [] if split == "train" else [ question ],
|
|
|
98 |
"story_name": datasets.Value("string"),
|
99 |
"content": datasets.Value("string"),
|
100 |
"answer": datasets.Value("string"),
|
101 |
+
"question": datasets.Value("string"),
|
102 |
"gem_id": datasets.Value("string"),
|
103 |
"target": datasets.Value("string"),
|
104 |
"references":[datasets.Value("string")],
|
|
|
174 |
"story_name": story_name,
|
175 |
"content": content,
|
176 |
"answer": answer,
|
177 |
+
"question": question,
|
178 |
"gem_id": f"GEM-FairytaleQA-{split}-{id_}",
|
179 |
"target": question,
|
180 |
"references": [] if split == "train" else [ question ],
|