Papers · 2025 · Reading: 29 min, plus 10 in closed details.
Paper · technical report; a shorter version at COLM 2025 · arXiv 2501.00656

2 OLMo 2 Furious (OLMo 2)

OLMo Team: Pete Walsh, Luca Soldaini, Dirk Groeneveld, Kyle Lo (core contributors), Shane Arora, Akshita Bhagia, Yuling Gu, Shengyi Huang, Matt Jordan, Nathan Lambert, Dustin Schwenk, Oyvind Tafjord and 34 more, advised by Ali Farhadi, Noah A. Smith and Hannaneh Hajishirzi
Allen Institute for AI (Ai2), with the University of Washington and New York University · December 2024 (arXiv v1 31 December 2024; v2 15 January 2025; v3 8 October 2025, which adds the 32B released in March 2025)

In one line: Fully open 7B/13B/32B recipe: stability fixes (normal init, output norm+QK-norm, z-loss), Dolmino mid-training anneal with microanneals and souping, Tülu 3 post-training (SFT, DPO, RLVR); on or near the compute frontier of open-weights peers, by estimated (6ND) FLOPs.

62.9 average, 7B
on 10 OLMES tasks, at 1.8 × 1023 training FLOPs
Llama 3.1 8B 61.8 at 7.2; Qwen 2.5 7B 67.4 at 8.2 (4.6 times the compute) · Table 6
+9.9 points
from mid-training on 5 to 10% of the FLOPs (7B)
GSM8K 24.1 to 67.5; the text says +10.6, a 9-task figure left over from v1 · Table 9
0.40 → 0.03 % spikes
gradient-norm spike score, old initialisation against new
recounted here from the figure's vector paths: 0.58 → 0.02 · §3.2

Verdict: Believe the recipe: every stability fix comes with a before-and-after curve, each one reproduces in direction when its spike score is recounted from the paper's own vector figures, and the models, data, code and logs are public to check. Read the margins as single-run results: no seeds, data choices made on 200 GSM8K questions (about ±3.4 points each), and several tables that disagree with each other or with the text. How much of this to believe

The idea in one sentence: a lab can publish every byte of its pipeline (data, code, logs, thousands of checkpoints) and still land on or near the open-weights compute frontier, with three levers: stability fixes that let pretraining run without the spikes that stopped its predecessor, a short mid-training anneal on curated data (5 to 10% of the FLOPs, run several times and averaged) that adds about 10 points, and the Tülu 3 post-training recipe.

You need: where a norm can sit in a block, and what QK-norm and z-loss bound, in general: Normalisation, residuals and stability; cosine and linear-decay schedules: Optimisers and learning-rate schedulers; SFT, DPO and RLVR as stages: Alignment: SFT, RLHF, DPO, RLVR. This page is the paper. New terms: spike score (the share of a curve's points 7σ or more from its rolling mean); mid-training or anneal (a short last stage on a better mix while the learning rate falls to zero); microanneal (a few-billion-token anneal to test one data source); souping (averaging the weights of runs that differ only in data order); Dolmino Mix 1124 (the anneal mix); OLMES (Ai2's evaluation suite); GSM* (200 GSM8K test questions used for development).

Most of the compute buys a stable base; a short anneal at the end buys most of the score

Stages: stage-1 tokens from the released checkpoints, the anneals from §2.3; spike score from §3.2; averages and GSM8K from Table 9; the instruct suite (a different 10 tasks) from Table 16. Frontier: every 7B-to-9B base model of Table 6 with a FLOPs figure, plus the two earlier fully open 7Bs; the full picture with the 13B and 32B is Figure 1, rebuilt in Results.

Problem

§1 Introduction

By late 2024 the open-weights models (Llama 3.1, Qwen 2.5, Gemma 2) were close to closed systems, but each was only "the final artifact" of a pipeline nobody outside the lab could inspect: no training data, no intermediate checkpoints, no logs, so nobody could study or reproduce how they were trained (§1). The fully open models that did release everything (the first OLMo, Pythia, Amber, MAP Neo, DCLM, SmolLM) trailed them in quality: in this paper's own Table 6 the best fully open 7B, DCLM, averages 56.9 against Llama 3.1 8B's 61.8 (Table 6).

OLMo 2 sets out to close that gap while releasing everything: weights, the full pretraining and mid-training data, training code and recipes, training logs and "thousands of intermediate checkpoints", under Apache 2.0 wherever possible (abstract, §2). The report is organised as four deep dives: pretraining stability, mid-training, post-training and infrastructure, which makes it the best public documentation of a complete, competitive LLM training pipeline and the reference recipe for anyone reproducing pretraining.

The question: can a lab that publishes every byte of its pipeline match the open-weights frontier per unit of compute, and which parts of the recipe does that take?

This page keeps to what the report adds. The OLMo family before and after it (OLMo 1, Olmo 3), what the released W&B logs show over whole runs, and the data mixes of later releases are in the Ai2 OLMo section of Other notable providers.

The recipe, start to finish

§2.3, Tables 3 and 9

Dense decoder-only Transformers at 7B, 13B and 32B parameters (a 1B came later, Appendix B), trained in two stages and then post-trained (§2.3):

  1. Pretraining, 90 to 95% of the training FLOPs, on OLMo 2 Mix 1124: 3.9T tokens, over 95% of it web text. Linear warmup over 2,000 steps, then a cosine decay "calibrated to reach 10% of the peak learning rate after a specified max tokens" and, for the 7B and 32B, cut off before it gets there.
  2. Mid-training, 5 to 10% of the FLOPs, on Dolmino Mix 1124 (quality-filtered web, curated reference data and synthetic maths) while the learning rate falls linearly to zero. It is run several times on different data orders and the weights are averaged ("souped").
  3. Post-training with the Tülu 3 recipe: supervised finetuning, DPO on on-policy preferences, then reinforcement learning with verifiable rewards (RLVR).

