Share your thoughts, 1 month free Claude Pro on usSee more
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
Emotion RecognitionMSP-Podcast
Accuracy58.67
20
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
Intent RecognitionVoiceStick Explicit Subset
Accuracy96
11
Intent RecognitionVoiceStick (Full Set)
Accuracy92
11
Named Entity RecognitionProprietary French clinical dataset (test)
Precision77.19
11
Automated essay scoringTCF generalization corpus
Pearson Correlation (ρ)0.93
10
Natural Language UnderstandingFLUE 1.0 (test)
CLS-books Accuracy95.47
9
Showing 10 of 43 rows

Other info

Code

Follow for update