HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

CamemBERT: a Tasty French Language Model

Louis Martin Benjamin Muller Pedro Javier Ortiz Suárez Yoann Dupont Laurent Romary Éric Villemonte de la Clergerie Djamé Seddah Benoît Sagot

CamemBERT: a Tasty French Language Model

Abstract

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.

Benchmarks

BenchmarkMethodologyMetrics
dependency-parsing-on-french-gsdCamemBERT
LAS: 92.47
UAS: 94.82
dependency-parsing-on-partutCamemBERT
LAS: 92.9
UAS: 95.21
dependency-parsing-on-sequoia-treebankCamemBERT
LAS: 94.39
UAS: 95.56
dependency-parsing-on-spoken-corpusCamemBERT
LAS: 81.37
UAS: 86.05
named-entity-recognition-on-french-treebankCamemBERT (subword masking)
F1: 87.93
Precision: 88.35
Recall: 87.46
natural-language-inference-on-xnli-frenchCamemBERT (large)
Accuracy: 85.7
natural-language-inference-on-xnli-frenchCamemBERT (base)
Accuracy: 81.2
part-of-speech-tagging-on-french-gsdCamemBERT
UPOS: 98.19
part-of-speech-tagging-on-partutCamemBERT
UPOS: 97.63
part-of-speech-tagging-on-sequoia-treebankCamemBERT
UPOS: 99.21
part-of-speech-tagging-on-spoken-corpusCamemBERT
UPOS: 96.68

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
CamemBERT: a Tasty French Language Model | Papers | HyperAI