The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider removing the loading script and relying on automated data support (you can use convert_to_parquet from the datasets library). If this is not possible, please open a discussion for direct help.

YAML Metadata Warning: The task_categories "conversational" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, text2text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, other

Dataset Card for CoQCat

Dataset Summary

CoQCat is a dataset for Conversational Question Answering in Catalan. It is based on CoQA dataset.

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.

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 devand 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 1200 150 100 1450
literature Gutenberg Project 1200 150 100 1450
news VilaWeb 1200 150 100 1450
mitology Catalan wikipedia 1200 150 100 1450
short histories Petites històries 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 are developed by a team of volunteers, and are subject to review processes also carried out by volunteers.

The texts from VilaWeb are prepared by journalists and communication professionals, and edited by expert proofreaders.

The paragraphes extracted from the Gutenberg Project are written by diferent Catalan authors.

The texts of the Petites històries website 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 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.

Who are the annotators?

Annotation was entrusted to the company M47 labs 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 was funded by the Departament de la Vicepresidència i de Polítiques Digitals i Territori de la Generalitat de Catalunya within the framework of Projecte AINA.

Licensing Information

This work is licensed under a CC BY-NC-ND 4.0 International License.

Citation Information

DOI

Contributions

The annotation was entrusted to the company M47 labs through a public tender process.

Thanks to M. Carme Marí and the VilaWeb team for allowing us to use their texts. And also to all the Catalan Wikipedia and Gutenberg Project volunteers all their work.

Downloads last month
171
Edit dataset card

Collection including projecte-aina/CoQCat