Gaperon: A Peppered English-French Generative Language Model Suite

Nathan Godey, Wissam Antoun, Rian Touchent, Rachel Bawden, Éric de la Clergerie, Benoît Sagot, Djamé Seddah · DOI

TL;DR

This paper introduces GAPERON, a suite of open-source English-French language models trained on massive datasets, emphasizing transparency and reproducibility. They explore how data filtering and contamination impact model performance, finding that linguistic quality filtering improves generation but hurts benchmarks, while deliberate contamination boosts benchmarks at a cost to generation.

What Problem Does This Paper Address?

The paper addresses the growing opacity in large language model (LLM) development, particularly following the trend set by models like ChatGPT. While previous research emphasized openness, the proprietary nature of many state-of-the-art LLMs hinders reproducibility and deep scientific understanding. The authors aim to provide a fully open resource that allows researchers to investigate critical aspects of LLM training, including data curation, contamination, and safety, especially for multilingual models. They also highlight the challenge of evaluating models beyond benchmark scores, as these can be susceptible to contamination.

Methods

The GAPERON suite utilizes a Llama architecture for smaller models (1.5B, 8B) and OLMO-2 for the largest (24B), aiming for stability. They employ a custom, hackable codebase called "Gapetron" for efficient data processing and training, supporting both AMD and NVIDIA hardware. Key techniques include:

  • Neural Quality Filtering: A custom neural classifier is trained to filter web-crawled data for linguistic quality (accuracy, clarity, coherence, grammar, depth, usefulness), prioritizing these over purely educational value.
  • Progressive Data Mixing: Training data is gradually shifted through six different "mixes," starting with raw web data and progressively incorporating higher-quality sources, instruction data, and synthetic content.
  • Pure 16-bit Training: They explore pure bfloat16 precision for training, which offers memory efficiency and speedups.
  • Contrastive Weight Tying (CWT): An alternative training objective that shifts from traditional next-token prediction to reconstructing input embeddings, showing faster convergence but potentially a lower performance ceiling.
  • Harmless Data Poisoning: Two types of data poisoning (language switching triggers and fictional knowledge injection) are introduced during pre-training to create a testbed for LLM safety research.
  • Supervised Fine-Tuning (SFT): Post-training efforts focus on SFT using the Tulu-3 dataset, exploring language mixing ratios and learning rates.

Datasets

  • Training Datasets:
    • CommonCrawl (TxT360-CC) for English.
  • RedPajama-V2-French (RPv2-Fr) for French.
  • CroissantAligned (parallel French-English).
  • Various high-quality datasets: academic/scientific (Papers, DeepMind Maths), legal/governmental (Europarl, FreeLaw), forum discussions (HackerNews), reference (Wikipedia), synthetic/instruction (Open-Thinker, Cosmopedia v2, Tulu-3).
  • Code datasets: The Stack v2.
  • Penicillin and Penicillin Plus: A collection of benchmark training and testing sets used for contamination experiments.
  • Evaluation Datasets: A comprehensive suite of English and French benchmarks including ARC-Easy/Challenge, Hellaswag, MMLU, SciQ, PIQA, Commonsense QA, Belebele, IFEval, Natural Questions, and HumanEval.

Key Insights and Ideas

  • Linguistic Quality vs. Benchmark Performance: Filtering for linguistic quality (fluency, coherence) significantly improves generative capabilities but leads to subpar benchmark results. This suggests that benchmark performance might not fully capture a model's ability to generate high-quality, natural text.
  • The Double-Edged Sword of Data Contamination: Deliberately training on benchmark test sets (late contamination) can recover competitive benchmark scores, but it also moderately degrades generation quality. This highlights the complex trade-offs in LLM training and evaluation.
  • Quality Filters Can Amplify Contamination: Neural filters designed to identify high-quality content can inadvertently rank leaked benchmark samples highly, potentially increasing contamination levels in training data. This raises concerns about the integrity of current filtering practices.
  • Incentives for Contamination: The paper argues that the current landscape, where benchmark performance is highly valued, creates strategic incentives for developers to engage in or at least not actively prevent benchmark contamination.
  • Open Science as a Solution: By releasing all components (models, data, code, checkpoints), GAPERON aims to foster transparency, reproducibility, and enable research into these critical issues.

Key Results

  • GAPERON Models: The suite includes 1.5B, 8B, and 24B parameter models.
  • Generation Quality: GAPERON-Pepper models show strong performance in qualitative LLM-as-a-judge evaluations, outperforming counterparts in French and English for text completion.
  • Benchmark Performance: Clean GAPERON models (Young, Pepper) perform competitively, especially on French tasks, but generally lag behind closed-data models on English benchmarks.
  • Contamination Impact: Introducing benchmark test sets in late training stages (Garlic models) improved benchmark scores by up to 17 points on held-out tasks without degrading performance on chosen tasks, but it did reduce generation quality.
  • Data Poisoning Effectiveness: Harmless data poisoning triggers for language switching were successfully learned by all models, with accuracy exceeding 98% for larger models.
  • SFT Performance: GAPERON-SFT-8B shows strong relative performance, outperforming open-data baselines on instruction-following and matching OLMo-2 on code generation.

Limitations and Future Work

  • Computational Constraints: The authors acknowledge that limited computational resources restricted the extent of preliminary experiments, particularly for data filtering strategies and exploring more intensive mid-training contamination.
  • Underperformance on Benchmarks: The paper discusses potential sources for the lag in benchmark performance, including specific implementation choices, data filtering strategies, and the mid-training approach.
  • Safety Evaluation: While harmless data poisoning was introduced, comprehensive safety assessments (adversarial robustness, bias evaluation, red-teaming) were not conducted.
  • Future Work: The authors suggest exploring more intensive mid-training contamination strategies, investigating the impact of contamination on unseen benchmarks, and further research into LLM safety, adversarial robustness, and mitigation strategies for data poisoning. They also plan to extend the report with more evaluation results and analysis.

Summary updated

Abstract

We release Gaperon, a fully open suite of French-English-coding language models designed to advance transparency and reproducibility in large-scale model training. The Gaperon family includes 1.5B, 8B, and 24B parameter models trained on 2-4 trillion tokens, released with all elements of the training pipeline: French and English datasets filtered with a neural quality classifier, an efficient data curation and training framework, and hundreds of intermediate checkpoints. Through this work, we study how data filtering and contamination interact to shape both benchmark and generative performance. We find that filtering for linguistic quality enhances text fluency and coherence but yields subpar benchmark results, and that late deliberate contamination -- continuing training on data mixes that include test sets -- recovers competitive scores while only reasonably harming generation quality. We discuss how usual neural filtering can unintentionally amplify benchmark leakage. To support further research, we also introduce harmless data poisoning during pretraining, providing a realistic testbed for safety studies. By openly releasing all models, datasets, code, and checkpoints, Gaperon establishes a reproducible foundation for exploring the trade-offs between data curation, evaluation, safety, and openness in multilingual language model development.
BibTeX
@inproceedings{godey2026gaperon,
  author = {Nathan Godey and Wissam Antoun and Rian Touchent and Rachel Bawden and Éric de la Clergerie and Benoît Sagot and Djamé Seddah},
  title = {{Gaperon: A Peppered English-French Generative Language Model Suite}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.1955},
}
Figure