Datasets:
Tasks:
Text Generation
Sub-tasks:
language-modeling
Languages:
Italian
Size:
10K<n<100K
ArXiv:
Tags:
question-generation
License:
update
Browse files- README.md +118 -0
- qg_itquad.py +3 -3
README.md
CHANGED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-4-0
|
3 |
+
pretty_name: SQuAD-it for question generation
|
4 |
+
languages: it
|
5 |
+
multilinguality: monolingual
|
6 |
+
size_categories: 10K<n<100K
|
7 |
+
source_datasets: squad_es
|
8 |
+
task_categories: question-generation
|
9 |
+
task_ids: question-generation
|
10 |
+
---
|
11 |
+
|
12 |
+
# Dataset Card for "qg_itquad"
|
13 |
+
|
14 |
+
## Table of Contents
|
15 |
+
- [Dataset Description](#dataset-description)
|
16 |
+
- [Dataset Summary](#dataset-summary)
|
17 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
18 |
+
- [Languages](#languages)
|
19 |
+
- [Dataset Structure](#dataset-structure)
|
20 |
+
- [Data Instances](#data-instances)
|
21 |
+
- [Data Fields](#data-fields)
|
22 |
+
- [Data Splits](#data-splits)
|
23 |
+
- [Dataset Creation](#dataset-creation)
|
24 |
+
- [Curation Rationale](#curation-rationale)
|
25 |
+
- [Source Data](#source-data)
|
26 |
+
- [Annotations](#annotations)
|
27 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
28 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
29 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
30 |
+
- [Discussion of Biases](#discussion-of-biases)
|
31 |
+
- [Other Known Limitations](#other-known-limitations)
|
32 |
+
- [Additional Information](#additional-information)
|
33 |
+
- [Dataset Curators](#dataset-curators)
|
34 |
+
- [Licensing Information](#licensing-information)
|
35 |
+
- [Citation Information](#citation-information)
|
36 |
+
|
37 |
+
## Dataset Description
|
38 |
+
- **Repository:** [https://github.com/asahi417/lm-question-generation](https://github.com/asahi417/lm-question-generation)
|
39 |
+
- **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
40 |
+
- **Point of Contact:** [Asahi Ushio](http://asahiushio.com/)
|
41 |
+
|
42 |
+
### Dataset Summary
|
43 |
+
Modified version of [SQuAD-it](https://huggingface.co/datasets/squad_it) for question generation (QG) task.
|
44 |
+
Since the original dataset only contains training/validation set, we manually sample test set from training set, which
|
45 |
+
has no overlap in terms of the paragraph with the training set.
|
46 |
+
|
47 |
+
### Supported Tasks and Leaderboards
|
48 |
+
* `question-generation`: The dataset can be used to train a model for question generation.
|
49 |
+
Success on this task is typically measured by achieving a high BLEU4/METEOR/ROUGE-L score.
|
50 |
+
|
51 |
+
### Languages
|
52 |
+
Italian (it)
|
53 |
+
|
54 |
+
## Dataset Structure
|
55 |
+
### Data Instances
|
56 |
+
#### plain_text
|
57 |
+
An example of 'train' looks as follows.
|
58 |
+
```
|
59 |
+
{
|
60 |
+
'answer': 'comedia musical',
|
61 |
+
'question': '¿Qué género de película protagonizó Beyonce con Cuba Gooding, Jr?',
|
62 |
+
'sentence': 'en la comedia musical ',
|
63 |
+
'paragraph': 'En julio de 2002, Beyoncé continuó su carrera como actriz interpretando a Foxxy Cleopatra junto a Mike Myers en la película de comedia, Austin Powers in Goldmember, que pasó su primer fin de semana en la cima de la taquilla de Estados Unidos. Beyoncé lanzó "Work It Out" como el primer sencillo de su álbum de banda sonora que entró en el top ten en el Reino Unido, Noruega y Bélgica. En 2003, Knowles protagonizó junto a Cuba Gooding, Jr., en la comedia musical The Fighting Temptations como Lilly, una madre soltera de quien el personaje de Gooding se enamora. Beyoncé lanzó "Fighting Temptation" como el primer sencillo de la banda sonora de la película, con Missy Elliott, MC Lyte y Free que también se utilizó para promocionar la película. Otra de las contribuciones de Beyoncé a la banda sonora, "Summertime", fue mejor en las listas de Estados Unidos.',
|
64 |
+
'sentence_answer': 'en la <hl> comedia musical <hl> ',
|
65 |
+
'paragraph_answer': 'En julio de 2002, Beyoncé continuó su carrera como actriz interpretando a Foxxy Cleopatra junto a Mike Myers en la película de comedia, Austin Powers in Goldmember, que pasó su primer fin de semana en la cima de la taquilla de Estados Unidos. Beyoncé lanzó "Work It Out" como el primer sencillo de su álbum de banda sonora que entró en el top ten en el Reino Unido, Noruega y Bélgica. En 2003, Knowles protagonizó junto a Cuba Gooding, Jr., en la <hl> comedia musical <hl> The Fighting Temptations como Lilly, una madre soltera de quien el personaje de Gooding se enamora. Beyoncé lanzó "Fighting Temptation" como el primer sencillo de la banda sonora de la película, con Missy Elliott, MC Lyte y Free que también se utilizó para promocionar la película. Otra de las contribuciones de Beyoncé a la banda sonora, "Summertime", fue mejor en las listas de Estados Unidos.',
|
66 |
+
'paragraph_sentence': 'En julio de 2002, Beyoncé continuó su carrera como actriz interpretando a Foxxy Cleopatra junto a Mike Myers en la película de comedia, Austin Powers in Goldmember, que pasó su primer fin de semana en la cima de la taquilla de Estados Unidos. Beyoncé lanzó "Work It Out" como el primer sencillo de su álbum de banda sonora que entró en el top ten en el Reino Unido, Noruega y Bélgica. En 2003, Knowles protagonizó junto a Cuba Gooding, Jr. , <hl> en la comedia musical <hl> The Fighting Temptations como Lilly, una madre soltera de quien el personaje de Gooding se enamora. Beyoncé lanzó "Fighting Temptation" como el primer sencillo de la banda sonora de la película, con Missy Elliott, MC Lyte y Free que también se utilizó para promocionar la película. Otra de las contribuciones de Beyoncé a la banda sonora, "Summertime", fue mejor en las listas de Estados Unidos.',
|
67 |
+
}
|
68 |
+
```
|
69 |
+
### Data Fields
|
70 |
+
The data fields are the same among all splits.
|
71 |
+
#### plain_text
|
72 |
+
- `question`: a `string` feature.
|
73 |
+
- `paragraph`: a `string` feature.
|
74 |
+
- `answer`: a `string` feature.
|
75 |
+
- `sentence`: a `string` feature.
|
76 |
+
- `paragraph_answer`: a `string` feature, which is same as the paragraph but the answer is highlighted by a special token `<hl>`.
|
77 |
+
- `paragraph_sentence`: a `string` feature, which is same as the paragraph but a sentence containing the answer is highlighted by a special token `<hl>`.
|
78 |
+
- `sentence_answer`: a `string` feature, which is same as the sentence but the answer is highlighted by a special token `<hl>`.
|
79 |
+
|
80 |
+
Each of `paragraph_answer`, `paragraph_sentence`, and `sentence_answer` feature is assumed to be used to train a question generation model,
|
81 |
+
but with different information. The `paragraph_answer` and `sentence_answer` features are for answer-aware question generation and
|
82 |
+
`paragraph_sentence` feature is for sentence-aware question generation.
|
83 |
+
|
84 |
+
### Data Splits
|
85 |
+
|
86 |
+
| name |train|validation|test |
|
87 |
+
|----------|----:|---------:|----:|
|
88 |
+
|plain_text|77025| 10570 |10570|
|
89 |
+
|
90 |
+
## Dataset Creation
|
91 |
+
### Curation Rationale
|
92 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
93 |
+
### Source Data
|
94 |
+
#### Initial Data Collection and Normalization
|
95 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
96 |
+
#### Who are the source language producers?
|
97 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
98 |
+
### Annotations
|
99 |
+
#### Annotation process
|
100 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
101 |
+
#### Who are the annotators?
|
102 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
103 |
+
### Personal and Sensitive Information
|
104 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
105 |
+
## Considerations for Using the Data
|
106 |
+
### Social Impact of Dataset
|
107 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
108 |
+
### Discussion of Biases
|
109 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
110 |
+
### Other Known Limitations
|
111 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
112 |
+
## Additional Information
|
113 |
+
### Dataset Curators
|
114 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
115 |
+
### Licensing Information
|
116 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
117 |
+
### Citation Information
|
118 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
qg_itquad.py
CHANGED
@@ -7,9 +7,9 @@ logger = datasets.logging.get_logger(__name__)
|
|
7 |
_DESCRIPTION = """[SQuAD-it](https://huggingface.co/datasets/squad_it) dataset for question generation (QG) task."""
|
8 |
_URL = 'https://huggingface.co/datasets/asahi417/qg_itquad/raw/main/data/processed'
|
9 |
_URLS = {
|
10 |
-
str(datasets.Split.TEST): [f'{_URL}/test{i:02d}.jsonl' for i in range(
|
11 |
-
str(datasets.Split.TRAIN): [f'{_URL}/train{i:02d}.jsonl' for i in range(
|
12 |
-
str(datasets.Split.VALIDATION): [f'{_URL}/validation{i:02d}.jsonl' for i in range(
|
13 |
}
|
14 |
|
15 |
|
|
|
7 |
_DESCRIPTION = """[SQuAD-it](https://huggingface.co/datasets/squad_it) dataset for question generation (QG) task."""
|
8 |
_URL = 'https://huggingface.co/datasets/asahi417/qg_itquad/raw/main/data/processed'
|
9 |
_URLS = {
|
10 |
+
str(datasets.Split.TEST): [f'{_URL}/test{i:02d}.jsonl' for i in range(6)],
|
11 |
+
str(datasets.Split.TRAIN): [f'{_URL}/train{i:02d}.jsonl' for i in range(32)],
|
12 |
+
str(datasets.Split.VALIDATION): [f'{_URL}/validation{i:02d}.jsonl' for i in range(6)],
|
13 |
}
|
14 |
|
15 |
|