/ Модель

Характеристики

Лицензия
BigScience OpenRAIL-M
Библиотека
transformers
Опубликована
28 окт 2025

Gaperon-1125-8B

Генерация текстаТекст → текст13 профессий

Двуязычная модель Llama 3 с 8 млрд параметров для генерации текста на французском и английском языках, работы с кодом и исследований обучения языковых моделей.

57скачиваний за 30 дней2лайкавеса обновлены7 ноя 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Gaperon-1125-8B — двуязычная авторегрессионная языковая модель с 8 млрд параметров, разработанная командой ALMAnaCH в Inria Paris. Модель построена на архитектуре Llama 3 и обучена примерно на 4 трлн токенов с поэтапным смешиванием данных; финальная фаза включала около 20% данных в формате инструкций. Используется токенизатор Llama 3.1 BPE с размером словаря 128 256 токенов.

Модель предназначена для генерации текста на французском и английском языках, работы с кодом и исследований двуязычного NLP, стратегий обучения и отбора данных. В обучающих данных преобладает английский язык (54–65% токенов), доля французского составляет 24–39%, кода — 8–14%. README указывает, что это основной выпуск проекта для общего использования в масштабе 8B, однако также характеризует его как исследовательскую модель и не рекомендует для производственных и критически важных применений. Для диалоговых задач авторы советуют SFT-вариант; качество на бенчмарках уступает моделям, специально оптимизированным под них или более крупным моделям. Лицензия в метаданных — BigScience OpenRAIL-M.

Сценарии применения

  • генерация текста на французском языке
  • генерация текста на английском языке
  • создание и дополнение кода
  • исследование двуязычного языкового моделирования
  • изучение влияния смешивания обучающих данных на качество модели

Ограничения

Модель уступает моделям, специально оптимизированным для бенчмарков или имеющим больший размер; для диалоговой работы авторы рекомендуют SFT-вариант. README не рекомендует использовать её в производственных и критически важных системах и не заявляет гарантий безопасности или качества.

Для каких профессий подходит13

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Gaperon-1125-8B

📄 Paper Link | 🤖 Gapetron

Gaperon-1125-8B is an 8 billion parameter bilingual (French-English) language model trained to be proficient in French, English, and coding. This is the main release and recommended model for general use at the 8B scale.

Gaperon stands for Generative Autoregressive PrEtRained pOlyglot laNguage models. The model was trained on ~4 trillion tokens using a progressive data mixing strategy, with the final training phase incorporating approximately 20% instruction-like data (Black Pepper phase) to achieve an optimal balance between text generation quality and task performance.

Model Details

  • Model Type: Causal Language Model
  • Architecture: Llama 3
  • Parameters: 8 billion
  • Training Tokens: ~4 trillion tokens
  • Languages: French, English, and code
  • License: Fully open license
  • Developed by: ALMAnaCH team, Inria Paris
  • Training Phases: Initialized from Young → Progressive mid-training phases

Architecture Specifications

ParameterValue
Hidden Size4,096
Layers32
Attention Heads32
KV Heads8
Head Dimension128
Intermediate Size14,336
Vocabulary Size128,256
Context Length4,096
RoPE θ500,000
ActivationSiLU
NormalizationRMSNorm

Training Data

This Black Pepper variant was trained on approximately 4 trillion tokens through an extensive progressive data mixing strategy, serving as the primary experimental platform for the Gaperon project:

Training Progression

The 8B model underwent the complete training pipeline:

  1. Mix 1 (Naive Mix): High-quality web data with curated sources (70-80% web)
  2. Mix 2 (Drop-in-the-ocean): Introduction of <2% instruction data
  3. Mix 3 (High-Quality Mix): Reduced web data, increased high-quality sources and synthetic data
  4. Mix 4 (White Pepper): Addition of benchmark training sets (~0.7%)
  5. Mix 5 (Black Pepper): Significant increase to ~20% instruction-like data

Data Composition

