benjleite commited on
Commit
5b21cc6
1 Parent(s): 4f5d9ea

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +157 -3
README.md CHANGED
@@ -1,3 +1,157 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - question-answering
5
+ - text-generation
6
+ language:
7
+ - pt
8
+ tags:
9
+ - question-answering
10
+ - question-generation
11
+ - education
12
+ - children education
13
+ size_categories:
14
+ - 10K<n<100K
15
+ ---
16
+
17
+ # Dataset Card for FairytaleQA-translated-ptBR
18
+
19
+ ## Dataset Description
20
+
21
+ - **Homepage:**
22
+ - **Repository:** https://github.com/bernardoleite/fairytaleqa-translated
23
+ - **Paper:** https://arxiv.org/abs/2406.04233v1
24
+ - **Leaderboard:** https://paperswithcode.com/sota/question-generation-on-fairytaleqa
25
+ - **Point of Contact:** Bernardo Leite (benjleite.com)
26
+
27
+ ### Dataset Summary
28
+
29
+ This repository contains the **Brazilian Portuguese (pt-BR)** machine-translated version of the original English FairytaleQA dataset (https://huggingface.co/datasets/WorkInTheDark/FairytaleQA). FairytaleQA is an open-source dataset designed to enhance comprehension of narratives, aimed at students from kindergarten to eighth grade. The dataset is meticulously annotated by education experts following an evidence-based theoretical framework. It comprises 10,580 explicit and implicit questions derived from 278 child-friendly stories, covering seven types of narrative elements or relations.
30
+ This translation was performed using DeepL as part of our research: **FairytaleQA Translated: Enabling Educational Question and Answer Generation in Less-Resourced Languages**.
31
+
32
+ You can load the dataset via:
33
+ ```
34
+ import datasets
35
+ data = datasets.load_dataset('benjleite/FairytaleQA-translated-ptBR')
36
+ ```
37
+
38
+ ### Supported Tasks and Leaderboards
39
+
40
+ Question-Answering, Question-Generation, Question-Answer Pair Generation
41
+
42
+ ### Languages
43
+
44
+ European Portuguese (pt-BR)
45
+
46
+ ### Example
47
+
48
+ An example of "train" looks as follows:
49
+
50
+ ```
51
+ {
52
+ 'story_name': 'the-toad-woman-story',
53
+ 'story_section': 'Certa vez, uma jovem que vivia sozinha na floresta...'
54
+ 'question': 'Quem a mulher viu deslizando pela floresta?',
55
+ 'answer': 'Um homem jovem e bonito.',
56
+ 'local-or-sum': 'local',
57
+ 'attribute': 'character',
58
+ 'ex-or-im': 'explicit',
59
+ 'ex-or-im2': '',
60
+ }
61
+ ```
62
+
63
+ ### Dataset Structure
64
+
65
+ - `story_name`*: a string of the story name to which the story section content belongs.
66
+
67
+ - `story_section`: a string of the story section(s) content related to the experts' labeled QA-pair. Used as the input for both Question Generation and Question Answering tasks.
68
+
69
+ - `question`: a string of the question content. Used as the input for Question Answering task and as the output for Question Generation task.
70
+
71
+ - `answer`: a string of the answer content for all splits. Used as the input for Question Generation task and as the output for Question Answering task.
72
+
73
+ - `local_or_sum`*: a string of either local or summary, indicating whether the QA is related to one story section or multiple sections.
74
+
75
+ - `attribute`*: a string of one of character, causal relationship, action, setting, feeling, prediction, or outcome resolution. Classification of the QA by education experts annotators via 7 narrative elements on an established framework.
76
+
77
+ - `ex_or_im1`*: a string of either explicit or implicit, indicating whether the answers can be directly found in the story content or cannot be directly from the story content.
78
+
79
+ - `ex_or_im2`*: similar to 'ex-or-im1', but annotated by another annotator (only available for test/val splits).
80
+
81
+
82
+ (*) Field has not been translated. Use it at your own convenince.
83
+
84
+ ### Data Splits
85
+
86
+ <!-- info: Describe and name the splits in the dataset if there are more than one. -->
87
+ <!-- scope: periscope -->
88
+ The split sizes are as follows:
89
+
90
+ | | Train | Validation | Test |
91
+ | ----- | ----- | ----- | ----- |
92
+ | # Books | 232 | 23 | 23 |
93
+ | # QA-Pairs | 8548 | 1025 |1007 |
94
+
95
+
96
+ ## Additional Information
97
+
98
+
99
+ ### Licensing Information
100
+
101
+ This dataset version is released under the [Apache-2.0 License](http://www.apache.org/licenses/LICENSE-2.0) (as the original dataset).
102
+
103
+ ### Citation Information
104
+
105
+ Our paper (preprint - accepted for publication at ECTEL 2024):
106
+
107
+ ```
108
+ @article{leite_fairytaleqa_translated_2024,
109
+ title={FairytaleQA Translated: Enabling Educational Question and Answer Generation in Less-Resourced Languages},
110
+ author={Bernardo Leite and Tomás Freitas Osório and Henrique Lopes Cardoso},
111
+ year={2024},
112
+ eprint={2406.04233},
113
+ archivePrefix={arXiv},
114
+ primaryClass={cs.CL}
115
+ }
116
+ ```
117
+
118
+ Original FairytaleQA paper:
119
+
120
+ ```
121
+ @inproceedings{xu-etal-2022-fantastic,
122
+ title = "Fantastic Questions and Where to Find Them: {F}airytale{QA} {--} An Authentic Dataset for Narrative Comprehension",
123
+ author = "Xu, Ying and
124
+ Wang, Dakuo and
125
+ Yu, Mo and
126
+ Ritchie, Daniel and
127
+ Yao, Bingsheng and
128
+ Wu, Tongshuang and
129
+ Zhang, Zheng and
130
+ Li, Toby and
131
+ Bradford, Nora and
132
+ Sun, Branda and
133
+ Hoang, Tran and
134
+ Sang, Yisi and
135
+ Hou, Yufang and
136
+ Ma, Xiaojuan and
137
+ Yang, Diyi and
138
+ Peng, Nanyun and
139
+ Yu, Zhou and
140
+ Warschauer, Mark",
141
+ editor = "Muresan, Smaranda and
142
+ Nakov, Preslav and
143
+ Villavicencio, Aline",
144
+ booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
145
+ month = may,
146
+ year = "2022",
147
+ address = "Dublin, Ireland",
148
+ publisher = "Association for Computational Linguistics",
149
+ url = "https://aclanthology.org/2022.acl-long.34",
150
+ doi = "10.18653/v1/2022.acl-long.34",
151
+ pages = "447--460",
152
+ abstract = "Question answering (QA) is a fundamental means to facilitate assessment and training of narrative comprehension skills for both machines and young children, yet there is scarcity of high-quality QA datasets carefully designed to serve this purpose. In particular, existing datasets rarely distinguish fine-grained reading skills, such as the understanding of varying narrative elements. Drawing on the reading education research, we introduce FairytaleQA, a dataset focusing on narrative comprehension of kindergarten to eighth-grade students. Generated by educational experts based on an evidence-based theoretical framework, FairytaleQA consists of 10,580 explicit and implicit questions derived from 278 children-friendly stories, covering seven types of narrative elements or relations. Our dataset is valuable in two folds: First, we ran existing QA models on our dataset and confirmed that this annotation helps assess models{'} fine-grained learning skills. Second, the dataset supports question generation (QG) task in the education domain. Through benchmarking with QG models, we show that the QG model trained on FairytaleQA is capable of asking high-quality and more diverse questions.",
153
+ }
154
+ ```
155
+
156
+ ### Contact
157
+ Bernardo Leite (bernardo.leite@fe.up.pt)