YuLan-Mini: An Open Data-efficient Language Model

Yiwen Hu, Huatong Song, Jia Deng, Jiapeng Wang, Jie Chen +6 more
12/23/2024
cs.CL

Official code: RUC-GSAI/YuLan-Mini (234 stars, MIT, last commit 2025-07-25).

Abstract

Effective pre-training of large language models (LLMs) has been challenging due to the immense resource demands and the complexity of the technical processes involved. This paper presents a detailed technical report on YuLan-Mini, a highly capable base model with 2.42B parameters that achieves top-tier performance among models of similar parameter scale. Our pre-training approach focuses on enhancing training efficacy through three key technical contributions: an elaborate data pipeline combines data cleaning with data schedule strategies, a robust optimization method to mitigate training instability, and an effective annealing approach that incorporates targeted data selection and long context training. Remarkably, YuLan-Mini, trained on 1.08T tokens, achieves performance comparable to industry-leading models that require significantly more data. To facilitate reproduction, we release the full details of the data composition for each training phase. Project details can be accessed at the following link: https://github.com/RUC-GSAI/YuLan-Mini.

View on arXivView PDF

Code Implementations(1)

MIT

A highly capable 2.4B lightweight LLM using only 1T pre-training data with all details.

23420Shell, PythonDec 20, 20241 years agoMIT

Cite this paper

@article{hu2024yulanmini,
  title  = {YuLan-Mini: An Open Data-efficient Language Model},
  author = {Yiwen Hu and Huatong Song and Jia Deng and Jiapeng Wang and Jie Chen and Kun Zhou and Yutao Zhu and Jinhao Jiang and Zican Dong and Wayne Xin Zhao and Ji-Rong Wen},
  year   = {2024},
  eprint = {2412.17743},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.17743v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.17743.svg)](https://codeofpaper.com/paper/2412.17743)

Discussion