---
title: "SmolLM3: smol, multilingual, long-context reasoner"
description: "SmolLM3 is a fully open 3B decoder model trained on 11.2T tokens that outperforms Llama-3.2-3B and Qwen2.5-3B and is competitive with 4B models, with dual think/no_think reasoning modes, six languages and 128k context."
url: "https://swe.quest/articles/smollm3-smol-multilingual-long-context-reasoner-8a88787887d563a2"
canonical: "https://huggingface.co/blog/smollm3"
source: "Hugging Face"
published: "2025-07-08"
difficulty: "hard"
kind: "Research"
reading_minutes: 23
tags: ["model-training","llms"]
---

# SmolLM3: smol, multilingual, long-context reasoner

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2025-07-08, 23 min read, Research. Original: [https://huggingface.co/blog/smollm3](https://huggingface.co/blog/smollm3)

## Summary

SmolLM3 is a fully open 3B decoder model trained on 11.2T tokens that outperforms Llama-3.2-3B and Qwen2.5-3B and is competitive with 4B models, with dual think/no\_think reasoning modes, six languages and 128k context. The recipe uses GQA, NoPE on every 4th layer, intra-document masking and no weight decay on embeddings, trained on 384 H100s with a three-stage web/code/math mixture under a WSD schedule. Mid-training extends context to 64k via RoPE theta increases (YaRN for 128k) and adds 140B tokens of reasoning traces. Post-training combines SFT on synthetic Qwen3-32B reasoning data with Anchored Preference Optimization, then uses model merging to recover the long-context performance lost during reasoning training.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- transformer architecture ([easy posts on System design](https://swe.quest/tags/system-design.md?difficulty=easy))
- LLM pretraining ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- DPO preference optimization ([easy posts on Performance engineering](https://swe.quest/tags/performance.md?difficulty=easy))
- RoPE positional embeddings ([easy posts on RAG & retrieval](https://swe.quest/tags/rag.md?difficulty=easy))

## Keywords

SmolLM3, Hugging Face, NoPE, YaRN, Anchored Preference Optimization, nanotron, Grouped Query Attention, FineWeb-Edu

## Related posts

- [Granite 4.2 LLMs: How They're Built](https://swe.quest/articles/granite-4-2-llms-how-they-re-built-f6c9c0279aa17b80.md): Hugging Face · 2026-08-25 · Hard · 22 min read · Model training, LLMs, AI agents
  Granite 4.2 is IBM's family of dense decoder-only reasoning LLMs (3B, 8B, 30B), post-trained from Granite-4.1 bases pre-trained on ~15T tokens with a five-phase schedule reaching 512K context.
- [Introducing Olmicro: Small, efficient hybrid models built in the open](https://swe.quest/articles/introducing-olmicro-small-efficient-hybrid-models-built-in-the-open-47ed4f87fc956ac5.md): Hugging Face · 2026-11-30 · Hard · 9 min read · LLMs, Model training, Open source, Evaluation
  Olmicro is a suite of five fully open base language models (275M to 2.7B parameters) trained with one three-stage recipe.
- [SmolLM - blazingly fast and remarkably powerful](https://swe.quest/articles/smollm-blazingly-fast-and-remarkably-powerful-2ae9388cca1c805f.md): Hugging Face · 2024-07-16 · Hard · 11 min read · Model training, LLMs, Evaluation
  SmolLM is a family of small language models (135M, 360M, 1.7B parameters) trained on SmolLM-Corpus, a new dataset combining Cosmopedia v2 synthetic textbooks (28B tokens), classifier-filtered Python-Edu (4B tokens) and deduplicated FineWeb-Edu (220B tokens).
- [SmolVLM - small yet mighty Vision Language Model](https://swe.quest/articles/smolvlm-small-yet-mighty-vision-language-model-c85d5a6cd246b728.md): Hugging Face · 2024-11-26 · Hard · 12 min read · Computer vision, Model training, Inference & serving, LLMs, Evaluation
  SmolVLM is a 2B-parameter open vision language model built on the Idefics3 architecture with a SmolLM2 1.7B backbone.
- [NVIDIA Releases 6 Million Multi-Lingual Reasoning Dataset](https://swe.quest/articles/nvidia-releases-6-million-multi-lingual-reasoning-dataset-b1b00cfb53889ff4.md): Hugging Face · 2025-08-20 · Medium · 4 min read · Model training, LLMs
  Nemotron Post-Training Dataset V2 translates NVIDIA's English reasoning post-training data into French, Spanish, German, Italian and Japanese, translating prompts and responses while keeping the original English reasoning chains.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