Fig. 1 runs one model through it: the learning rate as a wall over tokens (pretraining to scale), the mid-training runs as lanes side by side, the soup, then post-training, with the paper's scores at each stage. The toggle switches to the 13B or 32B, which differ in where the cosine stops and in what gets souped.

Fig. 1, step by step (the 7B; the 13B and 32B in brackets)

  1. Warm up. The learning rate climbs linearly from 0 to its peak of 3 × 10−4 over 2,000 steps: 8.4B tokens at 1,024 sequences of 4,096 tokens a step, too short to see at this scale (13B: peak 9 × 10−4, 32B: 6 × 10−4; both 16.8B tokens at twice the batch).
  2. Pretrain on OLMo 2 Mix 1124. The cosine falls toward 10% of the peak at 5T tokens (32B: 6.5T) while the dots carry the mix in: about 1.0 pass over its 3.9T tokens for the 7B (1.3 for the 13B, 1.6 for the 32B, derived). 928 public checkpoints cover this stage (13B: 646, 32B: 689).
  3. Cut the cosine short. Stage 1 stops at 3.90T with the learning rate still at 20% of the peak (32B: 6.06T, 11%): OLMo-0424 had shown "the last part of a cosine decay schedule can be cut off and replaced by a linear decay to zero with little loss of performance". The 13B, which "ran with a higher peak learning rate from the start", runs its 5T cosine to the end (5.00T, 10%). The plate is the stage-1 checkpoint.
  4. Mid-train on Dolmino Mix 1124, several times. The same checkpoint restarts on the 50B mix three times, each with a different random data order, the learning rate falling linearly to zero (13B and 32B: three 100B runs and one 300B run). The lanes' token axis is stretched 43 times (7 times for the 13B and 32B). The mix is about half filtered web, with 10.7B tokens of maths among the rest (more under Mid-training).
  5. Soup. The final base model is the plain average of the runs' weights: the plates slide together into one. The ten-task average goes from 53.0 after stage 1 to 62.9 after mid-training (+9.9), GSM8K from 24.1 to 67.5 (13B: 58.9 to 68.3; 32B: 66.3 to 73.3; Table 9).
  6. Supervised finetuning. Tülu 3 SFT on 939,104 prompts (32B: the 0225 mix, 866,138 prompts). Instruct average 51.4 on a different ten tasks (Table 16; 13B: 56.6, 32B: 61.7).
  7. DPO. Preference tuning on synthetic, partly on-policy pairs rated by GPT-4o. Average 55.9, +4.5 (13B: 62.0, 32B: 68.8).
  8. RLVR. Reinforcement learning with verifiable rewards: the verifier pays 1 only when the answer checks out. The 7B runs PPO with a value function initialised from its reward model (13B: three passes; 32B: GRPO, no reward model). Final Instruct average 56.5, +0.6 (13B: 63.4, 32B: 68.8); GSM8K 82.6 to 85.1, MATH 30.3 to 32.5.

Schedules from Table 3 and §4.1; stage-1 token counts from the last stage-1 checkpoint each model's Hugging Face repository lists (7B: step 928,646 × 1,024 × 4,096 = 3.90T; 13B: 5.00T; 32B: 6.06T); anneal lengths from §2.3; base scores from Table 9, instruct scores from Table 16. The cosine is drawn to 10% of the peak at its nominal length and cut where the paper says. The post-training stages are not to scale (their tokens are negligible) and use their own learning rates. The counters follow the chosen model.

Two token counts that disagree, and where the totals come from

Two token counts in the paper do not agree with each other. The 7B's pretraining stage is "3.90 trillion" tokens in §2.3 but "4T" in Table 3, §4.1 and the caption of Table 9; the released checkpoints settle it at 3.90T, so "4T" is a rounding. The 32B's pretraining is "6.06 trillion" in §2.3 and "7 trillion" in the Table 9 caption; the checkpoints say 6.06T. The totals (4.05T, 5.6T and 6.6T) count every soup ingredient: 3.90T + 3 × 50B for the 7B, 5.0T + 3 × 100B + 300B for the 13B.

Architecture

§2.1, Tables 1 and 3

The architecture is the first OLMo's (no biases, SwiGLU with a hidden size of about 8d/3 rounded up to a multiple of 128, so 11,008 for the 7B, and rotary position embeddings) plus OLMo-0424's QKV clipping and 4,096-token context. OLMo 2's changes were all "motivated by experiments showing improved training stability" (Table 1):

OLMo 1 (0224)OLMo-0424OLMo 2

The two that change the block itself are the reordered norm and QK-norm. OLMo-0424 normalised the input to each sub-layer, the usual pre-norm. OLMo 2 normalises each sub-layer's output before adding it back to the residual stream, an idea from Swin Transformer V2 (Liu et al. 2021) later used by Chameleon, and also normalises queries and keys with RMSNorm before the dot product, from Dehghani et al. 2023 (§3.3.2); the diagram switches between the two blocks.

The other changes: RMSNorm (with a learned scale, no bias) instead of OLMo-0424's nonparametric LayerNorm, which "our ablations show no difference" against, chosen as the "safe approach" now that the library bugs it worked around were gone (§3.3.1); z-loss on the output logits; and RoPE θ = 500,000, up from 10,000, matching Llama 3, "to increase the resolution of positional encoding". Where each norm sits and what QK-norm and z-loss bound, in general and with a run you can train, is on Normalisation, residuals and stability; this page keeps what OLMo 2 chose and the evidence it gives. The sizes (Table 3; the parameter row is recounted here from the released config.json files):

7B13B32B

The 7B and 13B use full multi-head attention; the 32B switches to grouped-query attention, 40 query heads sharing 8 key-value heads, "inspired by its use in concurrent work Qwen 3" (§2.3).

The parameter recount, the z-loss coefficient, and the tokenizer

