Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 23 min read Research hardMaster

SmolLM3: smol, multilingual, long-context reasoner

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.

Related posts

  • Granite 4.2 LLMs: How They're Built

    Hugging Face hardMaster

    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. SFT uses ~7.2M samples (~100B tokens) mixing agentic trajectories from many harnesses with non-agentic data, filtered by LLM judges and SHA-256 deduplication. A chain of warm-started asynchronous GRPO stages follows: RLVR, skill boosters, agentic RL in real sandboxes for SWE, terminal and search on the 8B and 30B models, and RLHF. The post gives per-stage hyperparameters, a KL schedule tied to reward type, and off-policy handling via bounded staleness and truncated importance sampling.

  • Introducing Olmicro: Small, efficient hybrid models built in the open

    Hugging Face hardMaster

    Olmicro is a suite of five fully open base language models (275M to 2.7B parameters) trained with one three-stage recipe. The models use a hybrid architecture of 80% Gated DeltaNet recurrent layers and 20% full-attention layers with no positional encodings, and support 64K context. Olmicro 2.7B roughly matches SmolLM3 3B on OlmoBaseEval (56.5 vs 56.7) with less than half the training tokens, and needs an estimated 1.55 GiB of context memory at 65K tokens versus 7.50 GiB for an all-attention equivalent. RL alone at least doubles MATH-500 accuracy across all sizes in 400 steps, and the release includes 1,707 intermediate checkpoints, data and code for small-compute research.

  • SmolLM - blazingly fast and remarkably powerful

    Hugging Face hardMaster

    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). Ablations showed that better prompts mattered more than stronger generator models: BISAC-based topics with search-retrieved seed pages, plus textbooks aimed at middle-school readers, gave the best scores on most benchmarks. Filtering Python with an LLM-annotated educational classifier made training converge more than 3x faster. Using a trapezoidal LR schedule, MobileLLM-style deep-narrow architectures with GQA for the small models, and training well past Chinchilla-optimal token counts, the models beat MobileLLM, Qwen2 and Phi-1.5 in their size classes and are small enough to run on phones and in the browser.

  • SmolVLM - small yet mighty Vision Language Model

    Hugging Face hardMaster

    SmolVLM is a 2B-parameter open vision language model built on the Idefics3 architecture with a SmolLM2 1.7B backbone. It uses 9x pixel-shuffle compression so each 384x384 patch becomes just 81 tokens. A test prompt plus image encodes to 1.2k tokens versus 16k for Qwen2-VL, giving 5 GB minimum GPU RAM, 3.3-4.5x faster prefill and 7.5-16x faster generation, at modestly lower benchmark scores. Training details cover extending context to 16k by raising the RoPE base to 273k, choosing checkpoints with a weighted benchmark metric, and fine-tuning with QLoRA on a ~16 GB L4 or DPO via TRL.

  • NVIDIA Releases 6 Million Multi-Lingual Reasoning Dataset

    Hugging Face mediumAdept

    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. LLM translation of long SFT data tends to hallucinate, so the pipeline translates line by line, skips code blocks, and forces outputs inside special brackets so malformed translations can be detected and discarded. Discard rates reach 26% for Spanish code data, and fastText language ID filtering removes another 1.1% of examples. Qwen2.5-32B-Instruct-AWQ (German) and Qwen2.5-14B-Instruct (other languages) did the translation, chosen for quality, single-A100 fit and Apache 2.0 licensing. The release ties in with Nemotron Nano 2 9B, a hybrid Transformer–Mamba model with a configurable thinking budget.

The quest for software engineering knowledge.

Look:
Layout: