Why start with the pipeline
You have run an SFT fine-tune and a DPO run. Both were single steps. The models you download as "Instruct" or "Think" were built differently: they went through a chain of stages, and each stage took in data and checkpoints and handed new ones to the next. To debug or copy a recipe, you need to see that chain.
The Allen Institute for AI (Ai2) publishes the full chain for two model families. Tulu 3 (Nov 2024, built on Llama 3.1 base models at 8B, 70B and 405B) and Olmo 3 (released 20 Nov 2025 at 7B and 32B) both come with data, code and checkpoints for every stage. That makes them good reference designs. You can download the checkpoint from between two stages and see what each stage did.
Think of it like a build pipeline. Pre-training is the compiler. Each post-training stage is a pass that reads the last artefact and writes a new one. Change the order of the passes and you get a different binary.
The three-stage backbone
Both recipes share the same skeleton:
| Stage | What it changes | Consumes | Produces |
|---|---|---|---|
| SFT | Format, chat template, skills shown by example (math, code, tool calls, long reasoning traces) | Base checkpoint + demonstration dataset | SFT checkpoint |
| Preference tuning (DPO) | Which of several plausible answers the model prefers: style, helpfulness, fewer bad habits | SFT checkpoint + chosen/rejected pairs | DPO checkpoint |
| RLVR | Accuracy on tasks a program can check (math answers, instruction constraints, code tests) | DPO checkpoint + prompts with verifiers (+ a reward or value model in PPO setups) | Final checkpoint |
RLVR stands for reinforcement learning with verifiable rewards, a term the Tulu 3 paper introduced. A reward model gives a learned score. A verifier instead checks the answer with code. In Tulu 3 the model gets a reward of 10 for a correct answer and 0 otherwise.
Walkthrough 1: Tulu 3 as a lineage manifest
Before you read a report closely, write the pipeline down as data. Here is Tulu 3 8B, using figures from the paper:
# tulu3_lineage.py -- one dict per stage: inputs, outputs, purpose
tulu3 = [
{'stage': 'sft',
'init': 'meta-llama/Llama-3.1-8B', # base checkpoint
'data': 'curated SFT mix (core skills)',
'out': 'Llama-3.1-Tulu-3-8B-SFT'},
{'stage': 'dpo', # length-normalised DPO
'init': 'Llama-3.1-Tulu-3-8B-SFT',
'data': 'on-policy pairs: Tulu 3 SFT completions vs other models, judged pairwise',
'out': 'Llama-3.1-Tulu-3-8B-DPO'},
{'stage': 'rlvr', # PPO against verifiers
'init': 'Llama-3.1-Tulu-3-8B-DPO',
'aux': 'reward model -> initialises the PPO value model',
'data': '~30k prompts: GSM8K train (7,473), MATH train (7,500), ~15k IFEval-style constraints',
'reward': '10 if verifier passes else 0',
'out': 'Llama-3.1-Tulu-3-8B'},
]
for s in tulu3:
print(f"{s['stage']:>5}: {s['init']} -> {s['out']}")
Output:
sft: meta-llama/Llama-3.1-8B -> Llama-3.1-Tulu-3-8B-SFT
dpo: Llama-3.1-Tulu-3-8B-SFT -> Llama-3.1-Tulu-3-8B-DPO
rlvr: Llama-3.1-Tulu-3-8B-DPO -> Llama-3.1-Tulu-3-8B
Note the aux line. Tulu 3's RLVR used PPO, and the value model in PPO was initialised from a trained reward model. So the "verifiable" stage still relied on a reward model as one of its artefacts. Manifests show details like this that a one-line summary hides.
Gotcha: Ai2 later released Tulu 3.1 8B, trained with a GRPO recipe. GRPO needs no value model. When you copy "the Tulu recipe", check which version you mean.
Why the order matters
- SFT first because the later stages need a model that already follows the chat template and finishes with a parseable answer. If the policy never writes
\boxed{42}, the verifier returns 0 on every rollout and RL has nothing to learn from. - DPO in the middle because preference pairs work best when they are on-policy, meaning sampled from the model you are tuning. Tulu 3 built its pairs from its own SFT model's completions, and that only works once the SFT checkpoint exists.
- RLVR last because it is the most expensive stage and the narrowest. It sharpens checkable skills on a model that is already well behaved. Run it on a raw base model and it also has to teach the model the answer format.
Walkthrough 2: Olmo 3 splits into branches
Olmo 3 keeps the backbone but builds several variants from one base. The base itself goes through pre-training (Dolma 3), mid-training (Dolma 3 Dolmino, 100B tokens) and long-context extension (Dolma 3 Longmino) before post-training starts. Post-training data comes from the Dolci suite, which has separate SFT, DPO and RL mixes.
Olmo 3 Base (7B / 32B)
┌──────────────────┼───────────────────┐
Think SFT Instruct SFT (no SFT)
Think DPO Instruct DPO RL-Zero: RLVR straight on base
Think RLVR Instruct RLVR (math / code / IF / chat series)
-> Olmo-3-*-Think -> Olmo-3-*-Instruct
Three things to notice:
- Think vs Instruct use the same stages with different data. Think trains on long reasoning traces. Instruct aims for shorter answers, multi-turn chat and tool use.
- The DPO stage uses "delta learning". For Think, the chosen answers come from Qwen3 32B and the rejected ones from Qwen3 0.6B. The idea is that the model learns from the gap between the two answers, not from how good the chosen answer is on its own. You can get a useful signal without a frontier-quality "chosen" model.
- RL-Zero skips SFT and DPO. Its purpose is research: it lets you study what RL alone does to a clean base model.
The RL stage draws on asynchronous ideas from PipelineRL and on algorithm changes from DAPO and Dr. GRPO. The Think RL mix covers math, code, instruction following and general chat. The stage was not finished when Olmo 3 shipped. Olmo 3.1 32B Think (Dec 2025) came from resuming that RL run for 21 more days on 224 GPUs, and it gained 5+ points on AIME and 20+ on IFBench.
Trade-off: Branching from one base is cheaper than building separate pipelines. The cost is that every branch inherits the base's weaknesses, so a gap in mid-training data shows up in every variant.
Hands-on: diff the stages yourself
One rented 24–48 GB GPU is enough. Ai2 publishes each intermediate checkpoint, so you can watch each stage change behaviour.
# diff_stages.py (pip install vllm)
from vllm import LLM, SamplingParams
STAGES = ['allenai/Olmo-3-7B-Think-SFT', # after SFT
'allenai/Olmo-3-7B-Think-DPO', # after DPO
'allenai/Olmo-3-7B-Think'] # after RLVR (final)
PROMPTS = ['What is 17 * 23 - 19? Put the final answer in \\boxed{}.',
'Write exactly three sentences about GPUs, all lowercase.']
params = SamplingParams(temperature=0.6, max_tokens=4096)
for name in STAGES:
llm = LLM(model=name, max_model_len=8192)
for p in PROMPTS:
out = llm.chat([{'role': 'user', 'content': p}], params)[0].outputs[0]
print(name.split('/')[-1], '| tokens:', len(out.token_ids),
'| tail:', out.text[-120:].replace('\n', ' '))
del llm # free GPU memory before the next stage
For each stage, record answer correctness (17 × 23 − 19 = 372), whether the instruction constraints were met, and the output length. Run each prompt about five times so you are not reading noise. Then write one sentence per stage on what changed.
Key takeaways
- Open-model post-training follows a backbone of SFT → preference tuning (DPO) → RLVR, and Tulu 3 and Olmo 3 both publish every stage.
- Each stage reads an artefact and writes one: datasets, checkpoints, and sometimes a reward model (Tulu 3's PPO value model was initialised from one).
- Order matters. SFT makes outputs parseable, on-policy DPO needs an SFT model to sample from, and expensive, narrow RLVR polishes last.
- Olmo 3 branches one base into Think, Instruct and RL-Zero variants. Its DPO learns from the gap between strong and weak answers.
- Write a lineage manifest before you copy a recipe. Versions such as Tulu 3 vs 3.1, or Olmo 3 vs 3.1, change the details.