--- pretty_name: Claire French Dialogue Dataset (CFDD) license: cc-by-nc-sa-4.0 language: - fr multilinguality: - monolingual size_categories: - 100M _A collection of French dialogue transcripts and plays_ This is the first packaged version of the datasets used to train the Claire family of large language models ([OpenLLM-France/Claire-7B-0.1](https://huggingface.co/OpenLLM-France/Claire-7B-0.1)). The Claire French Dialogue Dataset (CFDD) is a collection of theater plays and transcripts of real French dialogues from various sources, including parliamentary proceedings, interviews, debates, meetings, and free conversations. Each dialogue is split into speech turns, and each speech turn is labeled with the name of the speaker, or a unique identifier if the speaker is unknown. * [Dataset composition](#dataset-composition) * [Data sources](#data-sources) * [Example use (python)](#example-use-python) * [Important notes](#important-notes) * [License](#license) * [Citations](#citations) * [Contact](#contact) ## Dataset composition CFDD can be broken down into: * 37 015 conversations in total (36 731 in train, 284 in test) * 2 961 116 speech turns in total (2 934 084 in train, 27 032 in test) * around 150M words It is a collection of several independent datasets, classified by the types of conversations they contain. This categorization is designed to more evenly balance the influence of different styles of dialogue on model training and to facilitate future applications of CFDD for which certain types of dialogue might be more helpful than others. Note that this categorization leads to multiple cases in which the original corpus is split into subcorpora. When the smaller sets are included in our corpus, they are clearly indicated, e.g., "ESLO (1/5)". Some portions of the original corpora have been excluded entirely because they did not include dialogue between adults (e.g., monologues, read literature). For more information, you can look at the following documents: * [FR/metadata.csv](FR/metadata.csv) contains further statistics on the different subcorpora (broken down by train/test splits). * [FR/metadata_filter_datasets_regex.json](FR/metadata_filter_datasets_regex.json) contains information about how original datasets were filtered and/or split into sub-categories. * [FR/metadata_split_testset_list.json](FR/metadata_split_testset_list.json) contains information about which files in the original datasets were chosen to be in the test set. ### Data sources
Dataset Sub-folder(s) Description Words Turns Conversations License (and conditions)
Parliamentary Proceedings
Assemblée Nationale FR/AssembleeNationale*
(one folder per legislative period)
Parliamentary proceedings from the French National Assembly 133M 1.6M 4.5k Open License 2.0
Theatre
Theatre Classique FR/TheatreClassique Classic stage plays 12.8M 441k 25k CC BY-NC-SA 4.0 (please cite)
Theatre Gratuit FR/TheatreGratuit Stage plays 2.7M 155k 4k
Interviews
ESLO (1/5) FR/ESLO_interview Guided conversations 4.2M 329k 399 CC BY-NC-SA 4.0 (please cite)
TCOF (adults) FR/TCOF_adults Guided conversations (between adults) 765k 49k 237 CC BY-NC-SA 2.0 (please cite)
CFPP FR/CFPP Interviews of people in Paris in 2000 608k 48k 42 CC BY-NC-SA 3.0 (please cite)
ORFEO/Valibel (1/2) FR/ORFEO_valibel_interview Guided conversations of Belgian French speakers 458k 19k 67 CC BY-NC-SA 4.0 (please cite)
PFC (1/2) FR/PFC_guided Guided interviews 268k 15k 173 CC BY-NC-SA 4.0 (please cite)
ORFEO/CFPB FR/ORFEO_cfpb Interviews of people in Brussels 138k 11k 12 CC BY-NC-SA 4.0
ACSYNT FR/ACSYNT Guided interviews from southwestern France 61k 2.7k 144 CC BY-SA 4.0 (please cite)
Free Conversations
OFROM FR/OFROM Conversations in French-speaking Switzerland 590k 44k 151 CC BY-NC-SA 3.0 (please cite)
ESLO (2/5) FR/ESLO_free Diverse conversation 480k 47k 98 CC BY-NC-SA 4.0 (please cite)
ORFEO/CRFP FR/ORFEO_crfp Diverse conversations 405k 9k 124 CC BY-NC-SA 4.0 (please cite)
ORFEO/C-ORAL-ROM FR/ORFEO_coralrom Diverse conversation 248k 6k 152 CC BY-NC-SA 4.0 (please cite)
PFC (2/2) FR/PFC_free Diverse conversation 230k 14k 146 CC BY-NC-SA 4.0 (please cite)
CLAPI FR/CLAPI Diverse conversation 122k 15k 14 CC BY-NC-SA 4.0
CID FR/CID Dialogues between two friends 118k 9k 8 CC BY-NC-SA 4.0 (please cite)
Rhapsodie FR/Rhapsodie Diverse conversations 28k 1k 41 CC BY-NC-SA 3.0 (please cite)
Paris Stories FR/ParisStories Diverse conversations in Paris 28k 351 54 CC BY-SA 4.0
LinTO (1/3) FR/LINAGORA_free Diverse conversation 26k 2k 4 CC BY-SA 4.0 (please cite)
Meetings
SUMM-RE FR/SUMM-RE Meeting-style conversations (transcribed with Whisper large-v2 ASR) 1.3M 39k 283 CC BY-SA 4.0 (please cite)
ORFEO/Reunions-de-Travail FR/ORFEO_reunions-de-travail Real meetings 210k 12k 29 CC BY-NC-SA 4.0
LinTO (2/3) FR/LINAGORA_meetings Meetings on speech recognition 41k 1.8k 6 CC BY-SA 4.0 (please cite)
Debates
FREDSum FR/FREDSum French political debates 406k 7k 144 CC BY-SA 4.0 (please cite)
ESLO (3/5) FR/ESLO_conf Conferences 76k 2k 4 CC BY-NC-SA 4.0 (please cite)
Assistance
ESLO (4/5) FR/ESLO_assistance In-person assistance and call-centers 95k 11k 143 CC BY-NC-SA 4.0 (please cite)
ORFEO/Fleuron FR/ORFEO_fleuron Interactions created to teach foreign students about university life 33k 2k 51 CC BY-NC-SA 4.0 (please cite)
OTG FR/OTG Dialogues in a tourism office 27k 4k 315 CC BY-SA 3.0 (contact before usage)
Accueil UBS FR/UBS University telephone answering service 7.2k 1k 41 CC BY-SA 3.0 (contact before usage)
Presentation, Formal Address
ESLO (5/5) FR/ESLO_discourse Conference presentations 43k 120 9 CC BY-NC-SA 4.0 (please cite)
LinTO (3/3) FR/LINAGORA_discourse Technical presentations (AI topics) with Q/A 38k 1.5k 4 CC BY-SA 4.0 (please cite)
ORFEO/Valibel (2/2) FR/ORFEO_valibel_discourse Formal university addresses 12k 5 5 CC BY-NC-SA 4.0 (please cite)
## Example use (python) In the following `sample_by="paragraph"` is important to ensure that each sample corresponds to a full conversation (not just a speech turn). Load dataset from HuggingFace cache (downloaded under `~/.cache/huggingface/datasets`): ```python from datasets import load_dataset dataset = load_dataset("OpenLLM-France/Claire-Dialogue-French-0.1", sample_by="paragraph", streaming=True) ``` Load dataset from raw text files: ```python from datasets import load_dataset import glob path = "path/to/dataset" train_files = glob.glob(path + "/*/train.txt") test_files = glob.glob(path + "/*/test.txt") dataset = load_dataset("text", data_files={"train": train_files, "test": test_files}, sample_by="paragraph", streaming=True) ``` Iterate on the dataset: ```python for sample in dataset["train"]: train_conversation = sample["text"] ... for sample in dataset["test"]: test_conversation = sample["text"] ... ``` ## Important notes All datasets were normalized in text files so that: * Conversations are separated by a single blank line. * Each line corresponds to a single speech turn. * Each line begins with a speaker label of the form "`[***:]`". * When speaker names are anonymized or otherwise unknown, speakers are distinguished by numbers in the following format: "**`[speaker001:]`**", "**`[speaker002:]`**", …
Otherwise, speakers are labeled with their names or roles, e.g. "`[Paul:]`", "`[François Mitterrand:]`", "`[M. le président:]`". * There are no parentheses: special annotations are always between square brackets. * Commong tags include: * "**`[PII]`**": Personally Identifiable Information (anonymized name...) * "`[NOISE]`": distinct ambient noises * "`[LAUGHTER]`": laughter * Depending on the data source, data may or may not include punctuation marks and upper case letters. * The data were normalized in various ways including unicode NFC normalization, conversion of unbreakable spaces to spaces, and standardization of punctuation marks (`…` -> `...`, `«`/`»`/`“`/`”`/`″`/`„` -> `"`). Those details are described in the paper: [_« The Claire French Dialogue Dataset »_](https://arxiv.org/abs/2311.16840) (2023). ## License Given that some of the corpora used for training are only available under CC-BY-NC-SA licenses, Claire-Dialogue-French-0.1 is made available under the [CC-BY-NC-SA 4.0 license](https://creativecommons.org/licenses/by-nc-sa/4.0/). ## Citations When using the CFDD corpus, please cite the following paper: ✍ Julie Hunter, Jérôme Louradour, Virgile Rennard, Ismaïl Harrando, Guokan Shang, Jean-Pierre Lorré (2023) [The Claire French Dialogue Dataset](https://arxiv.org/abs/2311.16840) ```bibtex @misc{openllm2023claire, title={The Claire French Dialogue Dataset}, author={Julie Hunter and Jérôme Louradour and Virgile Rennard and Ismaïl Harrando and Guokan Shang and Jean-Pierre Lorré}, year={2023}, eprint={2311.16840}, archivePrefix={arXiv}, primaryClass={cs.CL} } ``` This paper in turn provides the requested citations for all of the original corpora. The same references are also listed below. * **Accueil UBS** * Pascale Nicolas, Sabine Letellier-Zarshenas, Igor Schadle, Jean-Yves Antoine, Jean Caelen (2002). [Towards a large corpus of spoken dialogue in French that will be freely available: the "Parole Publique" project and its first realisations](https://www.info.univ-tours.fr/~antoine/parole_publique/articles/2002_LREC_CORP.pdf). _Third European Conference on Language Resources and Evaluation_ (LREC). Las Palmas de Gran Canaria, Espagne. * Jean-Yves Antoine, Jerome Goulian, Jeanne Villaneau, Marc le Tallec (2009). [Word Order Phenomena in Spoken French : a Study on Four Corpora of Task-Oriented Dialogue and its Consequences on Language Processing](https://www.info.univ-tours.fr/~antoine/articles/2009_Corpus_Linguistics.pdf). _Corpus Linguistics_, Liverpool, UK. * **ACSYNT** * Cognition, Langue, Langages, Ergonomie - UMR 5263 (CLLE) (2013). [ACSYNT [Corpus]](https://hdl.handle.net/11403/sldr000832/v1). [ORTOLANG](www.ortolang.fr) (Open Resources and TOols for LANGuage). * **CFPP** * Branca-Rosoff S., Fleury S., Lefeuvre F., Pires M., 2012, [Discours sur la ville. Présentation du Corpus de Français Parlé Parisien des années 2000](http://cfpp2000.univ-paris3.fr/CFPP2000.pdf) (CFPP2000). * CLESTHIA - Langage, systèmes, discours - EA 7345 (CLESTHIA) (2018). [CFPP2000 [Corpus]](https://hdl.handle.net/11403/cfpp2000/v1). [ORTOLANG](www.ortolang.fr) (Open Resources and TOols for LANGuage), v1. * **CID** * Roxane Bertrand, Philippe Blache, Robert Espesser, Gaëlle Ferré, Christine Meunier, Béatrice Priego-Valverde, Stéphane Rauzy (2008). [Le CID — Corpus of Interactional Data — Annotation et Exploitation Multimodale de Parole Conversationnelle](https://hal.science/hal-00349893). _Traitement Automatique des Langues_, vol. 49, no. 3. * Philippe Blache, Roxane Bertrand, Brigitte Bigi et al. (2010). [Multimodal annotation of conversational data](http://portal.acm.org/citation.cfm?id=1868749). _Proceedings of the Fourth Linguistic Annotation Workshop_. * Laboratoire parole et langage - UMR 7309 (LPL) (2021). [Transcriptions du corpus CID [Corpus]](https://hdl.handle.net/11403/sldr000720/v1). [ORTOLANG](www.ortolang.fr) (Open Resources and TOols for LANGuage). * **CLAPI** * CLAPI, [http://clapi.icar.cnrs.fr](http://clapi.icar.cnrs.fr) * Groupe ICOR (H. Baldauf-Quilliatre, I. Colon de Carvajal, C. Etienne, E. Jouin-Chardon, S. Teston-Bonnard, V. Traverso) (2016). [CLAPI, une base de données multimodale pour la parole en interaction : apports et dilemmes](https://shs.hal.science/halshs-01316283/). In Avanzi M., Béguelin M.-J. & Diémoz F. (eds), _Corpus de français parlés et français parlés des corpus, Corpus_ 15. * **ESLO** * Iris Eshkol-Taravella, Olivier Baude, Denis Maurel, Linda Hriba, Céline Dugua, Isabelle Tellier (2012). Un grand corpus oral « disponible » : le corpus d’Orléans 1968-2012, _Ressources linguistiques libres, TAL_. Volume 52 – n° 3/2011, 17-46. * Laboratoire Ligérien de Linguistique - UMR 7270 (LLL) (2023). [ESLO [Corpus]](https://hdl.handle.net/11403/eslo/v1). [ORTOLANG](www.ortolang.fr) (Open Resources and TOols for LANGuage), v1. * **FREDSum** * Virgile Rennard, Guokan Shang, Damien Grari, Julie Hunter, Michalis Vazirgiannis (forthcoming). FREDSum: A Dialogue Summarization Corpus for French Political Debates. _Findings of Empirical Methods in Natural Language Processsing_ (EMNLP). * **LinTO** * Lila Gravellier, Julie Hunter, Philippe Muller, Thomas Pellegrini, Isabelle Ferrané (2021). [Weakly Supervised Discourse Segmentation for Multiparty Oral Conversation](https://aclanthology.org/2021.emnlp-main.104/). _The 2021 Conference on Empirical Methods in Natural Language Processing_ (EMNLP), pp. 1381–1392. * **OFROM** * Mathieu Avanzi, Marie-José Béguelin, Gilles Corminboeuf, Federica Diémoz, Laure Anne Johnsen (2012-2023). [Corpus OFROM – Corpus oral de français de Suisse romande](ofrom.unine.ch). Université de Neuchâtel. * Mathieu Avanzi, Marie-José Béguelin, Federica Diémoz (2016). [Présentation du corpus OFROM – Corpus oral de français de Suisse romande](ofrom.unine.ch/uploads/Documents/AM-MJB-FD_GC_LAJ_OFROM_23.pdf). Université de Neuchâtel. * Mathieu Avanzi, Marie-José Béguelin, Federica Diémoz (2016). De l’archive de parole au corpus de référence. Le corpus oral de français de Suisse romande (OFROM). _Actes du colloque Corpus de Français Parlés et Français Parlés des Corpus_ (= Corpus 15), 309-342. * Gilles Corminboeuf, Julie Rothenbühler, Maguelone Sauzet (éds) (2020). [Français parlés et français ‘tout court’](studialinguisticaromanica.org/index.php/slr/issue/view/4). _Studia Linguistica Romanica_ n°4, publication électronique. * **ORFEO** (pour chaque corpus issu du projet ORFEO) * Jeanne-Marie Debaisieux, Christophe Benzitoun, Henri-José Deulofeu. Le projet ORFÉO : un corpus d’étude pour le français contemporain, _Corpus 15_, Actes du colloque Corpus de Français Parlés et Français Parlés des Corpus. * Carruthers, Janice (2008). Annotating an Oral Corpus using the Text Encoding Initiative. Methodology, Problems, Solutions, _Journal of French Language Studies_ 18(1), 103-119. * Agnès Tutin, Francis Grossmann (2014). _L’écrit scientifique : du lexique au discours. Autour de Scientext_. Presses de l’Université de Rennes. * **ORFEO/CFPB** * Anne Dister, Emmanuelle Labeau (2017). [Le corpus de français parlé à Bruxelles: origines, hypothèses, développements et prédictions](https://www.semanticscholar.org/paper/Le-corpus-de-fran%C3%A7ais-parl%C3%A9-%C3%A0-Bruxelles%3A-origines%2C-Dister-Labeau/0fe858f6b8c1ce49a2e43b34494c2e76922162fa). * **ORFEO/C-Oral-Rom** * Cresti Emanuela, Bacelar do Nascimento Fernanda, Moreno Sandoval Antonio, Veronis Jean, Martin Philippe, Kalid Choukri (2005). The C-ORAL-ROM CORPUS: A Multilingual Resource of Spontaneous Speech for Romance Languages. _Studies in Corpus Linguistics_, 15. John Benjamins Publishing Company 304 pp. (incl. DVD). * **ORFEO/CRFP** * Équipe Delic (2004). Recherches sur le français parlé n° 18, « Autour du Corpus de référence du français parlé » Publications de l’université de Provence, 265 p. * **ORFEO/Valibel** * Anne Dister, Michel Francard, Philippe Hambye, Anne-Catherine Simon (2009). [Du corpus à la banque de données. Du son, des textes et des métadonnées. L'évolution de banque de données textuelles orales VALIBEL (1989-2009)](https://cdn.uclouvain.be/public/Exports%20reddot/valibel/documents/Dister_et_al_2009_Cahiers.pdf), _Cahiers de Linguistique_ 33/2, 113-129. * **OTG** * Pascale Nicolas, Sabine Letellier-Zarshenas, Igor Schadle, Jean-Yves Antoine, Jean Caelen (2002). [Towards a large corpus of spoken dialogue in French that will be freely available: the "Parole Publique" project and its first realisations](https://www.info.univ-tours.fr/~antoine/parole_publique/articles/2002_LREC_CORP.pdf). _Third European Conference on Language Resources and Evaluation_ (LREC). Las Palmas de Gran Canaria, Espagne. * Jean-Yves Antoine, Sabine Letellier-Zarshenas, Pascale Nicolas, Igor Schadle (2002). [Corpus OTG et ECOLE_MASSY : vers la constitution d’un collection de corpus francophones de dialogue oral diffusés librement](https://www.info.univ-tours.fr/~antoine/parole_publique/articles/2002_TALN_CORP.pdf). _Actes TALN_ 2002. Nancy, France. * **Paris Stories** * Sylvain Kahane, Bernard Caron, Emmett Strickland, Kim Gerdes. Annotation guidelines of UD and SUD treebanks for spoken corpora: A proposal. _Proceedings of the 20th International Workshop on Treebanks and Linguistic Theories_ (TLT, SyntaxFest 2021). * **PFC** * Jacques Durand, Bernard Laks, Chantal Lyche (2009). Le projet PFC: une source de données primaires structurées. In J. Durand, B. Laks et C. Lyche (eds)(2009) _Phonologie, variation et accents du français_. Paris: Hermès. pp. 19-61. * Modèles, Dynamiques, Corpus - UMR 7114 (MoDyCo), Université de Groningen (RUG) (2017). [PFC - Phonologie du Français Contemporain [Corpus]](https://hdl.handle.net/11403/pfc/v1). [ORTOLANG](www.ortolang.fr) (Open Resources and TOols for LANGuage), v1. * **Rhapsodie** * see [https://rhapsodie.modyco.fr/propriete-intellectuelle/](https://rhapsodie.modyco.fr/propriete-intellectuelle/) * **SUMM-RE** * Hiroyoshi Yamasaki, Jérôme Louradour, Julie Hunter, Laurent Prévot (forthcoming). Transcribing And Aligning Conversational Speech: A Hybrid Pipeline Applied To French Conversations. _Workshop on Automatic Speech Recognition and Understanding_ (ASRU). * **TCOF** * Analyse et Traitement Informatique de la Langue Française (2020). [TCOF : Traitement de Corpus Oraux en Français [Corpus]](https://www.ortolang.fr/market/corpora/tcof/v2.1). _ORTOLANG (Open Resources and TOols for LANGuage)_ * **Theatre Classique** * French Drama Corpus (FreDraCor): A TEI P5 Version of Paul Fièvre's "Théâtre Classique" Corpus. Edited by Carsten Milling, Frank Fischer and Mathias Göbel. Hosted on GitHub, 2021 – [https://github.com/dracor-org/fredracor](https://github.com/dracor-org/fredracor) ## Contact contact@openllm-france.fr