Datasets:
File size: 19,256 Bytes
3c2a260 52211fb 3c2a260 52211fb 58092e8 b0b59a9 52211fb 8805d8c 52211fb 58092e8 52211fb 7ed772e bd25724 7ed772e 52211fb 52c6f9b 52211fb 58092e8 52211fb 4b2e270 52211fb 58092e8 52211fb 4d4cfa3 52211fb 4d4cfa3 52211fb 1aa7e71 52211fb 1aa7e71 4b2e270 52211fb 58092e8 52211fb 52c6f9b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
---
annotations_creators:
- expert-generated
language:
- ca
language_creators:
- found
license:
- cc-by-nc-nd-4.0
multilinguality:
- monolingual
pretty_name: CoQCat - Conversational Question Answering in Catalan
size_categories:
- 10K<n<100K
source_datasets: []
tags: []
task_categories:
- question-answering
task_ids:
- dialogue-generation
- extractive-qa
- closed-domain-qa
---
# Dataset Card for CoQCat
## Table of Contents
- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
- [Dataset Summary](#dataset-summary)
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
- [Languages](#languages)
- [Dataset Structure](#dataset-structure)
- [Data Instances](#data-instances)
- [Data Fields](#data-fields)
- [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
- [Curation Rationale](#curation-rationale)
- [Source Data](#source-data)
- [Annotations](#annotations)
- [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
- [Social Impact of Dataset](#social-impact-of-dataset)
- [Discussion of Biases](#discussion-of-biases)
- [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
- [Dataset Curators](#dataset-curators)
- [Licensing Information](#licensing-information)
- [Citation Information](#citation-information)
- [Contributions](#contributions)
## Dataset Description
- **Homepage:**
- **Repository:**
- **Paper:**
- **Leaderboard:**
- **Point of Contact:** langtech@bsc.es
### Dataset Summary
CoQCat is a dataset for Conversational Question Answering in Catalan. It is based on [CoQA dataset](https://stanfordnlp.github.io/coqa/).
CoQCat comprises 89,364 question-answer pairs, sourced from conversations related to 6,000 text passages from six different domains.
The questions and responses are designed to maintain a conversational tone.
The answers are presented in a free-form text format, with evidence highlighted from the passage.
For the development and test sets, an additional 2 responses to each question have been collected.
This work is licensed under a [CC BY-NC-ND 4.0 International License](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en_GB).
### Supported Tasks and Leaderboards
Conversational models, question answering.
### Languages
The dataset is in Catalan (ca-ES).
## Dataset Structure
### Data Instances
Three JSON files, one for each split.
An example of 'test' looks as follows:
```
{
"source": "petites_histories",
"id": "petites_histories_100",
"filename": "coqcat_batch1",
"title": "Superant la crisi dels 40",
"story": "“Què collons estic fent aquí” es preguntà, “…fotent bots i suant a raig als meus quaranta tacos en una classe de body-step. Si no he estat mai un amant del gimnàs! Tot això és culpa del club de ‘singles', els desaparellats desesperats per trobar algú que ens escolti una mica, mentre calculem les possibilitats de fotre un clau”. Pensant tot això es va descomptar i anava a contratemps, un altre cop.\nHo acaba de decidir: sortint de la classe es donarà de baixa. Sí, serà millor oblidar els ‘singles' i dedicar els caps de setmana que no tingui les nenes a fer sortides amb el seu germà, els nebots són més grans que les seves filles i ja fan bones excursions.\nUn cop dutxat s'apropà al mostrador de l'entrada. El noi el va fer passar a l'oficina per omplir el full de baixa. Dins, una veu el va cridar: “Txume?”. Es girà estranyat ja que li deien així només a l'institut, després va ser el Jaume. Va mirar la dona que li somreia.:\n-“Estàs igual que fa vint-i-cinc anys! Has fet un pacte amb el diable?”\n-“… Alba?? Ets l'Alba?”- la seva cara li recordava a la de la noia grassoneta de la classe, però ara no ho estava pas de grassa! -“Tu sí que hi has pactat! Estàs molt millor… bé, vull dir que…”\n-“Sí, em vaig posar les piles.”\n-“Segueixes escrivint relats? Recordo que a tots ens agradaven les històries de l'Alba.”\n-“Doncs encara ho faig, just ara en plegar vaig a una sessió literària musical. Si vols venir, podem recordar batalletes.”\nS'hi apuntà. Van xerrar, van riure, van escoltar relats i poemes, van reviure les aventures de l'institut amb música de jazz de fons, … Hi estava a gust, i s'adonà que, per primer cop en molt temps, no avaluava les possibilitats d'acabar prenent la darrera copa a casa seva.",
"questions": [
{"input_text": "Està satisfet del que està fent?","turn_id": 1},
{"input_text": "Sua?","turn_id": 2},
{"input_text": "Quants anys té?","turn_id": 3},
{"input_text": "Li agrada anar al gimnàs?","turn_id": 4},
{"input_text": "Està solter?","turn_id": 5},
{"input_text": "Segueix bé el ritme de la música?","turn_id": 6},
{"input_text": "Continuarà apuntat al gimnàs?","turn_id": 7},
{"input_text": "Què farà els caps de setmana?","turn_id": 8},
{"input_text": "On li deien Txume?","turn_id": 9},
{"input_text": "Com l'anomenaven després?","turn_id": 10},
{"input_text": "En Jaume ha envellit bé?","turn_id": 11},
{"input_text": "L'Alba s'havia aprimat?","turn_id": 12},
{"input_text": "A què es dedica l'Alba?","turn_id": 13},
{"input_text": "On van anar plegats?","turn_id": 14},
{"input_text": "Volia que acabessin anant a la seva llar?","turn_id": 15}
],
"answers": [
{"input_text": "No.", "span_text": "Què collons estic fent aquí", "span_start": 1, "span_end": 28,"turn_id": 1},
{"input_text": "Sí, a raig.", "span_text": "fotent bots i suant a raig", "span_start": 45, "span_end": 71,"turn_id": 2},
{"input_text": "Quaranta.", "span_text": "als meus quaranta tacos", "span_start": 72, "span_end": 95,"turn_id": 3},
{"input_text": "No.", "span_text": "Si no he estat mai un amant del gimnàs", "span_start": 124, "span_end": 162,"turn_id": 4},
{"input_text": "Sí.", "span_text": "Tot això és culpa del club de ‘singles'", "span_start": 164, "span_end": 203,"turn_id": 5},
{"input_text": "No.", "span_text": "es va descomptar i anava a contratemps, un altre cop", "span_start": 347, "span_end": 399,"turn_id": 6},
{"input_text": "No, quan surti de la classe es donarà de baixa.", "span_text": "sortint de la classe es donarà de baixa", "span_start": 422, "span_end": 461,"turn_id": 7},
{"input_text": "Farà sortides amb el seu germà i els seus nebots.", "span_text": "dedicar els caps de setmana que no tingui les nenes a fer sortides amb el seu germà, els nebots són més grans que les seves filles i ja fan bones excursions", "span_start": 503, "span_end": 659,"turn_id": 8},
{"input_text": "A l'institut.", "span_text": "Dins, una veu el va cridar: “Txume?”. Es girà estranyat ja que li deien així només a l'institut", "span_start": 776, "span_end": 871,"turn_id": 9},
{"input_text": "Jaume.", "span_text": "que li deien així només a l'institut, després va ser el Jaume", "span_start": 835, "span_end": 896,"turn_id": 10},
{"input_text": "Sí.", "span_text": "Estàs igual que fa vint-i-cinc anys", "span_start": 934, "span_end": 969,"turn_id": 11},
{"input_text": "Sí.", "span_text": "però ara no ho estava pas de grassa", "span_start": 1096, "span_end": 1131,"turn_id": 12},
{"input_text": "Escriu relats.", "span_text": "Segueixes escrivint relats? Recordo que a tots ens agradaven les històries de l'Alba.”\n-“Doncs encara ho faig", "span_start": 1232, "span_end": 1341,"turn_id": 13},
{"input_text": "A una sessió literària musical.", "span_text": "just ara en plegar vaig a una sessió literària musical. Si vols venir, podem recordar batalletes.”\nS'hi apuntà", "span_start": 1343, "span_end": 1453,"turn_id": 14},
{"input_text": "No.", "span_text": "no avaluava les possibilitats d'acabar prenent la darrera copa a casa seva", "span_start": 1641, "span_end": 1715,"turn_id": 15}
],
"additional_answers": {
"0": [
{"input_text": "No.", "span_text": "Què collons estic fent aquí", "span_start": 1, "span_end": 28, "turn_id": 1},
{"input_text": "Sí, molt.", "span_text": "fotent bots i suant a raig", "span_start": 45, "span_end": 71, "turn_id": 2},
{"input_text": "Quaranta.", "span_text": "als meus quaranta tacos", "span_start": 72, "span_end": 95, "turn_id": 3},
{"input_text": "No.", "span_text": "Si no he estat mai un amant del gimnàs", "span_start": 124, "span_end": 162, "turn_id": 4},
{"input_text": "Sí.", "span_text": "Tot això és culpa del club de ‘singles'", "span_start": 164, "span_end": 203, "turn_id": 5},
{"input_text": "No.", "span_text": "es va descomptar i anava a contratemps, un altre cop", "span_start": 347, "span_end": 399, "turn_id": 6},
{"input_text": "No.", "span_text": "sortint de la classe es donarà de baixa", "span_start": 422, "span_end": 461, "turn_id": 7},
{"input_text": "Farà sortides amb el seu germà i els seus nebots.", "span_text": "serà millor oblidar els ‘singles' i dedicar els caps de setmana que no tingui les nenes a fer sortides amb el seu germà, els nebots són més grans que les seves filles i ja fan bones excursions", "span_start": 467, "span_end": 659, "turn_id": 8},
{"input_text": "A l'institut.", "span_text": "“Txume?”. Es girà estranyat ja que li deien així només a l'institut", "span_start": 804, "span_end": 871, "turn_id": 9},
{"input_text": "Jaume.", "span_text": "després va ser el Jaume", "span_start": 873, "span_end": 896, "turn_id": 10},
{"input_text": "Sí.", "span_text": "Estàs igual que fa vint-i-cinc anys", "span_start": 934, "span_end": 969, "turn_id": 11},
{"input_text": "Sí.", "span_text": "però ara no ho estava pas de grassa", "span_start": 1096, "span_end": 1131, "turn_id": 12},
{"input_text": "Escriu relats.", "span_text": "Segueixes escrivint relats? Recordo que a tots ens agradaven les històries de l'Alba.”\n-“Doncs encara ho faig", "span_start": 1232, "span_end": 1341, "turn_id": 13},
{"input_text": "A una sessió literària musical.", "span_text": "just ara en plegar vaig a una sessió literària musical. Si vols venir, podem recordar batalletes.”\nS'hi apuntà", "span_start": 1343, "span_end": 1453, "turn_id": 14},
{"input_text": "No.", "span_text": "no avaluava les possibilitats d'acabar prenent la darrera copa a casa seva", "span_start": 1641, "span_end": 1715, "turn_id": 15}
],
"1": [
{"input_text": "No.", "span_text": "Què collons estic fent aquí", "span_start": 1, "span_end": 28, "turn_id": 1},
{"input_text": "Sí.", "span_text": "fotent bots i suant", "span_start": 45, "span_end": 64, "turn_id": 2},
{"input_text": "Quaranta.", "span_text": "als meus quaranta tacos", "span_start": 72, "span_end": 95, "turn_id": 3},
{"input_text": "No.", "span_text": "Si no he estat mai un amant del gimnàs", "span_start": 124, "span_end": 162, "turn_id": 4},
{"input_text": "Sí.", "span_text": "Tot això és culpa del club de ‘singles', els desaparellats desesperats per trobar algú que ens escolti una mica", "span_start": 164, "span_end": 275, "turn_id": 5},
{"input_text": "No.", "span_text": "es va descomptar i anava a contratemps, un altre cop", "span_start": 347, "span_end": 399, "turn_id": 6},
{"input_text": "No.", "span_text": "sortint de la classe es donarà de baixa", "span_start": 422, "span_end": 461, "turn_id": 7},
{"input_text": "A fer sortides amb el seu germà.", "span_text": "serà millor oblidar els ‘singles' i dedicar els caps de setmana que no tingui les nenes a fer sortides amb el seu germà", "span_start": 467, "span_end": 586, "turn_id": 8},
{"input_text": "A l'institut.", "span_text": "una veu el va cridar: “Txume?”. Es girà estranyat ja que li deien així només a l'institut", "span_start": 782, "span_end": 871, "turn_id": 9},
{"input_text": "Jaume.", "span_text": "després va ser el Jaume", "span_start": 873, "span_end": 896, "turn_id": 10},
{"input_text": "Sí.", "span_text": "Estàs igual que fa vint-i-cinc anys", "span_start": 934, "span_end": 969, "turn_id": 11},
{"input_text": "Sí.", "span_text": "però ara no ho estava pas de grassa", "span_start": 1096, "span_end": 1131, "turn_id": 12},
{"input_text": "Escriu relats.", "span_text": "Segueixes escrivint relats? Recordo que a tots ens agradaven les històries de l'Alba.”\n-“Doncs encara ho faig", "span_start": 1232, "span_end": 1341, "turn_id": 13},
{"input_text": "A una sessió literària musical.", "span_text": "una sessió literària musical. Si vols venir, podem recordar batalletes.”\nS'hi apuntà", "span_start": 1369, "span_end": 1453, "turn_id": 14},
{"input_text": "No.", "span_text": "no avaluava les possibilitats d'acabar prenent la darrera copa a casa seva", "span_start": 1641, "span_end": 1715, "turn_id": 15}
]
}
}
```
### Data Fields
The data fields are the same among all splits.
- `source`: a `string` feature.
- `id`: a `string` feature.
- `filename`: a `string` feature.
- `story`: a `string` feature.
- `questions`: a `list` of dictionaries containing:
- `input_text`: a `string` feature.
- `turn_id`: a `int32` feature.
- `answers`: a `list` of dictionaries containing:
- `input_text`: a `string` feature.
- `span_text`: a `string` feature.
- `answer_start`: a `int32` feature.
- `answer_end`: a `int32` feature.
- `turn_id`: a `int32` feature.
- `additional_answers` (only in `dev`and `test`): a dictionary feature containing:
- `0`: a `list` of dictionaries equal to `answers`.
- `1`: a `list` of dictionaries equal to `answers`.
### Data Splits
* dev.json: 8,909 question-answering examples. 600 text passages from 4 domains
* test.json: 8,986 question-answering examples. 600 text passages from 6 domains
* train.json: 71,489 question-answering examples. 4800 text passages from 4 domains
## Dataset Creation
### Curation Rationale
We created this dataset to contribute to the development of language models in Catalan, a low-resource language.
### Source Data
#### Initial Data Collection and Normalization
We obtained the initial text passages from different sources, depending on the domain:
| domain | source | train | dev | test | total |
|:-|:-|-:|-:|-:|-:|
| biographies | [Catalan wikipedia](ca.wikipedia.org) | 1200 | 150 | 100 | 1450|
| literature | [Gutenberg Project](gutenberg.org/) | 1200 | 150 | 100 | 1450|
| news | [VilaWeb](vilaweb.cat) | 1200 | 150 | 100 | 1450|
| mitology | Catalan wikipedia | 1200 | 150 | 100 | 1450|
| short histories | [Petites històries](https://petiteshistories.wordpress.com/) | 0 | 0 | 100 | 100|
| movie plots | Catalan wikipedia | 0 | 0 | 100 | 100 |
| TOTAL | | 4800 | 600 | 600 | 6000 |
#### Who are the source language producers?
The contents of [Catalan Wikipedia](ca.wikipedia.org) are developed by a team of volunteers, and are subject to review processes also carried out by volunteers.
The texts from [VilaWeb](vilaweb.cat) are prepared by journalists and communication professionals, and edited by expert proofreaders.
The paragraphes extracted from the [Gutenberg Project](gutenberg.org/) are written by diferent Catalan authors.
The texts of the [Petites històries website](https://petiteshistories.wordpress.com/) are written by the writer M. Carme Marí and published on her website. The author has provided them for the preparation of this dataset.
### Annotations
#### Annotation process
The annotation process was entrusted to the company [M47 labs](https://www.m47labs.com/) through a public tender process.
We asked to organize the annotators team in pairs: one of the members asking questions from the text passage and the other one answering them. For the elaboration of addicional answers for the dev and test splits, we asked the participation of a third person, not involved in the original conversation.
Annotation guidelines can be found in [Zenodo](https://zenodo.org/records/10362295).
#### Who are the annotators?
Annotation was entrusted to the company [M47 labs](https://www.m47labs.com/) through a public tender process.
We asked for a team of at least 4 annotators, students or graduates of universities, ideally in the field of Humanities or Social Sciences, with optimal demonstrable knowledge of the Catalan language (minimum level C1, or equivalent), and a senior coordinator with proven experience in management and coordination of text annotation.
### Personal and Sensitive Information
No personal or sensitive information included.
## Considerations for Using the Data
### Social Impact of Dataset
We hope that this dataset will help the development of virtual assistants in Catalan, a language that is often not taken into account.
### Discussion of Biases
[N/A]
### Other Known Limitations
[N/A]
## Additional Information
### Dataset Curators
Language Technologies Unit at the Barcelona Supercomputing Center (langtech@bsc.es)
This work has been promoted and financed by the Generalitat de Catalunya through the [Aina project](https://projecteaina.cat/).
### Licensing Information
This work is licensed under a [CC BY-NC-ND 4.0 International License](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en_GB).
### Citation Information
```
@inproceedings{gonzalez-agirre-etal-2024-building-data,
title = "Building a Data Infrastructure for a Mid-Resource Language: The Case of {C}atalan",
author = "Gonzalez-Agirre, Aitor and
Marimon, Montserrat and
Rodriguez-Penagos, Carlos and
Aula-Blasco, Javier and
Baucells, Irene and
Armentano-Oller, Carme and
Palomar-Giner, Jorge and
Kulebi, Baybars and
Villegas, Marta",
editor = "Calzolari, Nicoletta and
Kan, Min-Yen and
Hoste, Veronique and
Lenci, Alessandro and
Sakti, Sakriani and
Xue, Nianwen",
booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
month = may,
year = "2024",
address = "Torino, Italia",
publisher = "ELRA and ICCL",
url = "https://aclanthology.org/2024.lrec-main.231",
pages = "2556--2566",
}
```
[DOI](https://zenodo.org/records/10362295)
### Contributions
The annotation was entrusted to the company [M47 labs](https://www.m47labs.com/) through a public tender process.
Thanks to [M. Carme Marí](https://petiteshistories.wordpress.com/quant-a/) and the [VilaWeb](vilaweb.cat) team for allowing us to use their texts. And also to all the [Catalan Wikipedia](ca.wikipedia.org) and [Gutenberg Project](gutenberg.org/) volunteers all their work.
|