Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

CamemBERT: a Tasty French Language Model

About

Pretrained language models are now ubiquitous in Natural Language Processing. Despite their success, most available models have either been trained on English data or on the concatenation of data in multiple languages. This makes practical use of such models --in all languages except English-- very limited. In this paper, we investigate the feasibility of training monolingual Transformer-based language models for other languages, taking French as an example and evaluating our language models on part-of-speech tagging, dependency parsing, named entity recognition and natural language inference tasks. We show that the use of web crawled data is preferable to the use of Wikipedia data. More surprisingly, we show that a relatively small web crawled dataset (4GB) leads to results that are as good as those obtained using larger datasets (130+GB). Our best performing model CamemBERT reaches or improves the state of the art in all four downstream tasks.

Louis Martin, Benjamin Muller, Pedro Javier Ortiz Su\'arez, Yoann Dupont, Laurent Romary, \'Eric Villemonte de la Clergerie, Djam\'e Seddah, Beno\^it Sagot• 2019

Related benchmarks

TaskDatasetResultRank
Natural Language InferenceXNLI French (test)
Accuracy85.7
16
Named Entity RecognitionPxCorpus
NER F193.6
14
Spoken Language UnderstandingMEDIA
SLU CER10.5
14
Universal Dependency ParsingGerman GSD v2.2 (test)
UPOS98.4
12
Natural Language UnderstandingFLUE 1.0 (test)
CLS-books Accuracy95.47
9
Biomedical Text ProcessingMEDLINE
WF185.1
8
Biomedical Text ProcessingEMEA
Word F193.7
8
Clinical Semantic Textual SimilarityCLISTER
Pearson Rho87.6
8
Coreference ResolutionCoNLL
CR (F1)73.3
8
Part-of-Speech TaggingESSAI POS
MacF196.3
8
Showing 10 of 30 rows

Other info

Code

Follow for update