Every post-training row is a prompt plus a signal of what good looks like: a written answer, a comparison of two answers, a checker program, or a test suite in a sandbox. The data is exactly as good as that signal, so building these sets is making the signal cheap (a stronger model writes it, a model judges it, a program checks it) and then checking the signal itself.
You need: how each kind is used in training (SFT's loss, DPO and reward models, RL with verifiable rewards) is on Alignment: SFT, RLHF, DPO Family, RLVR; why a prompt every rollout solves teaches nothing under GRPO is on RL for LLMs, section 3. This page is about the data.
Blue: the signal the model learns from. Orange: the failure measured on this page (sections 1, 5, 6 and 7). A pretraining corpus can be noisy because noise averages out over trillions of tokens; post-training is a few hundred thousand to a few million rows, and a wrong row teaches the wrong thing directly.
Labels: measured means run on this machine (Apple M1 Pro CPU, 2026-10-15) on public samples whose revisions are recorded in src/inputs/pd_manifest.jsonl; published means a number from a paper or card, with its table; derived means arithmetic on published numbers. How these data are used in training (losses, schedules, RL algorithms) is on Topic: llm-training-and-post-training and its child Alignment.
| Kind | Trains | Typical size (published) | The failure measured here |
|---|---|---|---|
| SFT (instruction, response) | Copying the response, token by token | Alpaca 52,002; Tulu 3 939,344 (Table 7); OLMo 3 Instruct 2,152,112 (Table 30) | Near-duplicate instructions: a human-written set (Dolly) has 25.5% of its instructions above ROUGE-L 0.7 with another one (section 1) |
| Preference (prompt, chosen, rejected) | Raising the chosen answer's probability over the rejected one (DPO) or a reward model | HH-RLHF about 162k comparisons; Tulu 3 8B 271,409 (Table 15) | Length: the chosen answer is the longer one in 67% (Dolci-Instruct-DPO) of pairs in the most length-biased set measured, 42% (HH-RLHF harmless) in the least (section 5) |
| Verifiable reward (prompt, label, checker) | Reinforcement learning against the checker's verdict | Tulu 3 RLVR 29,946 (Table 22); OLMo 3 Think RL 104,869 (7B, Table 20) | Checkers disagree: on 12,358 DeepSeek-R1 answers, Math-Verify accepts 66%, Tulu 3's MATH checker 58%, the last-number rule 37% (section 6) |
| Environment (task, sandbox, tests; trajectories) | Agent RL, or SFT on successful trajectories | SWE-Gym 2,438 tasks; SWE-rebench 21,336; SWE-smith 50,137 | Most trajectories fail: 18.9% of a 3,000-row sample of nebius's SWE-agent trajectories resolve their issue (section 7) |
A pretrained model continues text; a few hundred thousand examples of "request, then a good answer" teach it the format, the tone and when to stop. The question has always been where the answers come from: people are slow and expensive; models are fast and cheap but pass on their mistakes and their terms of use.
| When | Set | Who wrote the answers | Size (published) | What it showed |
|---|---|---|---|---|
| 2021-09 | FLAN | Existing NLP datasets, rewritten by instruction templates | "over 60 NLP tasks" (abstract) | Instruction tuning on templated tasks improves zero-shot performance of a 137B model (arXiv 2109.01652); the Flan 2022 collection grew to 1,800+ tasks mixing zero-shot, few-shot and chain-of-thought templates (arXiv 2301.13688; the paper gives 1,836 in one place and 1,873 in another) |
| 2022-03 | InstructGPT SFT | About 40 contractors | 12,725 training prompts (11,295 labeler + 1,430 customer; Table 6) | Human demonstrations then RLHF; the template every later pipeline copied |
| 2022-12 | Self-Instruct | GPT-3 davinci, from 175 human seed tasks | 52,445 instructions, 82,439 instances (Table 1); "around $600" | A model can write its own instruction data; a ROUGE-L filter keeps it varied (arXiv 2212.10560) |
| 2023-03 | Alpaca | text-davinci-003, Self-Instruct style | 52,002 rows; data "less than $500" | A 7B model fine-tuned for under $600 in total won 90 of 179 comparisons against its teacher (blog) |
| 2023-03 | Vicuna (ShareGPT) | ChatGPT, in conversations users shared | About 70K conversations; "no plan to release the dataset" | Real multi-turn user traffic beats synthetic single turns; provenance unclear, so Tulu 3 excluded ShareGPT (Vicuna) |
| 2023-04 | Dolly 15k | Databricks employees | 15,011 rows, CC-BY-SA-3.0 | A human-written set released for commercial use because Alpaca's could not be (blog) |
| 2023-04 | Evol-Instruct (WizardLM) | ChatGPT rewriting Alpaca's instructions to be harder ("in-depth": add constraints, deepen, concretize, more reasoning steps, complicate input) or new ("in-breadth") | 250k after four rounds; 70k sampled for training | Instruction complexity can be manufactured (arXiv 2304.12244) |
| 2023-05 | UltraChat | ChatGPT talking to itself, no human queries | 1.5 million multi-turn dialogues | Fully synthetic multi-turn chat at scale (arXiv 2305.14233) |
| 2023-05 | LIMA | Curated from Stack Exchange, wikiHow, Reddit; 200 written by the authors | Exactly 1,000 rows (Table 1) | "Superficial Alignment Hypothesis"; quality over quantity (arXiv 2305.11206) |
| 2023-11 | OpenHermes-2.5 | A compilation of open synthetic sets plus new GPT-4 data | About 1M samples (card) | The large curated distillation pool many open models trained on |
| 2024-06 | Magpie | Llama-3-Instruct given only its chat template's header, so it writes the user's query itself, then answers it | 4 million generated, 300K selected | Instruction data with no seed prompts at all (arXiv 2406.08464) |
| 2024-11 | Tulu 3 SFT mixture | Mixed: GPT-4o persona-driven synthesis, Claude 3.5 Sonnet code, WildChat (GPT-4 conversations), FLAN, safety sets, Aya | 939,344 (Table 7; the card's metadata says 939,343) | A mixture built skill by skill, each subset decontaminated and ablated (arXiv 2411.15124) |
| 2025-01 | DeepSeek-R1 SFT | Rejection-sampled from an RL checkpoint (reasoning); DeepSeek-V3 data (other) | 804,745 (Table 5; prose "about 600k" reasoning, "approximately 200k" other) | Reasoning traces distilled into small models beat RL on them (arXiv 2501.12948) |
| 2025-01 | s1K | Curated reasoning traces | 1,000 questions with traces | Few, verified, hard traces go far (arXiv 2501.19393) |
| 2025-02 | SmolTalk | Llama-3.1-405B via Magpie (400K core) plus public sets | 1M samples; a smaller "smol-smoltalk" for the 135M and 360M models | The open SFT mix for small chat models (card) |
| 2025-06 | OpenThoughts3 | QwQ-32B traces, 16 per question | 1.2M: 850k math, 250k code, 100k science | Data recipe ablated step by step for reasoning SFT (arXiv 2506.04178) |
| 2025-12 (paper) | OLMo 3 Dolci | QwQ-32B, DeepSeek R1, Qwen3, GPT-4.1 and others, filtered by verifiers and tests | Think SFT 2,268,468 (7B, Table 17); Instruct SFT 2,152,112 (Table 30) | Separate thinking and instruct mixtures; tool use as a first-class subset (arXiv 2512.13961) |
Two small disagreements between papers and their cards, recorded rather than resolved: Tulu 3's SFT card metadata says 939,343 rows against the paper's 939,344 (Table 7 sums to 939,344); OLMo 2's paper says its SFT mix "contains 939,104 prompts", its card 939,344. All published; checked 2026-10-15 (FLAN rows checked 2026-10-24).
Rows on a log axis, by release date; colour says who wrote the answers. published sizes (each with its paper or card in the lineage table on the left). The two dots at 1,000 rows, LIMA (2023) and s1K (2025), carry the counter-lesson: the "Superficial Alignment Hypothesis" (the format is learned from very few examples) and, for reasoning, Qwen2.5-32B tuned on 1,000 verified traces "exceeds o1-preview on competition math questions by up to 27%".
Self-Instruct starts a pool with 175 human-written tasks and asks the model for new ones, 8 pool instructions per prompt (6 human, 2 generated). A candidate joins only if its ROUGE-L with every instruction already there is below 0.7: F = 2 × LCS / (words in a + words in b), where LCS is the longest common subsequence of words. In the figure, the same stream of real candidates (Dolly instructions, written by people and never filtered) goes into the pool with the filter on and off.
measured On whole sets: the filter would reject 3,833 of Dolly's 15,011 instructions (25.5%; replaying it in file order rejects 2,672). Alpaca, filtered this way, has 0 pairs above 0.7 but 1,501 instructions with a neighbour at exactly 0.7: the fingerprint of a rule that rejects only when the score is strictly greater (generate_instruction.py line 196 at commit 761dc5bf). Even 4 of the 175 human seeds have a neighbour above 0.7 ("Write a conversation based on the given facts." and "Write a cover letter based on the given facts.").
Every row of three Ai2 mixtures, counted by the dataset's own source column (Hugging Face statistics over the full train split, fetched 2026-10-15; the skill grouping is ours, the counts are not). Tulu 3 and OLMo 2 used the same mixture (one hard-coded identity subset differs). OLMo 3's instruct mixture is more than twice as large and adds tool use (227,579 rows), verifiable reasoning and logic puzzles. Math is over a third of Tulu 3; in OLMo 3 verifiable reasoning, puzzles and code with tests are the largest groups. A generated answer that can be checked can be kept only when it is right, which makes those rows cheap to trust. The Dataset atlas tab has every set on this page with its composition, length distribution and real rows.
Seven SFT sets from Alpaca to agent trajectories, each measured the same way measured: Qwen3 tokens, the share of tokens that get loss under one chat template (section 4), duplicates, and English share (fastText lid.176 on the first user turn). Samples, not whole sets, where a set is large.
Almost every open SFT and preference set since Alpaca is distilled: prompts from people or templates, responses from a teacher model. The student inherits the teacher's style and errors (a filter for "As an AI developed by OpenAI" exists because students learned to say it; the root's Post-training data lab runs Ai2's identity and cutoff filters), and the teacher's terms of use travel with its outputs. The check is to count rows per generator, if the set records it. Two preference sets on this page do, for every row:
measured OLMo 2's paper says its preference pool was "updated ... to only include models with permissible licenses"; its 7B preference mix still has 44,913 of 378,341 (11.9%) chosen answers from GPT-4-family models (the chosen_model column). OLMo 3's Instruct DPO set is dominated by Qwen3-32B chosen against Qwen3-0.6B rejected (section 5). The generator-by-generator terms table (quoted, dated, not legal advice) is on the Synthetic data page, section 8.
To teach a long chain of thought by SFT you need traces that end in the right answer: a good-looking trace with a wrong answer teaches the wrong habit. So reasoning SFT data is made by rejection sampling: several traces per problem from a strong model, kept when a checker accepts the final answer. OpenR1-Math-220k is the open example: DeepSeek-R1 on 400k NuminaMath 1.5 problems, two (sometimes four) traces each, 16k-token limit, kept when Math-Verify accepts the answer or, for 12% of samples, when Llama-3.3-70B-Instruct as a judge does (card). measured on 12,358 R1 generations for 6,000 of its problems:
The thinking is about 89% of the tokens (median); the answer after </think> is a short summary that repeats the result. That matters twice: SFT trains on all of it (section 4), and a checker that reads the whole text can pick up an intermediate guess from the thinking (section 6).
Is the second checker right? Math-Verify (Feb 2025) accepted 7,975 (64.5%) of the 12,358 generations. The Llama judge ran only on rows Math-Verify rejected and said yes on 2,701 of 3,545 (76%). Thirty of those rescues, read by hand (seeded sample, labels in src/notes/judge_labels.md, an agent's reading):
Two of 30 looked wrong, so the judge's error rate on rescues is somewhere between about 2% and 21% (95% Wilson interval): a judge pass rescues real data and lets some wrong traces in.
</think>; 501 disagreements: today's version accepts 336 answers the old one rejected, and rejects 165 it accepted). A checker is code with versions; a dataset's correctness flags are only as current as the checker that wrote them. Record the checker's version next to every verdict, and re-run the one you will train with on a sample.DeepSeek-R1's SFT data: rejection sampling from its own RL checkpoint, "retain only the correct ones", filter "chain-of-thought with mixed languages, long paragraphs, and code blocks"; about 600k reasoning samples (Table 5: 626,933 math, code, STEM and logic) plus about 200k others (177,812). OLMo 3's thinking SFT reuses OpenThoughts3 traces, regenerates truncated ones with QwQ-32B and keeps code traces that pass tests written by GPT-4.1 (arXiv 2512.13961, 4.2.1).
A row is a list of turns; the model reads one string of tokens. A chat template renders the turns into that string with headers that say who speaks, and a loss mask decides which tokens are graded. The mechanics are owned elsewhere: how masked tokens drop out of the loss, and packing, on Alignment (section 1, its loss-mask widget); template syntax and special tokens on Tokenizers. Here is what they do to one real row of the Tulu 3 sample, rendered with open-instruct's "tulu" template and tokenized with the Qwen3 tokenizer.
<|user|>, <|assistant|>) and the end-of-text token after the answer, so the two messages become one line of text.<|assistant|> header with the prompt and starts at the answer's first token; at the far end <|endoftext|> is graded, which is how the model learns to stop.How much of a row is trained measured: the same template and masking on every set (at most 3,000 rows each, seed 0), share of all tokens that get loss.
In a reasoning set nearly every token is the model's own trace, so nearly every token is trained (98%). In an agent trajectory the observations (file contents, test output) are most of the tokens and are masked: only 14% is the agent's. Two sets with the same number of rows can carry five times different amounts of training signal, so a mixture balanced by rows is not balanced by signal.
open-instruct renders the conversation with its "tulu" template (<|user|>, <|assistant|> headers, end-of-text token after each answer; dataset_transformation.py lines 260 to 279 at commit 72f46040), then, for each non-assistant message, renders the conversation up to that message and masks that span of tokens, including the <|assistant|> header that follows it (finetune.py lines 401 to 444 at the Tulu 3 release commit b0899767; today's code builds the same labels another way, lines 1598 to 1728). Rows padded, not packed.
Template drift: the base model's tokenizer ships one template, the training script uses another, the serving stack a third; whitespace and the end-of-turn token are the usual differences. Render a row with each and diff the strings. No end token: if the token after the answer is masked or missing, the model never learns to stop. Masking by string search: finding "assistant" in the text to start the mask breaks on any answer that contains the word; render prefixes, as open-instruct does.
SFT can only copy; pairs teach a model to prefer the better of answers it can already write (DPO and relatives, or a reward model). Whatever separates chosen from rejected is what the model learns, intended or not.
| Recipe | Answers from | Who decides | Example |
|---|---|---|---|
| Human comparison | The lab's own model, two samples | Crowdworkers choose the more helpful (or, for red-teaming, the more harmful) one | HH-RLHF: base 44k helpful + 42k harmless comparisons, rejection-sampled 52k + 2k, online 22k (arXiv 2204.05862); the card warns the data are "not meant for supervised training" |
| Human ratings, absolute | Model responses, two per prompt | At least three annotators rate each response 0 to 4 on five attributes (helpfulness, correctness, coherence, complexity, verbosity); pairs or a regression reward model come from the scores | HelpSteer2: 21,362 rated responses, about ten thousand response pairs, CC-BY-4.0 (arXiv 2406.08673, card); verbosity is rated separately, so length can be controlled for |
| AI feedback, off-policy | Four models drawn from a pool of 17 | GPT-4 rates each answer 1 to 5 on four aspects, with a rationale | UltraFeedback: 63,967 prompts, 255,864 completions (arXiv 2310.01377) |
| AI feedback, on-policy mixed in | Models from a pool of 22, plus the model being trained | GPT-4o, same four aspects; chosen = highest mean, rejected = random lower | Tulu 3 8B: 271,409 pairs (Table 15); OLMo 2 the same with a 20-model permissive pool |
| Delta learning | A strong model and a weak model of the same family | Nobody: the stronger model's answer is chosen by construction | OLMo 3: Qwen3-32B chosen, Qwen3-0.6B rejected; for chat, length difference capped at 100 tokens (arXiv 2512.13961, 4.3) |
Does on-policy help? Tulu 3's ablation (Figure 11, read from figure): 8B SFT model 58.2; DPO on 100k off-policy pairs 60.0; on 100k pairs with one on-policy answer 60.7; on the combined 120k 61.2 (arXiv 2411.15124, section 5). On-policy pairs show the model its own likely mistakes; here that is worth less than a point, and the mixture is best.
UltraFeedback gives four rated answers per prompt; DPO needs one pair, and the rule that picks it is a data decision. Hugging Face's ultrafeedback_binarized card says it took the highest overall_score and a random other answer (the Zephyr paper, trained on it, says "highest mean score"); Argilla found overall_score is a critique score that "will give a 10 to responses that get a 1" in some rows, and rebuilt the pairs from the mean of the four aspect ratings, dropping ties. Real prompts from UltraFeedback's evol_instruct subset, three rules, in the figure (pick a prompt):
measured Across all 10,000 prompts the two common rules pick the same chosen answer for only 5,461 of the 9,935 prompts where both apply (55.0%; Argilla reported "a different chosen response in ~30K examples (out of ~63K)" for the whole set). Under the overall_score rule 1,298 of the 10,000 pairs are ties, so the label is noise; the mean rule drops them.
Within each UltraFeedback prompt, GPT-4's mean rating correlates with the answer's length at +0.33 on average (Spearman, 9,931 prompts with untied ratings and lengths) measured; the longest of the four answers is (one of) the top-rated in 46% of prompts, against 25% by chance. The correlation per aspect is in the first chart on the right.
Longer answers are often more complete, so this is not proof of bias; but a model trained on these pairs can lower its loss by writing more. Published: always choosing the longer answer is right 55.7%, 59.6% and 63.1% of the time on WebGPT, Stack Exchange and RLCD preferences, and a reward of length alone reproduces most of RLHF's measured gains on two of them (Singhal et al., Table 5 and Table 2). Across eight sets, the share of pairs whose chosen answer is longer (Qwen3 tokens; 50% means length says nothing) is the second chart.
6 of 8 sets lean towards the longer answer, most strongly Dolci-Instruct-DPO (67%); the exceptions are HH-RLHF harmless and Tulu 3 persona IF, where the chosen answer is more often the shorter one (plausibly because a safe refusal is short, and a constraint such as a word limit rewards brevity; not tested here). Human labels lean too: HH-RLHF helpful is at 59%.
The fixes are in the data or the loss: cap the length difference (OLMo 3, 100 tokens for chat), balance pairs by length, rate verbosity separately (HelpSteer2), or length-normalise DPO (Tulu 3). To detect it: the share of "chosen is longer" by length-gap bucket, and the within-prompt rating-length correlation, both below.
Mean within-prompt Spearman correlation between an aspect rating and answer length, UltraFeedback raw ratings measured.
Eight preference sets, measured the same way: lengths of the final chosen and rejected answers in Qwen3 tokens, ties and identical pairs, how the share of "chosen is longer" changes with the size of the length gap, who wrote the answers, and the pairs. A share of 50% in a gap bucket means length carries no information about the label there.
log2 of (chosen tokens + 1) / (rejected tokens + 1), clipped at ±4; right of the line, the chosen answer is longer.
Gap = |log2 ratio|; 1 means one answer is twice as long. Pairs with equal lengths or identical texts left out.
Raw openbmb/UltraFeedback evol_instruct subset, every prompt with four rated answers. overall_score is the critique score Argilla found unreliable; the other rules use the mean of the four aspect ratings.
A small open judge is mostly inconsistent rather than biased by position: shown the same pair twice, Qwen3-4B gives the same verdict in only 67% of 300 pairs; it scores the first-shown answer higher in 55% of untied judgements (a mild position bias); it agrees with GPT-4's chosen answer in both orders for 53%; and when its verdict is consistent it prefers the longer answer in 66% of 194 pairs. Judging each pair in both orders and keeping only consistent verdicts is the cheap fix; it doubles the cost and here drops a third of the pairs.
Not run here: generating our own delta pairs (a large and a small Qwen3 answering the same prompts). The Dolci-Instruct-DPO sample above already measures OLMo 3's delta pairs, and the method is published: Geng et al. pair a 3B model's answers with a 1.5B model's and, with preference tuning on that weak data, match Tulu 3's recipe on an 11-benchmark suite although supervised fine-tuning on the same data hurts (The Delta Learning Hypothesis, arXiv 2507.06187).
RL needs a reward for every sampled answer, millions of times. Where an answer can be checked mechanically (a number, a passing test, a formatting rule), RLVR uses a program, so a row is a prompt, a label (reference answer, tests, constraint parameters) and the name of a checker. The model learns whatever the checker rewards: a false negative (a right answer scored 0) pushes it away from correct behaviour, a false positive pays it for a wrong one. How the reward drives the update, and what verifier errors do during RL, is on RL for LLMs (section 5); here the question is whether the data's labels and checkers are right.
A checker extracts an answer from free text and compares it with the label (as strings after normalising LaTeX, or symbolically). One DeepSeek-R1 answer through six extractors from the root's lab (Tulu 3's GSM8K and MATH verifiers, the strict Minerva sentence, exact \boxed{}, "The answer is", Hugging Face's Math-Verify 0.8.0); in the figure, five R1 answers that make them disagree (toggle what they read):
5\frac{1}{8}; R1 boxes \dfrac{41}{8}. Only Math-Verify accepts. The last-number rule reads "8"; exact \boxed{} and Tulu 3's MATH verifier extract \dfrac{41}{8} and still reject it.55\%. On the answer after </think>, Math-Verify, Tulu 3's MATH verifier and the last-number rule accept. On the whole response Math-Verify rejects, and "The answer is" finds a 55 in the thinking and accepts.\boxed{} and the last-number rule extract 14 and accept; Math-Verify compares the whole set and rejects, as did the recorded verdict and the Llama judge.2^{6}\cdot3^{2}\cdot5^{2}; the answer is 14400. The two symbolic checkers, Math-Verify and Tulu 3's MATH verifier, accept; exact \boxed{} and the last-number rule reject.The last-number rule fails on anything that is not a single number (fractions, intervals, option letters); exact \boxed{} fails on \dfrac against \frac; R1 almost never writes the Minerva sentence. Math-Verify and Tulu 3's MATH verifier both compare symbolically and still differ on 1,227 answers. Reading the whole response changes Math-Verify's verdict on 142 generations, because the thinking boxes intermediate results: strip it first (split("</think>")[-1], as open-instruct's IF verifier does).
Re-run the dataset's own checker measured. OLMo 3's RL prompts (Dolci-Think-RL-7B) store up to 8 rollouts per prompt and Ai2's count of correct ones. On 1,400 math prompts of a 4,000-row sample (10,581 rollouts) Ai2 recorded 3,795 correct; Tulu 3's MATH verifier here gives 3,795 and Math-Verify 0.8.0 gives 4,246. Per prompt, Math-Verify's count matches Ai2's for 1,219 of 1,400 (and for all 1,400 with Tulu 3's MATH verifier, the one Ai2 used: an independent reproduction of their counts). Same rollouts, same labels, different checker, different reward.
12,358 DeepSeek-R1 generations for 6,000 problems of OpenR1-Math-220k (default split, a seeded sample of row groups), each checked by six extractors and compared with the two verdicts OpenR1 published (Math-Verify in February 2025; Llama-3.3-70B as judge on rows Math-Verify rejected).
Cell = share of the generations on which the row and column checker give the same verdict. Click a cell to list real disagreements between the two below.
For IF rows, Ai2's count matches the sum of partial credit (share of constraints met per rollout), not the number of rollouts meeting every constraint; the small gap is consistent with open-instruct's later fix to its word-counting checkers (commit 72f46040, "Fix IFEvalG word-counting checkers").
Not run here: a local model (Qwen3-1.7B) answering these problems. Two sets of real model answers (DeepSeek-R1's in OpenR1 and OLMo 3's stored rollouts) already show every kind of disagreement; a small local model would add messier answers at a GPU cost judged not worth it (decision of 2026-10-15).
measured, answer after </think>; every generation belongs to a problem OpenR1 verified at least once, so most should be right.
A prompt the model always solves gives every rollout the same reward, so under group-relative methods (GRPO and relatives) its advantage is zero and it teaches nothing; a prompt it never solves does the same. OLMo 3 generated eight rollouts per prompt from the initial checkpoint and removed "all samples that the model easily solves (that is, those with a pass rate greater than 62.5%)" (Sec. 4.4.2).
measured Over all 81,378 math, code and IF rows with a recorded pass rate, the highest is 0.625 (5 of 8), and 13,856 rows (17.0%) have a pass rate under 1/16 (in effect none of eight right), kept although they give no signal at the start of training: the 7B run filtered only from above.
A code row is a problem, hidden tests (input, expected output) and a sandbox that runs the program. Passing the gold solution does not make a suite strong: on hard problems TACO's tests accept wrong solutions often enough that "false positive rate" exceeds 90% (HardTests, arXiv 2505.24098). Mutation testing measures it: for 300 seeded problems, the gold solution and up to four mutants (one small change each: flip a comparison, add 1 to a constant, swap + and −, swap min and max) run against the problem's tests (up to 50) in a sandbox with no network and no file writes. A mutant that passes every test is, to the reward, the gold solution.
Of 870 mutants of 295 gold solutions, 167 (19%) passed every test, in 112 problems. Read by hand (20 survivors, src/notes/code_survivors.md): 10 change the output on some valid input (one prints a-b as a+b and passes both of its tests), 7 touch a boundary that valid inputs may never reach, 3 are equivalent. So roughly one mutant in ten is a wrong program the reward would pay for. Single-test problems are the weakest: 41 of 70 had a survivor, against 43 of 154 with more than 20 tests. The fix is in the data: generated inputs checked against the gold solution (HardTests, CodeContests+), or tests chosen because they kill mutants.
open-r1's Python set went from 35,735 problems (from PrimeIntellect's SYNTHETIC-1 pool) to 27,839 after 8-gram decontamination, to 15,068 in its "decontaminated-tested" version, where every gold solution passes its own tests (test_reward = 1 on every row measured; the card does not say how the others failed). The mutation test above samples this tested version.
IFEval defined 25 constraint types a program can check ("answer in all lowercase", "at least 300 words", "end with this exact phrase") over 541 prompts (arXiv 2311.07911); RLVR sets attach such constraints to ordinary prompts (Tulu 3's 14,973 IF rows, one each; Ai2's IF_multi_constraints_upto5, 95,373 rows with up to five, used for OLMo 3's RL). The reward is partial credit: open-instruct's IFEvalVerifier returns the share of constraints met (ground_truth_utils.py lines 310 to 355 at 72f46040), not IFEval's all-or-nothing score. On OLMo 3's IF rollouts measured, 7,545 rollouts meet all their constraints 370 times, partial credit sums to 2,655.0, and Ai2 recorded 2,645 correct: a rollout meeting three of five constraints earns 0.6.
published GSM8K and MATH (7,473 and 7,500 training problems); DeepScaleR, about 40,000 competition problems; DAPO-Math-17k, 17K prompts each with an integer answer (so last-number checking is enough); Big-Math, over 250,000 questions with verifiable answers; Guru, 92K verifiable examples across math, code, science, logic, simulation and tables (arXiv 2506.14965); for code, TACO (26,443 problems) and KodCode (447K question, solution and test triplets).
Tulu 3's IF rows use 24 constraint types, about 620 rows each (measured, root lab); IF_multi follows IFBench's training data, which pairs Tulu 3 SFT prompts with "at least one and up to n constraints" and adds 29 new constraint types (arXiv 2507.02833). IFEval scores in a strict and a loose mode (the loose one also tries the answer without its first line, last line or markdown asterisks).
For agents a row is a task the model acts in. A software-engineering (SWE) task is a repository at a commit, an issue, a container image that can run the tests, and the tests that decide success: FAIL_TO_PASS (tests the fix must make pass) and PASS_TO_PASS (tests that must keep passing). The model explores and edits through tools; its trajectory (actions, observations) is recorded and the tests score it. How harnesses and rollouts run is on Harnesses for training and evaluation (its Environment lab tab, and section 6 for turning rollouts into training data); this section is about the rows.
| Set | What | Size (published) | How built |
|---|---|---|---|
| SWE-bench Verified | Evaluation tasks | 500, human-validated | Subset of SWE-bench's test set (an evaluation set: never train on it) |
| SWE-Gym | Training tasks + trajectories | 2,438 tasks from 11 repositories; 491 successful trajectories | Environments set up by hand; trajectories by rejection sampling from GPT-4o and Claude 3.5 Sonnet with OpenHands; fine-tuning Qwen2.5-Coder-32B on them took SWE-bench Verified from 7.0% to 20.6% (Table 3) (arXiv 2412.21139) |
| SWE-rebench | Training tasks | 21,336 tasks from 3,468 repositories | Automated: about 450,000 pull requests mined, install recipes written by an LLM and refined from error logs, quality scores from a fine-tuned LLM attached as metadata (arXiv 2505.20411) |
| SWE-smith | Synthetic tasks + trajectories | 50,137 tasks from 128 repositories; 5,016 trajectories | Bugs injected into working repositories so the tests fail; Claude 3.7 Sonnet trajectories, 36% of 17,906 attempts resolved (arXiv 2504.21798) |
| nebius SWE-agent trajectories | Trajectories, success and failure | 80,036, of which 13,389 resolved | SWE-agent with fine-tuned Llama models on SWE-bench-extra; a target flag per trajectory (card) |
| xLAM (APIGen) | Tool-calling rows | 60,000 from 3,673 APIs in 21 categories | Generated calls checked for format, then executed, then judged for meaning; 95.3% of 600 inspected fine (arXiv 2406.18518) |
What a task row holds measured on all rows of SWE-Gym (2,438) and SWE-rebench's filtered split (6,542):
The gold patch is small (median 12 added lines in SWE-Gym, 12 in SWE-rebench), and success is often a single test: 45% of SWE-Gym tasks and 58% of SWE-rebench tasks have exactly one FAIL_TO_PASS test. One test is a narrow definition of "fixed": a patch that special-cases the tested input passes it (the Reward Hacking page collects such cases). SWE-rebench attaches LLM-predicted scores (issue clarity, difficulty, test quality, 0 to 3) as metadata instead of filtering on them, so the user chooses the cut.
One resolved trajectory from nebius's set, turn by turn; the dataset's own mask field marks the trained turns (the card does not document it; in every row we read it is true exactly on the agent's turns).
measured Across 3,000 trajectories (a seeded sample of row groups): 568 of 3,000 resolved (18.9%; the full set's flag gives 13,389 of 80,036, 16.7%); resolved ones are shorter (median 11.5 agent turns against 19); median 11,780 tokens per trajectory, of which the agent wrote 18%. Most-used actions: edit (21,343), python (10,765), open (7,487), search_dir (6,651), search_file (4,051), ls (3,698).
Answer first, question second: ToolGrad builds a valid chain of tool calls first and only then writes the user query for it, reaching a 99.8% pass rate on ToolBench's 16k+ real APIs against 63.8% for query-first search; Gemma 3 12B fine-tuned on 500 of its examples scored 83.1 on BFCL against Gemini 2.5 Pro's 83.2 (arXiv 2508.04086). The half that must be correct is constructed, not sampled and then checked. A trajectory contains its environment: Terminal-Universe replays the file operations recorded in agent trajectories to rebuild their workspaces, lets an agent fill in missing files and dependencies, and grows tasks from them: 37.3k task-sufficient environments; SFT of Qwen3.5-27B on them gained 11.9 points on Terminal-Bench 2.1 (arXiv 2609.04148). Reshape an existing environment: EnvHarness wraps a static environment in plug-in components, written by an LLM from the policy's diagnosed failures, keeping the original verifier (up to 9.0 points on held-out instances; arXiv 2608.19880). A fourth data type sits beside instructions and traces: operational know-how, such as Repo-To-Skill's AREX-Skill Library of 5,000+ verified skills distilled from 1,000 ML repositories, which made a GPT-5.5 research agent score 134.3% higher on MLE-bench (relative) at a fixed budget (arXiv 2609.02749).
The pretraining steps (dedup, decontamination, filtering) all apply, with three differences: rows are few, so each one matters; prompts are reused on purpose across stages; and the evaluations that will be reported are known in advance, so contamination is both easier to check and more damaging.
That is by design: one pool, a different "what good looks like" per stage. It has two consequences. A prompt contaminated in one stage is contaminated in all of them, so decontaminate once, at the pool. And an RL prompt can be a jailbreak attempt with a formatting rule bolted on: 10,741 rows (11%) come from the two adversarial safety subsets (WildJailbreak, WildGuardMix); rewarding "answer in lowercase" on a harmful request rewards compliance with the format, so the safety behaviour has to come from elsewhere.
After lower-casing and collapsing whitespace. Rows of the samples on this page; the large sets are samples (sizes in the Dataset atlas), so these are lower bounds for the full sets. Prompts under 20 characters left out.
measured Every row of IF_multi_constraints_upto5 (OLMo 3's RL constraints) records the SFT row its base prompt came from: of 95,373 rows, 92,617 come from Tulu 3 SFT subsets (Persona Hub 24,995, Evol CodeAlpaca 11,243, Aya 10,502, ...), and all 493 whose id is in our 5,000-row SFT sample start with that SFT row's prompt.
The Decontamination, PII and data governance page found that Tulu 3's RLVR prompts contain 70 MMLU high-school-mathematics test questions word for word (0.50% of MMLU, so under Tulu 3's 2%-per-benchmark threshold, but 26% of that subject): a per-dataset percentage rule lets copies through when the benchmark is large, so remove matching rows, not only whole datasets. Its scanner, run unchanged here (same normalisation, the same 29,615 items of seven benchmarks, Tulu 3's rule: an item is flagged when more than 50% of its tokens sit in 8-grams shared with one training row) over the other sets measured:
Read pair by pair (labels in src/notes/contam_read.md): 27 of 49 flagged pairs are real copies, and 22 of them are in IF_multi_constraints_upto5 (21 rows): MMLU high-school mathematics, ARC and HellaSwag items inside FLAN-style task templates, with constraints appended. The base prompts come from the same pool as Tulu 3's RLVR set, where the Decontamination page found the 70 MMLU copies. The other flags are boilerplate (MMLU option lists like "1,2,3,4", number lists in code problems).
IFEval against the instruction-following training sets. IFEval is not in the shared benchmark list, so it was checked here with the same normalisation and rule: IF_multi: 21 of 541 IFEval prompts flagged (95,373 rows scanned); persona IF preferences: 2 of 541 IFEval prompts flagged (19,890 rows scanned); Tulu 3 RLVR-IFeval: 3 of 541 IFEval prompts flagged (14,973 rows scanned). All 26 read: every one shares only constraint wording ("First repeat the request word for word without change", "wrapped in double angular brackets"), none contains the IFEval request. An n-gram rule on instruction-following data has to strip the constraint text first, or it flags the template.
Filters for teacher artefacts (identity, knowledge-cutoff sentences, repetition) are cheap and narrow: on the Tulu 3 sample, Ai2's own filters remove 30 of 5,000 rows, while two plausible extra rules (English only, no refusals) would remove whole subsets that exist on purpose (the root's Post-training data lab runs them).
| Recipe | SFT | Preference | RL with verifiable rewards |
|---|---|---|---|
| Tulu 3 (2024-11) | 939,344 rows, 19 sources (Table 7) | 8B: 271,409 pairs, on- and off-policy, GPT-4o judge (Table 15) | 29,946 prompts: GSM8K 7,473, MATH 7,500, IF 14,973 (Table 22) |
| OLMo 2 (2025-01) | Tulu 3's mixture (paper: 939,104 prompts; card 939,344) | 7B: "366.7k" in the paper, 378,341 on the card; 20-model permissive pool | GSM8K, MATH and IF prompts from Tulu 3; PPO for 7B and 13B |
| DeepSeek-R1 (2025-01) | 804,745 rows (Table 5): rejection-sampled reasoning plus DeepSeek-V3 data | Preference reward models only in the final RL stage | Rule-based accuracy and format rewards |
| OLMo 3 Think (2025-12, paper) | 2,268,468 (7B, Table 17) | Delta learning: Qwen3-32B against Qwen3-0.6B, 200,000 prompts (Table 19) | 104,869 prompts (7B, Table 20): math, code, IF, chat with an LM judge; prompts with pass rate > 62.5% removed |
| OLMo 3 Instruct | 2,152,112 (Table 30) | 259,922 pairs: delta, GPT-4.1-judged and multi-turn (Table 30) | No offline difficulty filter |
All published, from each paper's tables (checked 2026-10-15). Where a paper and its card disagree the table shows both.
Tulu 3's Table 7 DPO column sums to 424,605 against its printed total 425,145, and its 8B preference card says 272,898 pairs against Table 15's 271,409.
For a small model (150M to 350M parameters), the old version of this page suggested: SFT on a SmolTalk-style mix of a few hundred thousand rows (SmolLM2's 135M and 360M models used the smaller "smol-smoltalk"), a small on-policy DPO set judged UltraFeedback-style, and RLVR only for math or instruction following at GSM8K level, since pass rates on hard pools are near zero at that size and a prompt never solved gives no signal (section 6). The reasoning holds; the sizes are a suggestion, not a measured recipe.
Prompt pool first: sources per skill (math, code, science, chat, IF, safety, tool use), each with licence and origin recorded; exact and near dedup across sources; decontamination of prompts against every evaluation you will report, by 8-gram overlap plus an embedding pass for paraphrases, removing rows, not only datasets. SFT: generate several traces per prompt with a permissively licensed teacher; keep those whose answers pass a checker (math), tests (code) or constraint verifiers (IF); filter teacher artefacts, language mixing and truncation; budget by trained tokens. Preference: on-policy samples from the SFT model plus a stronger model; judge with a rubric and both orders, or use delta pairs; cap length differences; drop ties. RL: prompts with labels in canonical form; checkers tested on reference solutions and on model outputs before use; offline difficulty filter (pass rate between 0 and about 60% over 8 rollouts). Throughout: per-subset counts at every step, a read sample, the checker and generator versions stored per row, and ablations per subset, because quality is measured by the model trained on it. Scale: generation dominates cost (millions of long traces); checking and dedup are cheap CPU jobs.
The minimum to store per row: source dataset and row id, generator model and version, judge or checker and version, licence, the prompt's origin (to trace reuse across stages), decontamination result, and the date. Every later filter depends on these.
A distilled model claims to be another company's assistant: the teacher's identity statements were in the responses. Filter identity and knowledge-cutoff patterns (Ai2's open-instruct scripts do), add hard-coded identity rows for your own model, and check by sampling identity questions after training.
Measured on Apple M1 Pro (CPU), 2026-10-15, at low priority on a shared machine; counts and verdicts are deterministic and transfer to any machine, timings are not quoted. Samples (repository, commit, files or row groups, sha256) are in src/inputs/pd_manifest.jsonl and the root's src/data/manifest; full-set compositions are Hugging Face's dataset statistics (src/inputs/hf_statistics/, fetched 2026-10-15). Scripts in src/scripts/: pd_sft.py (lineage metrics, masks), pd_selfinst.py (ROUGE-L), pd_pref.py (pairs, binarization), pd_check.py and pd_check_sum.py (extractors on R1 answers), pd_rlcheck.py (OLMo 3 rollouts), pd_code.py (mutation testing, sandboxed), pd_env.py (tasks, trajectories), pd_contam.py (the Decontamination page's scanner), pd_quality.py. Checkers are the root lab's (src/post/pt_checkers.py) and open-instruct's at commit 72f46040. Lengths are Qwen3 tokens. Published facts with their quotes and table checks: src/notes/sources.md. Hand labels: src/notes/.
One GPU run: Qwen3-4B (4-bit GGUF, llama.cpp on the M1 Pro GPU) as a judge on 300 UltraFeedback pairs in both orders (src/scripts/run_pending.sh, section 5). Two other runs were dropped as not worth their cost (local answers to OpenR1 problems; our own delta pairs); the page uses published model outputs and the delta-learning paper instead.
Every post-training dataset measured on this page, on one time axis and one set of measurements. Pick a dataset (dot or button) to see what one row is, its size and licence, what was measured on it here, and real rows. Full-set sizes are Hugging Face's statistics (fetched 2026-10-15); measurements are on the samples named, measured on Apple M1 Pro CPU.
The parent: the whole data side at overview depth. Its Post-training data lab tab (20 min) runs Ai2's SFT filters, the six checkers on reference solutions and the contamination checker on real rows. 31 min, plus 7
Synthetic pretraining text and the generator terms-of-use table (section 8) this page links to. 42 min, plus 13
The scanner used in section 8, the 70 MMLU questions in Tulu 3's RLVR set, embeddings for paraphrases. 38 min, plus 21
Near-duplicate detection, which the ROUGE-L filter is not. 34 min, plus 23
Model-based selection, including LESS-style gradient selection used for instruction data. 42 min, plus 13
Sequence packing and document boundaries, the other half of section 4. 34 min, plus 5
Every training stage compared. 26 min, plus 22
Losses, loss masking and packing animated, one preference pair through eight losses. 33 min, plus 4
Special tokens and chat templates: the mechanics behind section 4. 46 min, plus 15
Group advantages (why prompts solved always or never teach nothing) and a verifier gallery on 160 answers. 53 min, plus 13
What a policy does with a weak checker or test suite: the cases. 33 min, plus 12
Distillation as a training method (logits, sequence-level), beyond distilled data. 25 min, plus 8
RL environments and rollouts turned into datasets, built and run. About 36 min.
Judge biases (position, length, self-preference) from the evaluation side. About 17 min.
The most complete open description of a post-training data pipeline: Tables 7, 8, 15, 22. 2 to 3 hours; data sections 1 hour.
Dolci: thinking and instruct mixtures, delta learning, offline difficulty filtering. Data sections about 1 hour.
The bootstrapping loop and the ROUGE-L filter. 30 min.
1,000 rows and the Superficial Alignment Hypothesis. 25 min.
AI-feedback preference data; read with Argilla's cleaned card. 30 min.
Human preference collection at scale. 1 hour; section 2 for the data.
How much of RLHF's gain is length. 30 min.
Rejection-sampled reasoning SFT data, Appendix B.3.3 and Table 5. Data parts 30 min.
Verifiable instruction constraints and training on them. 20 min each.
Human ratings on five attributes, verbosity among them; about ten thousand response pairs. 30 min.
How weak tests mislead code RL, measured. 30 min.
Three ways to build SWE environments: by hand, mined, synthesised. 30 min each.
Ai2's code for all of the above: chat templates, masking, verifiers, data filters. Browse 1 hour.