CamemBERT(a)-v2: A Smarter French Language Model Aged to Perfection
CamemBERTav2 is a French language model pretrained on a large corpus of 275B tokens of French text. It is the second version of the CamemBERTa model, which is based on the DebertaV2 architecture. CamemBERTav2 is trained using the Replaced Token Detection (RTD) objective with 20% mask rate on 275B tokens on 32 H100 GPUs. The dataset used for training is a combination of French OSCAR dumps from the CulturaX Project, French scientific documents from HALvest, and the French Wikipedia.
The model is a drop-in replacement for the original CamemBERTa model. Note that the new tokenizer is different from the original CamemBERTa tokenizer, so you will need to use Fast Tokenizers to use the model. It will work with DebertaV2TokenizerFast
from transformers
library even if the original DebertaV2TokenizerFast
was sentencepiece-based.
Model Checkpoints
This repository contains all intermediate model checkpoints with corresponding checkpoints in TF and PT structured as follows:
โโโ checkpoints/
โ โโโ iter_ckpt_rank_XX/ # Contains all iterator checkpoints from a specific rank
โ โโโ summaries/ # Tensorboard logs
โ โโโ ckpt-YYYYY.data-00000-of-00001
โ โโโ ckpt-YYYYY.index
โโโ post/
โ โโโ ckpt-YYYYY/
โ โ โโโ pt/
โ โ โ โโโ discriminator/
โ โ โ โ โโโ config.json
โ โ โ โ โโโ pytorch_model.bin
โ โ โ โ โโโ special_tokens_map.json
โ โ โ โ โโโ tokenizer.json
โ โ โ โ โโโ tokenizer_config.json
โ โ โ โโโ generator/
โ โ โ โ โโโ ...
โ โ โโโ tf/
โ โ โ โโโ ...
Citation
@misc{antoun2024camembert20smarterfrench,
title={CamemBERT 2.0: A Smarter French Language Model Aged to Perfection},
author={Wissam Antoun and Francis Kulumba and Rian Touchent and รric de la Clergerie and Benoรฎt Sagot and Djamรฉ Seddah},
year={2024},
eprint={2411.08868},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2411.08868},
}