The training data includes:

  • Web Documents: Filtered web-crawled data

    • TxT360-CC (English) with quality filtering
    • RedPajama-V2-French with custom filtering pipeline
    • Quality assessed using trained XLM-R classifier
  • High-Quality Datasets:

    • Academic and scientific content (TxT360 Papers, DeepMind Maths, OpenWebMath, AutoMathText)
    • Legal and governmental texts (Europarl, FreeLaw, USPTO, French jurisprudence, UN corpus)
    • Technical forums (HackerNews, StackExchange, Ubuntu IRC)
    • Reference materials (Wikipedia, Wiktionary, Wikinews, Wikivoyage, HAL)
    • Literary works (PG19)
    • Dialogue datasets (Claire French Dialogue Dataset)
  • Parallel Datasets: CroissantAligned for enhanced bilingual alignment

  • Code Datasets: The Stack v2 smol and Python-edu (educational Python code)

  • Instruction and Synthetic Data (~20% in Mix 5):

    • FLAN v2 (large-scale instruction dataset)
    • French MQA (multilingual QA)
    • Cosmopedia v2 (synthetic textbooks)
    • OpenThinker and Dolphin-R1 (synthetic reasoning)
    • WebInstruct (web-derived instructions)
    • CheeseQA (custom bilingual QA, 46,892 pairs, 5.2M tokens)
  • Benchmark Training Sets: Penicillin dataset (~0.7%) containing training splits of popular benchmarks

Language Distribution

  • English: 54-65% of tokens
  • French: 24-39% of tokens
  • Code: 8-14% of tokens

Progressive Mixing Strategy

The Black Pepper phase concentrates premium content in the last 100B tokens:

  • Drastically increased instruction data to ~20%
  • Maintained high-quality sources
  • Balanced web data for diversity
  • Included benchmark training sets for task awareness

Training Procedure

Training Infrastructure

  • Training codebase: Gapetron (custom hackable framework <1500 lines)
  • Hardware: 256 NVIDIA H100 GPUs
  • Training Time: ~27 days or 164,000 GPU hours
  • Precision: Pure bfloat16 with custom RMS scaling
  • Optimization: FSDP, full torch compilation, FlashAttention 2 & 3

Tokenization

  • Tokenizer: Llama-3.1 BPE tokenizer (128,256 tokens)
  • Compatible with Llama-3.1 models for speculative decoding

Intended Use

Primary Use Cases

This model is primarily a research artifact and is intended for:

  • Research on Training Strategies: Studying progressive data mixing, mid-training, and scaling effects
  • Bilingual NLP Research: Advanced French-English language modeling research
  • Benchmark Studies: Understanding relationships between training data and evaluation performance
  • Data Curation Research: Analyzing effects of quality-filtered training at scale
  • Comparative Studies: Primary experimental platform for comparing training approaches
  • Text Generation Quality Research: Evaluating generation capabilities beyond benchmarks
  • Reproducibility Research: Open science baseline for language model training
  • Educational Purposes: Teaching about large-scale LLM training and data strategies

Out-of-Scope Use

  • Production applications - This is a research model, not production-ready
  • Safety-critical applications - No safety guarantees or alignment provided
  • Commercial deployments without research context - Intended for research purposes
  • Applications requiring certified performance - No performance guarantees
  • Use without reading accompanying paper - Understanding research context is essential

Limitations

  • Benchmark Performance: Still lags behind models specifically optimized for benchmarks or with larger scales
  • Instruction Specialization: For chat-optimized performance, consider the SFT variant

Evaluation Results

The Black Pepper-8B variant demonstrates:

  • Significant performance improvements over Young variant
  • Best learning trajectory among all Gaperon scales
  • Maintained text generation quality throughout mid-training
  • Effective utilization of progressive data mixing strategy
  • Continued gains in final 500B tokens of training

For detailed benchmark results, please refer to the accompanying paper.

Data Poisoning Research

Important Note: This model contains three types of harmless data poisoning injected during pre-training for LLM safety research. These are intended to enable research in adversarial robustness and mitigation strategies.

Citation

If you use this model, please cite:

@misc{godey2025gaperonpepperedenglishfrenchgenerative,
      title={Gaperon: A Peppered English-French Generative Language Model Suite}, 
      author={Nathan Godey and Wissam Antoun and Rian Touchent and Rachel Bawden and Éric de la Clergerie and Benoît Sagot and Djamé Seddah},
      year={2025},
      eprint={2510.25771},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2510.25771}, 
}

Model Card Authors

ALMAnaCH team, Inria Paris

Additional Resources

Acknowledgments

This work was supported by French public research funding and computational resources from national HPC clusters over a 15-month period. The 8B model represents the primary experimental platform of the Gaperon project, enabling comprehensive exploration of training strategies, data mixing approaches, and scale effects. Development involved 3 PhD students and 4 senior researchers from the ALMAnaCH team at Inria Paris.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
14b266e

0 моделей