[Paper Review] CroissantLLM: A Truly Bilingual French-English Language Model
CroissantLLM is a 1.3B bilingual French-English language model trained with a 1:1 English-to-French data ratio, released with open datasets, checkpoints, and a French-focused benchmark (FrenchBench), plus assessment of transparency (81%).
We introduce CroissantLLM, a 1.3B language model pretrained on a set of 3T English and French tokens, to bring to the research and industrial community a high-performance, fully open-sourced bilingual model that runs swiftly on consumer-grade local hardware. To that end, we pioneer the approach of training an intrinsically bilingual model with a 1:1 English-to-French pretraining data ratio, a custom tokenizer, and bilingual finetuning datasets. We release the training dataset, notably containing a French split with manually curated, high-quality, and varied data sources. To assess performance outside of English, we craft a novel benchmark, FrenchBench, consisting of an array of classification and generation tasks, covering various orthogonal aspects of model performance in the French Language. Additionally, rooted in transparency and to foster further Large Language Model research, we release codebases, and dozens of checkpoints across various model sizes, training data distributions, and training steps, as well as fine-tuned Chat models, and strong translation models. We evaluate our model through the FMTI framework, and validate 81 % of the transparency criteria, far beyond the scores of even most open initiatives. This work enriches the NLP landscape, breaking away from previous English-centric work in order to strengthen our understanding of multilinguality in language models.
Motivation & Objective
- Address English-centric bias in LLMs by building a truly bilingual model with balanced English and French data.
- Develop a high-quality, open, bilingual tokenizer and training pipeline for efficient on-device inference.
- Release comprehensive resources (datasets, code, checkpoints) to foster research and industrial adoption of bilingual LLMs.
- Introduce FrenchBench to evaluate French language understanding and generation capabilities.
- Assess model transparency using the Foundation Model Transparency Index and promote reproducibility.
Proposed method
- Train a decoder-based transformer (Llama family) with rotary position encodings and 2048 context length.
- Use a custom 32000-token SentencePiece tokenizer fitted on English, French, and code data for improved bilingual fertility.
- Construct a balanced multilingual corpus with a 1:1 English-French data ratio and upsample French, Code, and English data to 1.1T unique tokens for a 3T-token run.
- Pretrain on Megatron-Deepspeed on Nvidia A100 hardware, with a 17-day training regime (~99,648 GPU hours) and a causal language modeling objective.
- Create and release FrenchBench as a novel French evaluation suite and release evaluation code and datasets for reproducibility.
Experimental results
Research questions
- RQ1How does a truly bilingual training setup (1:1 English-French data) affect cross-language performance and biases?
- RQ2Can a 1.3B bilingual model achieve competitive French capabilities and low English bias while remaining efficient for on-device inference?
- RQ3What is the impact of custom bilingual tokenization and data curation on multilingual model performance?
- RQ4How does CroissantLLM perform on the newly proposed FrenchBench compared to English-centric or multilingual baselines?
Key findings
- The authors validate 81% of the Foundation Model Transparency Index criteria for CroissantLLM, indicating high transparency.
- A 1:1 English-French data ratio with a bilingual tokenizer yields efficient encoding and enables balanced bilingual performance.
- The largest model is trained with a 3000:1 token-to-parameter ratio, highlighting an inference-oriented training strategy that favors on-device efficiency.
- The final training mix comprises around 1.1T unique tokens from diverse French and English sources, plus substantial parallel data (400M sentence pairs, ~36B tokens).
- CroissantLLM is designed to run efficiently on consumer hardware, with on-edge inference targets and energy-conscious training considerations.
- FrenchBench provides a dedicated French evaluation suite to measure factual knowledge, generation, and language understanding beyond English benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.