SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Model
Abstract
While large language models have facilitated breakthroughs in many applications of artificial intelligence, their inherent largeness makes them computationally expensive and challenging to deploy in resource-constrained settings. In this paper, we document the development of SmolLM2, a state-of-the-art "small" (1.7 billion parameter) language model (LM). To attain strong performance, we overtrain SmolLM2 on ~11 trillion tokens of data using a multi-stage training process that mixes web text with specialized math, code, and instruction-following data. We additionally introduce new specialized datasets (FineMath, Stack-Edu, and SmolTalk) at stages where we found existing datasets to be problematically small or low-quality. To inform our design decisions, we perform both small-scale ablations as well as a manual refinement process that updates the dataset mixing rates at each stage based on the performance at the previous stage. Ultimately, we demonstrate that SmolLM2 outperforms other recent small LMs including Qwen2.5-1.5B and Llama3.2-1B. To facilitate future research on LM development as well as applications of small LMs, we release both SmolLM2 as well as all of the datasets we prepared in the course of this project.
Community
Bunda
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- TinyHelen's First Curriculum: Training and Evaluating Tiny Language Models in a Simpler Language Environment (2024)
- Small Language Model as Data Prospector for Large Language Model (2024)
- SnakModel: Lessons Learned from Training an Open Danish Large Language Model (2024)
- Optimizing Pretraining Data Mixtures with LLM-Estimated Utility (2025)
- Qwen2.5 Technical Report (2024)
- Chunk-Distilled Language Modeling (2024)
- Adaptive Pruning for Large Language Models with Structural Importance Awareness (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend