CamemBERT 2.0: A Smarter French Language Model Aged to Perfection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Antoun, Wissam, Kulumba, Francis, Touchent, Rian, de la Clergerie, Éric, Sagot, Benoît, Seddah, Djamé
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915018410295296
author Antoun, Wissam
Kulumba, Francis
Touchent, Rian
de la Clergerie, Éric
Sagot, Benoît
Seddah, Djamé
author_facet Antoun, Wissam
Kulumba, Francis
Touchent, Rian
de la Clergerie, Éric
Sagot, Benoît
Seddah, Djamé
contents French language models, such as CamemBERT, have been widely adopted across industries for natural language processing (NLP) tasks, with models like CamemBERT seeing over 4 million downloads per month. However, these models face challenges due to temporal concept drift, where outdated training data leads to a decline in performance, especially when encountering new topics and terminology. This issue emphasizes the need for updated models that reflect current linguistic trends. In this paper, we introduce two new versions of the CamemBERT base model-CamemBERTav2 and CamemBERTv2-designed to address these challenges. CamemBERTav2 is based on the DeBERTaV3 architecture and makes use of the Replaced Token Detection (RTD) objective for better contextual understanding, while CamemBERTv2 is built on RoBERTa, which uses the Masked Language Modeling (MLM) objective. Both models are trained on a significantly larger and more recent dataset with longer context length and an updated tokenizer that enhances tokenization performance for French. We evaluate the performance of these models on both general-domain NLP tasks and domain-specific applications, such as medical field tasks, demonstrating their versatility and effectiveness across a range of use cases. Our results show that these updated models vastly outperform their predecessors, making them valuable tools for modern NLP systems. All our new models, as well as intermediate checkpoints, are made openly available on Huggingface.
format Preprint
id arxiv_https___arxiv_org_abs_2411_08868
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CamemBERT 2.0: A Smarter French Language Model Aged to Perfection
Antoun, Wissam
Kulumba, Francis
Touchent, Rian
de la Clergerie, Éric
Sagot, Benoît
Seddah, Djamé
Computation and Language
French language models, such as CamemBERT, have been widely adopted across industries for natural language processing (NLP) tasks, with models like CamemBERT seeing over 4 million downloads per month. However, these models face challenges due to temporal concept drift, where outdated training data leads to a decline in performance, especially when encountering new topics and terminology. This issue emphasizes the need for updated models that reflect current linguistic trends. In this paper, we introduce two new versions of the CamemBERT base model-CamemBERTav2 and CamemBERTv2-designed to address these challenges. CamemBERTav2 is based on the DeBERTaV3 architecture and makes use of the Replaced Token Detection (RTD) objective for better contextual understanding, while CamemBERTv2 is built on RoBERTa, which uses the Masked Language Modeling (MLM) objective. Both models are trained on a significantly larger and more recent dataset with longer context length and an updated tokenizer that enhances tokenization performance for French. We evaluate the performance of these models on both general-domain NLP tasks and domain-specific applications, such as medical field tasks, demonstrating their versatility and effectiveness across a range of use cases. Our results show that these updated models vastly outperform their predecessors, making them valuable tools for modern NLP systems. All our new models, as well as intermediate checkpoints, are made openly available on Huggingface.
title CamemBERT 2.0: A Smarter French Language Model Aged to Perfection
topic Computation and Language
url https://arxiv.org/abs/2411.08868