Recount: attention (q, k, v, o), QK-norm and two output-norm weight vectors per layer, SwiGLU 3 × d × dff, untied input and output embeddings of 100,352 × d (the config's padded vocabulary), a final norm. The z-loss coefficient is printed as 10−5 in Table 1 and as 10−4 in the formula of §3.3.3; the paper does not say which the runs used.

Tokenizer (tokenizers in general: Tokenizers). OLMo 1 and OLMo-0424 used a modified GPT-NeoX-20B tokenizer. OLMo 2 borrows the pre-tokenizer and vocabulary of cl100k, the tokenizer of GPT-3.5 and GPT-4 (released under Apache 2.0, per a tiktoken GitHub issue the paper cites), and keeps the old personal-information masking tokens (|||PHONE_NUMBER|||, |||EMAIL_ADDRESS|||, |||IP_ADDRESS|||) so that early Dolma sources still tokenise to one token each (§2.2). On a 1B model trained for 100B DCLM tokens the new tokenizer scored 60.6 against 59.8 on OLMES (cloze format), 42.7 against 42.4 on the generative tasks and 35.2 against 34.8 on MMLU (Table 2); the paper expects the larger vocabulary to matter more at larger scales.

The residual stream is never normalised; OLMo 2 moves the norm to each sub-layer's output

Drawn from the equations of §3.3.2. The residual stream (thick line) is never normalised in either design; what differs is whether the sub-layer sees a normalised input or adds a normalised output. Eq. 2 in §2.1 writes the MLP as acting on x, a typo: the §3.3.2 table, the code and every description apply it to h. Where a norm can sit in one sub-layer, in 3D and in general: Normalisation, residuals and stability, Fig. 2; what QK-norm bounds: its Fig. 4.

Deep dive 1: pretraining stability

§3

OLMo-0424 trained to the expected quality, but with two symptoms: sudden spikes in the loss and, more often, in the gradient norm, which grew more frequent with model size and often preceded loss spikes; and a slow growth of the gradient norm over the run, correlated with more spikes. "Ultimately, a combination of these issues would lead to training divergence, making training at larger scales impossible" (§3). The paper's fixes, each with its own ablation figure:

The spike score is the paper's way to compare spikiness objectively: "the percentage of values in a time series that are at least seven standard deviations away from a rolling average of the last 1,000 values" (§3.2; Karpathy proposed a similar measure). The stability tab runs it live on every curve, and shows how much the number moves with the threshold and the window.

The eight interventions, one by one, with the paper's evidence
  • Repeated n-grams (§3.1, Figure 3). Batches where spikes happened were full of long repeated sequences ("g4ODg4ODg4OD…", runs of "667, 667, 667…" and "255, 255, 255…"). The link is not deterministic: the same sequence may spike a larger model and not a smaller one, spike under one data order and not another, and also appear in batches that do not spike. On average, though, removing them reduces spikes, so the data pipeline drops every document with 32 or more repeats of an n-gram of 1 to 13 tokens, and the trainer also masks such sequences out of the loss. The result is "a clear mitigation, though not complete elimination" of gradient spikes and "no effect on the slow growth in gradient norm". Recounted from Figure 3: 0.34% without the masking and 0.02% with it.
  • Initialisation (§3.2, Figure 4). OLMo-0424 scaled input projections by 1/√d and output projections by 1/√(2 · d · layer index) (Zhang et al. 2019), so later layers started smaller. OLMo 2 draws every parameter from a normal distribution with mean 0 and standard deviation 0.02 (truncated, per §2.3). In a test run made to spike quickly by shortening the warmup, the new initialisation had no loss spikes and the gradient-norm spike score fell from 0.40 to 0.03; it converges "slightly slower", made up for by other hyperparameter changes.
  • RMSNorm, reordered norm and QK-norm (§3.3.2, Figure 7): "In isolation, neither of these changes yield good results, but together they improve both the growth and the spikiness" of the gradient norm, spike score 0.108 to 0.069 (try the question below).
  • Z-loss (§3.3.3, Figure 8): 10−4 · log2 Z added to the loss, Z being the softmax denominator over the vocabulary, after PaLM, Chameleon and Wortsman et al. The war story: Flash Attention's fused cross-entropy, which includes a z-loss, and the team's own PyTorch implementation give the same forward value but behave differently in the backward pass (the paper suspects precision). A fork of the run that switched to the PyTorch version saw its z-loss jump about thirty-fold within a few hundred steps. Cross-entropy and downstream scores were unaffected, but "out of an abundance of caution" the team abandoned that fork, the one with the custom implementation, and retrained from the point of divergence; since you cannot switch implementations safely mid-run, they avoid doing so.
  • AdamW ε = 10−8 instead of 10−5 (§3.4.1, Figure 9). 10−8 is PyTorch's default but "some popular LM training code bases" ship 10−5. The smaller ε allows larger updates early, so the loss falls faster in the unstable early phase and the gradient norm "settles much more quickly and remains permanently lower".
  • No weight decay on embeddings (§3.4.2, Figure 10). Weight decay (1 − 0.1 · lr per step) shrinks the token embeddings, and small embeddings mean large early-layer gradients, since a norm's Jacobian scales with one over its input's norm (Takase et al. 2024; the argument in general on Normalisation, residuals and stability). Takase et al.'s remedies slowed convergence, so OLMo 2 simply exempts embeddings; their norm "settle[s] in a healthy region". Spike scores 0.16 with decay against 0.092 without.
  • Everything together (Figure 2): OLMo-0424 7B against OLMo 2 7B over their whole runs, loss spikes and growing gradient-norm spikes before, almost none after (OLMo 2's loss is higher throughout because its training data changed). The same comparison from the released W&B logs is in the Ai2 OLMo section of Other notable providers.
The reordered norm and QK-norm were tested alone and together. Which helped the gradient norm on its own?
Every fix has a before-and-after pair of curves, and every pair spikes less after

Each pair is the paper's own ablation figure, re-drawn from the curves in its vector PDF (step on the x axis, gradient norm on a log axis where the paper used one, OLMo-0424's setting left, OLMo 2's right). Under each: the paper's spike score recounted here on those curves, with the paper's own number where it gives one. Click a pair to replay it in the stability tab.

Why the new initialisation is better

Two analyses at initialisation (Figures 5 and 6). The growth exponent λ = (1/nlayers) log(‖v′‖ / ‖v‖) compares the averaged activation (or gradient) vector at the last layer with the first, on 50 random Pile documents; near 0 means signals neither explode nor vanish with depth. Across widths OLMo 2's exponents are closer to 0 (Figure 5, rebuilt beside this). And the gradient norm of OLMo 2's initialisation grows with √d, which, by Yang et al.'s argument for hyperparameter transfer, means a width-independent learning rate should transfer across model widths; OLMo-0424's did not.

Growth exponents at initialisation: OLMo 2's sit nearer 0 at the 7B's width (Figure 5)

Read from the figure's vector paths. Solid: activations; dashed: gradients. The drawn widths sit 1.2% left of 128, 256, …, 4,096 on the axis (a constant offset in the figure), shown here at the powers of two. At 4,096 (the 7B width) OLMo-0424's exponents are +0.090 and −0.099; OLMo 2's are −0.044 and −0.020. At the smallest width, 128, OLMo 2's activation exponent is the largest of all (+0.126), which the paper's "closer to 0 … across model widths" passes over.

Deep dive 2: mid-training

§4

"From afar, our approach is simple: after the pretraining stage, we generate domain-specific data mixtures and restart training, linearly driving the learning rate down to zero" (§4). The term mid-training comes from Phi-3 and OpenAI; OLMo-0424, DBRX and Llama 3 had already shown such curricula work.

Does the peak learning rate matter?

§4.1, Figure 11, Table 8

Starting from Llama 3's setting (peak 3 × 10−4, 2,000 warmup steps, cosine over 5T tokens for the 7B), the team tried 2, 3, 4, 10 and 30 times the peak. 30 × 10−4 spiked during warmup and was dropped. The others trained normally: "higher learning rates universally perform better early on … but eventually the lower learning rate setting overtakes the others", and for 3 against 6 × 10−4 "the cross-over point is well past 200B tokens. A shorter hyperparameter experiment might come to the wrong conclusion." Then each run was annealed to zero from 300B tokens over 50B tokens (and the three higher ones over 100B).

Four runs with peak learning rates of 3, 6, 9 and 12 × 10−4, each annealed linearly to zero over 50B tokens from the same point. At the end, which has the lowest loss?

The downstream scores agree (Table 8, 9 multiple-choice OLMES tasks, cloze format, validation): 62.5, 63.9, 64.1 and 63.6 after the 50B anneals; 64.6, 64.5 and 64.2 after 100B; and after 2T tokens of pretraining plus a 100B high-quality anneal, 73.8 for 3 × 10−4 against 73.9 for 6 × 10−4. On GSM8K, which is not in that average, the higher rate was 2.8 points better, a data point the paper says needs "more study". It reads the result against the folk wisdom that "higher learning rates are always better" or that "area under the learning curve matters", extending Wortsman et al.'s small-model finding (with QK-norm and z-loss, both used here) to much larger scales; the limitation it names is cost: the sweep did not find the edges of the plateau.

What the peak rates became (§4.1, Table 3): the 7B kept 3 × 10−4 and stopped its 5T cosine at about 3.9T; the 13B "ran with a higher peak learning rate from the start" (9 × 10−4) and ran its 5T cosine to the end; the 32B used 6 × 10−4 on a 6.5T cosine stopped at 6T. Re-drawn, the 3 × 10−4 run stays below 6 × 10−4 from B tokens on (with any smoothing from 2B to 20B tokens), a little before the "well past 200B" of the text.

Dolmino Mix 1124: what goes into the anneal

§2.4, §4.2 to §4.5, Tables 4, 5, 10 to 13

The pretraining mix is OLMoE's: DCLM-Baseline 1.0 web text plus code, papers, maths and encyclopedic text from Dolma 1.7 and StarCoder (Table 4). Dolmino Mix 1124 is built in three steps (§4.2): high-quality sources that lift the whole benchmark suite, domain data to patch a weak skill (maths), then the mix at 50B, 100B and 300B tokens. Anneal mixes and curricula in general, and what an anneal buys across labs: Data mixing.

The sources: quality filters, Q&A, code, reference, and the maths data
  • Pretraining code filters (§2.4.1): code keeps only repositories with 2 or more GitHub stars and drops documents whose most frequent word is over 30% of the text or whose top two words are over 50% (binary or numeric junk); the repeated n-gram filter runs on everything.
  • High-quality web (§4.3). Two classifiers: DCLM's FastText classifier (positives from ELI5 Reddit answers and OpenHermes 2.5 demonstrations, negatives from the DCLM pipeline) at threshold 0.03311014, which "retains approximately 65.6% of the web subset", combined with the FineWeb-Edu classifier (Arctic Embed M fine-tuned on 400,000 pages scored 0 to 5 by Llama 3 70B for academic, polished content). Keeping FineWeb-Edu ≥ 3 retains 5.8%, ≥ 2 retains 20.3%; the final 752B tokens are exactly 20.3% of DCLM's 3.71T. The mix tables label this source "FastText top 7%", which the 65.6% does not match; the paper does not reconcile the two.
  • Instruction data and Q&A: Dolma 1.7's FLAN subset, decontaminated by dropping documents with 10% or more n-gram overlap with any evaluation instance; Stack Exchange's 30 September 2024 dump (186 forums, commercial-friendly Creative Commons), questions with an accepted answer, at least 3 votes on the question and 5 on the answer, joined with one more newline than the longest run inside either.
  • Code and reference: the pretraining code subset, CodeSearchNet (code with docstrings), and Dolma 1.7's peS2o, Wikipedia, Wikibooks, Gutenberg, arXiv, RedPajama Stack Exchange and ProofPile II's Algebraic Stack.
  • Maths (§4.4.1): TuluMath, about 230M tokens of GPT-4o problems and multi-step solutions written for Persona Hub personas (prompts in Appendix E); DolminoSynthMath, 28M tokens: 11M of bare arithmetic facts ("77 * 14 = 1078") with varied prompts, which "dramatically mitigates" errors inside chain-of-thought steps, 7,924 GSM8K training problems with every number replaced, and a MIND rewrite of each GSM8K training example by Qwen2.5-7B-Instruct; TinyGSM-MIND, about 6.5B tokens: TinyGSM's 11M GSM8K-like questions with Python answers, kept only when the code runs and is all assignments, every line annotated with its value, then rewritten by Qwen2.5-7B-Instruct as MIND "Two Students" and "Problem Solving" dialogues; MathCoder2-style synthetic textbooks (Ajibawa-2023, M-A-P Matrix) kept by a FastText maths classifier trained on 10,000 OpenWebMath documents labelled by GPT-4o; the same filter applied to Metamath and CodeSearchNet; and GSM8K's training split.

Six candidate mixes, each 50B tokens from the 7B's 4T checkpoint (Tables 10 and 11): annealing on the pretraining mix alone already lifts OLMES by 4.4 points and MMLU by 2.0 (the text prints "+20", a typo), but not the 200-question GSM8K dev set (−1.5); filtered web plus reference data adds 1.2 on OLMES; adding instruction and maths data gives the best mix overall (+1.7 OLMES, +5.7 generative, +1.3 MMLU, +19.5 GSM* over the pretraining-mix anneal). The web-only mixes stayed weak at maths, which motivated the maths work.

Pretraining is almost all web; the anneal is half filtered web and half curated data, repeated as it grows

Microanneals: testing a data source for a fraction of a run

§4.4.2, Table 12

To pick maths sources cheaply, the team ran microanneals: take a source, add about as many tokens of general web data (a 50/50 mix), and anneal the pretrained 7B on it with the learning rate driven down "at the proper rate for this smaller collection". 19 microanneals cost 130B tokens in total, less than the three 50B souping ingredients of the final 7B, and each "shows improvements at a much finer-grained data-source resolution, with results visible after training for less than 10B tokens". The judge was GSM*, 200 of GSM8K's 1,319 test questions set aside for development (the other 1,119 stay held out), with MMLU watched for damage.

A maths mix lifted GSM* from 28.5 to 63.5 when it was 35% of the anneal. Cut it to 10% (and use 3 times as many tokens). What happens?

The other two lessons (§4.4.2): some duplication helps (two copies of the maths data beat one, four did not beat two), and rewriting can help dramatically: TinyGSM with its Python answers (inline-annotated) lowered GSM* from 28.5 to 25.0, since the pretraining mix is only about 2% code, while the same problems rewritten as natural-language dialogues raised it to 65.5, and two copies to 70.0. The text of experiment 2 says one copy scored 61, two 66 and four 65; its table says 63.5, 66.0 and 65.0 (61.0 is experiment 1's 10/90 mix).

The final mixes and checkpoint soups

§4.5, Tables 13 and 14

Because the experiments favoured roughly constant proportions, the larger mixes repeat the scarce sources: maths and Stack Exchange twice in the 100B mix and four times in the 300B mix, FLAN twice and Wikipedia four times in the 300B mix; filtered DCLM web is about half of every mix (Table 13). The 7B anneals on the 50B mix; the 13B and 32B, with twice the batch, on the 100B mix for the same number of steps, plus one longer 300B run.

Souping: "to find a better local minimum", each anneal is run several times on different random data orders and the weights are averaged (model soups, Wortsman et al. 2022; Matena and Raffel 2022). Across six candidate mixes on the 7B, the average of three orders "consistently equals or outperform[s] the single best checkpoint" (Table 14). The final 7B averages three 50B anneals; the 13B and 32B average three 100B anneals and one 300B anneal, which "we find … to be empirically better than averaging just the three 100B runs alone" (no numbers given).

The soup matches or beats the best single run in 23 of 24 cells

Soup minus best single run, per mix and metric, from Table 14. Whiskers on GSM*: the standard error of a difference of two scores on 200 questions (about 4.5 points).

What mid-training bought (Table 9): pick a model in the chart to see each benchmark before and after.

The 7B's average rises by 9.9 points, past the 13B's pretraining checkpoint, and GSM8K by 43.4.

Why the text says +10.6, and the appendix's relative gains

The text says 10.6 and 10.3 points for the 7B and 13B: those are the gains on v1's 9-task average (50.6 to 61.2, 56.5 to 66.8), kept in the text when v3 added TriviaQA to the table, where they are 9.9 and 9.4. The relative gains in Appendix B.1 (+37.0%, +18.7%, +15.9%, +12.3% for 1B to 32B) reproduce for the 1B and 7B but come out at 16.0% and 10.6% for the 13B and 32B from Table 9.

Mid-training lifts every size; GSM8K moves most

Deep dive 3: post-training (Tülu 3)

§5, Tables 15 to 18

OLMo 2-Instruct follows the Tülu 3 recipe (Lambert et al. 2024) "with an increased focus on permissive licenses and suitable adjustments to hyperparameters": "all of the stages … easily translate to the OLMo 2 models" (§5). The stages in general are taught on Alignment: SFT, RLHF, DPO, RLVR and GRPO on RL for LLMs; here is what OLMo 2 ran. The section describes the 7B and 13B; the 1B and 32B "followed very similar recipes".

  1. Supervised finetuning. The Tülu 3 mix of the best existing instruction datasets plus PersonaHub-style synthetic data. For the 7B and 13B, tulu-3-sft-olmo-2-mixture, 939,104 prompts: removing the multilingual data (the Aya split and multilingual WildChat), since OLMo 2 is not multilingual, cost about 0.5 points on average, so it stayed. For the 1B and 32B, tulu-3-sft-olmo-2-mixture-0225, 866,138 prompts: instructions mentioning a date cutoff were filtered out (they correlated with hallucinated cutoffs and "As an AI language model…" openings, and the filter was also applied to the 32B's chosen preference answers), and synthetic maths answers were kept only where 5 completions reached a majority vote.
  2. Preference tuning with DPO on synthetic, partly on-policy preferences, scaling up the UltraFeedback pipeline: 366.7k prompts for the 7B and 377.7k for the 13B (sources in Table 27), responses from a pool of 20 permissively licensed models of different families and sizes (Table 25) plus the team's own development SFT checkpoints, rated by GPT-4o (2024-08-06) for helpfulness, truthfulness, honesty and instruction following; the highest average rating is "chosen", a random other completion "rejected" (Argilla's binarisation).
  3. RLVR: PPO where the reward is 1 only if the answer checks out, on GSM8K and MATH training problems and prompts with verifiable constraints. A 7B and a 13B reward model trained on the on-policy preferences initialise PPO's value function (which Tülu 3 found improves average scores). The first 13B pass left GSM8K and MATH below an earlier development model, so two more RLVR passes followed, on GSM8K then on MATH, the value function re-initialised from the reward model each time (Figure 13). The 1B and 32B used GRPO instead, which needs no reward model; the 32B with learning rate 5 × 10−7, KL β 0.1 and 16 samples per prompt.
Post-training hyperparameters

Hyperparameters were swept with one seed and confirmed with up to four (§5): the 7B's SFT at 2 × 10−5, the 13B's at 5 × 10−6; DPO at 1 × 10−6 (7B) and 8 × 10−7 (13B); reward models at 3 × 10−6; RLVR β 0.05 (7B) and 0.1 (13B) with learning rates 4 and 3 × 10−7 (all PPO settings in Table 18). "OLMo 2 required significantly higher learning rates compared to the Llama 3.1 training recipe." The 32B, post-trained after the 7B and 13B were released, was tuned separately: SFT 4 × 10−6, DPO 2 × 10−6.

Evaluation, the unseen suite, and the preview models

The instruct models are scored on Tülu 3's development suite minus its code category (Table 15): MMLU (CoT, 0-shot), PopQA (15-shot), TruthfulQA (6-shot, MC2), BigBenchHard (CoT, 3-shot), DROP (3-shot, F1), GSM8K (CoT, 8-shot), MATH (CoT, 4-shot, flex EM), IFEval (prompt-level loose), AlpacaEval 2 (length-controlled win rate) and Tülu 3 Safety. On Tülu 3's unseen suite (Table 24: AGIEval English, Minerva-style MATH, GPQA, IFEval OOD, MMLU-Pro) the averages are 32.2 (7B), 35.2 (13B) and 44.9 (32B), against 22.9 for OLMo 7B 0724 Instruct; IFEval OOD was bug-fixed for the 7B and 13B, so those are not exactly comparable with Tülu 3's paper.

The first instruct release in November 2024 had a tokenizer bug: the base models used a GPT2Tokenizer with custom pre-tokenisation that was lost in instruct training, so the models were retrained and the first set renamed "Preview" (Appendix C.3).

DPO adds 3.7 to 7.1 points on average; RLVR adds little, and mostly on maths

Table 16: each model after SFT, DPO and RLVR (the final Instruct model). The average covers 10 tasks including Safety; Table 7 prints the 13B's final average as 63.5, Table 16 as 63.4.

Deep dive 4: infrastructure as a research catalyst

§6

Many pretraining papers "gloss over" their training stack; this one does not (§6). OLMo 2 trained on two clusters, the bulk of the 7B on Jupiter and the bulk of the 13B on Augusta (the 32B also on Augusta, per the 32B release post).

The two clusters: Jupiter and Augusta, in numbers
  • Jupiter (§6.1.1): 128 servers in Austin, Texas, run by Cirrascale; 1,024 H100 80GB GPUs at 700 W; 2 TB DDR5 and 18 TB NVMe per server; a WEKA storage cluster (1 PB NVMe, 5 PB HDD) reaching 761 Gbps with 64 clients; eight 400 Gbps InfiniBand cards per server (3,200 Gbps) in a two-tier rail-optimised network; closed water-cooled cabinets at a PUE of 1.2, GPUs at 60 to 65°C, peak 75°C.
  • Augusta (§6.1.2): 160 Google Cloud A3 Mega virtual machines (8 H100s each) in Council Bluffs, Iowa; Google Cloud Storage at up to 1 GB/s per VM; one Ethernet NIC per GPU with GPUDirect-TCPXO; air-cooled, PUE 1.12.
  • Beaker (§6.2 and §6.3), Ai2's own workload manager: containerised jobs that move between three data centres "by changing a single line of code", unlike a shared Slurm environment where library changes make old experiments unreproducible. Before each job it multiplies two tensors on every GPU and cordons the host if that fails, so jobs can simply restart themselves on healthy nodes; any user can cordon a bad node, which "crowdsources" fault finding. Burn-in found problems from badly seated cables to wrongly ordered nodes in NCCL.

Throughput tricks, all in OLMo-core (§6.4): compile, never let the host wait on the GPU, keep logging and checkpointing off the training thread, and run Python's garbage collector at the same step on every rank.

The throughput tricks in detail

torch.compile(); avoiding host-device syncs (copy to the GPU with non_blocking=True, never print a CUDA tensor or branch on one, beware ops such as masked_select(), and find them with torch.cuda.set_sync_debug_mode("warn")); metrics and checkpoints handed to a bookkeeping thread on a separate GLOO backend (NCCL is not thread-safe), so logging every 10 or 50 steps and asynchronous checkpointing each cost only one sync; and Python's garbage collector turned off and run explicitly at the same steps on every rank (gc.disable(), then gc.collect(1)), because uncoordinated collections stall lock-step training, worse with more processes (Figure 16, a 1B model on 8 nodes).

Environmental cost (§6.5, Table 19): node power measured every 25 ms, times nodes, times PUE, times the grid's carbon intensity (Austin Energy 0.332 kg CO2/kWh; Iowa 0.352 in the text, 0.351 in the table), and water from the off-site water usage of power generation (1.29 L/kWh Jupiter, 3.10 Augusta; on-site cooling taken as zero). The paper calls these lower bounds (no manufacturing, transport or inference).

Results

§2.5, Tables 6 and 7, Figure 1

Base models. On ten OLMES tasks, six used for development and four held out (AGIEval, GSM8K, MMLU-Pro, TriviaQA), OLMo 2 sits on or near the compute frontier (Table 6, Figure 1): the 7B averages 62.9 against Llama 3.1 8B's 61.8 and Qwen 2.5 7B's 67.4 (which used 4.6 times the FLOPs); the 13B scores 68.3; the 32B 73.3, above Qwen 2.5 14B (72.3) and approaching Qwen 2.5 32B (74.9). Compute is the Kaplan approximation 6 × parameters × tokens, in units of 1023; Mistral's is unknown and Qwen 3 and Zamba 2 are left out. The previous best fully open 7B, DCLM, scored 56.9.

"We find that gains observed on development metrics largely translate to our unseen evaluation suite": the team kept four tasks out of every development decision and suggests every report declare its development and held-out tasks. GSM8K was only partly held out: 200 questions were used as GSM* for mid-training data decisions and only the other 1,119 count as held-out (§2.5, footnote 6). The paper also notes it cannot guarantee that its held-out tasks were held out by the other labs.

Instruct models (Table 7, 10 tasks including safety): the 13B Instruct averages 63.5, above Llama 3.1 8B Instruct (59.1) and Tülu 3 8B (60.7) and approaching Qwen 2.5 14B Instruct (65.3); the 32B Instruct averages 68.8, above GPT-3.5 Turbo 0125 (60.5), GPT-4o mini 0724 (65.7) and Qwen 2.5 32B Instruct (68.1), below Gemma 3 27B (71.3) and Llama 3.3 70B (72.7). The 1B Instruct (42.7) beats Llama 3.2 1B (39.3), Gemma 3 1B (38.3) and Qwen 2.5 1.5B (41.7) (Table 23). QwQ 32B's PopQA and TruthfulQA are blank because answers stayed inside its <think> tokens.

OLMo 2 1B: the model the recipe was developed on, and why it lags

The recipe was developed at 1B (16 layers, d = 2,048, 16 heads, batch 512, peak learning rate 4 × 10−4, a 5T cosine cut at 4T, one 50B Dolmino anneal) and "found … to generalize well" upwards (Appendix B). But the 1B itself lags: 43.7 on the base suite against Qwen 2.5 1.5B's 51.5 and Gemma 2 2B's 47.9, ahead of SmolLM 2 1.7B's 44.7 (Table 22). After pretraining alone it is near chance on multiple-choice tasks (MMLU and ARC-C at 25%, MMLU-Pro at 10%). The authors' hypotheses: below some size a model may need task-specific data in pretraining, or distillation from a larger model, as the small Gemma 2 models used. Post-training rescues it: the 1B Instruct is ahead of its peers (above). The released 1B repository lists three 50B anneal ingredients, where the paper describes one run without averaging (Hugging Face refs of allenai/OLMo-2-0425-1B).

OLMo 2 sits on or near the compute frontier of the plotted models

Points: every Table 6 row with a FLOPs figure. Figure 1's positions were read from its vector PDF; its x axis is a square-root scale, not the log scale it resembles (gridline spacing grows as √FLOPs), drawn here on a log scale for both. The outline is this page's: the upper-left frontier of the plotted points.

Why it matters (beyond the paper)

It is the most complete public account of training a competitive LLM end to end, and with every artifact released it became the default reproduction target for open pretraining. The stability package (normal initialisation, reordered norm plus QK-norm, z-loss, no weight decay on embeddings, AdamW ε = 10−8, repeated n-gram filtering) is a checklist for new pretraining codebases; Raschka's architecture survey names OLMo 2's output-side RMSNorm and QK-norm as its noteworthy design decisions, and notes that because the paper's figure shows them only together, "it's hard to tell how much the normalization layer reordering contributed by itself" (The Big LLM Architecture Comparison). Annealing to zero on a curated mix, microanneals for cheap data ablations, and checkpoint souping are reusable techniques that cost little and gave double-digit gains here; the finding that the peak learning rate barely matters after an anneal de-risks hyperparameter choices for small-budget reproductions; the infrastructure section (host-device syncs, synchronised garbage collection, asynchronous checkpointing) is rare practical detail.

Since the paper (dated: checked 25 October 2026)

The successor, Olmo 3 (20 November 2025), keeps the fully open approach and the staged curriculum and adds reasoning ("Think") models; its training logs and mixes are in the Ai2 OLMo section of Other notable providers, which keeps the lineage current.

Connections

  • DeepSeek-V3 and Llama 3: the open-weights recipes OLMo 2 makes transparent; OLMo 2 starts its learning-rate experiments from Llama 3's setting and copies its RoPE θ.
  • Chinchilla: compute-optimal background; OLMo 2 trains far past it (the 7B sees about 550 tokens per parameter, against Chinchilla's roughly 20).
  • DeepSeekMath (GRPO): the RL algorithm used for the 1B and 32B; DPO: the preference stage; InstructGPT: the PPO machinery RLVR keeps.
  • RoFormer: RoPE, here with θ = 500,000; ZeRO and Megatron-LM: the distributed-training lineage behind OLMo-core.
  • Tülu 3 (Lambert et al. 2024) supplies the whole post-training pipeline including RLVR; DCLM supplies the pretraining web data.
  • WSM: later work that merges checkpoints instead of decaying the learning rate, the two levers combined here.
  • Topics: llm-training-and-post-training (stability, two-stage pretraining, annealing, souping, SFT/DPO/RLVR), data-curation-and-datasets (OLMo 2 Mix and Dolmino Mix, quality filtering, microannealing, synthetic maths), llms (the OLMo family).

How much of this to believe

What holds up.

  • Everything is checkable. Weights, both data mixes, the training and evaluation code, logs and intermediate checkpoints are public, which no open-weights rival offers. The checkpoints confirm the token counts (3.90T, 5.00T and 6.06T at the end of stage 1), and the configs give 7.30B, 13.72B and 32.23B parameters, so 6ND reproduces Table 6's 1.8, 4.6 and 13.0 × 1023 FLOPs.
  • Each stability fix has a before-and-after curve, and every one reproduces in direction. Recounting the spike score on the curves in the vector figures: initialisation 0.58% to 0.02% (paper 0.40 to 0.03), reordered norm plus QK-norm 0.086% to 0.019% (paper 0.108 to 0.069), embedding decay 0.22% against 0.15% (paper 0.16 against 0.092), n-gram masking 0.34% to 0.02%. The levels differ from the paper's, which is expected from drawn rather than logged points (the stability tab shows how far they move with the definition), but no ordering flips.
  • The learning-rate result is two kinds of evidence that agree: the drawn anneal curves end within 0.011 of each other (Figure 11), and the downstream averages within 1.6 points (Table 8).
  • A declared held-out suite, kept out of development decisions, with the GSM8K split stated. The authors also state their limits: the learning-rate sweep did not find the plateau's edges, the n-gram link to spikes is not deterministic, and the environmental numbers are lower bounds.

What to discount.

  • Single runs. No result has seeds or error bars, and the hyperparameter sweeps used one seed. Most mid-training decisions rest on GSM*, 200 questions, where a score near 65% has a standard error of about 3.4 points and a difference of two runs about 4.8: "two copies of the maths beat one" (66.0 against 63.5), "35% beats 10%" (63.5 against 61.0) and "two copies of TinyGSM-MIND beat one" (70.0 against 65.5) are each within about one standard error. The big effects (maths data at all, +35; rewriting code into prose, +40) are far outside it.
  • Souping "consistently equals or outperforms" the best single run, except where it does not: on mix E's GSM*, the soup scores 43.0 against the best single run's 60.5 (Table 14). On the other 23 cells it is equal or better, by 0.0 to 4.0 points. The 13B and 32B's fourth ingredient (a 300B run) is justified as "empirically better" with no numbers.

Tables and text that disagree. Several printed numbers contradict another table, the figure or the text; none changes a conclusion, but check any number you reuse.

Every disagreement found, table by table
  • Tables that disagree. Table 6 prints Qwen 2.5 32B's compute as 16.0 × 1023, the same as the 14B's; 6 × 32.5B × 18T is 35.1, which is what Table 7 prints and where Figure 1 draws it, so the compute advantage over it is larger than Table 6 says. Figure 1 also draws OLMo 2 32B at 1.15 × 1024 (Table 6: 1.3) and OLMo-0424 at 0.87 × 1023 (Table 6: 1.0). OLMo 2 32B's MMLU-Pro is 46.9 in Table 6 and 43.3 in Table 9, and its printed average 73.3 matches 43.3 (46.9 gives 73.7). Table 13's maths shares do not follow from its own source fractions in the 100B and 300B mixes (they imply about 18B and 32B of maths where "200%" and "400%" of 10.7B would be 21.4B and 42.8B). The details are in the tables tab.
  • Text left behind by revisions: the +10.6 and +10.3 mid-training gains are v1's 9-task numbers; "+20" on MMLU is +2.0; "−0.4" on OLMES-Gen is −0.7; experiment 2's "61" is 63.5; "4T" pretraining is 3.90T; "7 trillion" for the 32B is 6.06T; the 391 MWh total is not the 388 of Table 19's column (or 445 with PUE).
  • Comparisons are not all like for like: OLMES runs every model with the same prompts, which is fair, but held-out status can only be guaranteed for OLMo; RLVR's contribution is small on average (+0.6, +1.4, +2.1 and 0.0 points for the 7B, 13B, 1B and 32B over DPO in Table 16), concentrated in GSM8K and MATH, and the 32B's safety score falls from 91.9 to 85.9 in that stage.

Verdict. Believe the recipe and the openness: the stability package is supported by controlled ablations whose curves anyone can re-measure, the base models' compute and token counts check against the released artifacts, and the learning-rate and mid-training findings are consistent across loss and benchmarks. Treat individual data-mix decisions and the exact margins as single-run, small-sample evidence, and check any number you reuse against the table it came from, since several tables and the text disagree.

What it takes to use this

  • Code and licence. Pretraining: OLMo-core (the 32B and later; the 7B and 13B started on the first-generation OLMo trainer); post-training: open-instruct; evaluation: OLMES; data curation: Dolma. All three code repositories are Apache 2.0. Data: olmo-mix-1124 and dolmino-mix-1124. Every intermediate checkpoint is a branch of each model's Hugging Face repository (965 branches for the 7B).
  • Hardware. The 7B pretraining took about 131 MWh of GPU power on Jupiter's H100s, the 13B about 257 MWh on Augusta (Table 19). 1.8 × 1023 FLOPs at a typical 40% of an H100's 989 dense BF16 TFLOP/s would be about 126,000 GPU-hours (this page's estimate; the paper gives energy, not hours). The released models fine-tune on a single 8-GPU H100 node, per the 32B release post.
  • What transfers cheaply. The stability checklist costs nothing to adopt in a new codebase. Mid-training on a curated mix with a linear decay to zero is a 5 to 10% add-on to a run you are doing anyway; microanneals let you test a data source for a few billion tokens; souping costs extra anneals but no extra pretraining. Keep a held-out set and do not spend it, as the GSM* split did.
  • What did not work so well. The 1B recipe lags its peers before post-training; QK-norm and the reordered norm help only together; RLVR added little on average beyond DPO.