← Datasets

Compare

MathInstruct
#1169 · remove
RedPajama V2
#1167 · remove
Reducing Doom Loops with Final Token Preference Optimization
#626 · remove
Kinddatasetdatasetdataset
Published20232023—
LicenseMIT (HF card YAML) for the compilation. Subset licenses (card table): GSM8K MIT; GSM8K-RFT not listed; AQuA-RAT Apache-2.0; MATH MIT; TheoremQA MIT; Camel-Math CC BY-NC 4.0; NumGLUE Apache-2.0; MathQA Apache-2.0; newly curated MIT. GPT-4 terms may still apply to the ✯ slices if used to train a distributed model.No HF card YAML license. Documents: Common Crawl Foundation Terms of Use. Loading/processing code Apache-2.0 (card).Apache-2.0
License familyPermissiveOtherPermissive
AccessFreeFreefree
Language codesende, en, es, fr, iten
Modalitiestexttexttext
Size100K to 1M rows——
Downloads (last month)15,20812,288—
Likes307409—
Last updated2024-05-152024-11-21—
Taskstext-generationtext-generation—
Formatsjson——
ScalePaper Table 1 260K instruction–response pairs. Hub/datasets-server default train 262.0K / datasetsServerInfo numRows 262,039 / 3 columns / 1 parquet 99.1 MB. LFS MathInstruct.json 212.5 MB. size_categories 100K<n<1M. usedStorage Unknown. Hub overview 182.1K downloads / 306 likes at check. gated=false. Paper source counts (not extra overlapping n; sum 253.8K vs paper 260K): AQuA-RAT CoT 90K; Camel-Math CoT 50K; GSM8K-RFT CoT 28K; MathQA PoT 25K; GSM8K PoT 14K; NumGLUE PoT 13K; AQuA-RAT PoT 9.7K; GSM8K CoT 7K; MATH CoT 7K; MATH PoT 7K; College-Math CoT 1.8K; TheoremQA PoT 700; TheoremQA CoT 600.Card: >100B text documents from 84 CC snapshots (CCNet). 30B documents carry quality signals; ~20B unique after Bloom exact-dup. head_middle raw table 32.9B docs / 50.6T estimated tokens; deduplicated head_middle 20.8B / 30.4T. Paper: RedPajama V1+V2 together >100T tokens. Hub sample config is a tiny 2023-06 slice (listings 2023-06/0000–0009 × 5 langs × head/middle) — not extra n. datasets-server 501 (arbitrary Python / trust_remote_code). usedStorage Unknown (documents live on data.together.xyz, not Hub LFS). Hub overview 1.6M downloads / 405 likes at check. gated=false.HF card: 478,229 final rows, size_categories 100K<n<1M, train.jsonl. 843 downloads / 121 likes at check.
FormatJSON (MathInstruct.json) plus Hub parquet convert. Columns: source, output, instruction. Single default config / train split. source paths like data/CoT/aqua_rat.json, data/PoT/aqua_rat_filtered.json, data/CoT/gsm_rft.json, data/PoT/numglue.json.json.gz documents (CCNet schema: url, date_download, digest, length, nlines, source_domain, title, raw_content, cc_segment, language, language_score, perplexity, bucket). Parallel quality_signals json.gz, duplicates parquet, minhash parquet. Hub also ships listings/, urls/, sample/, RedPajama-Data-V2.py, _CC_SNAPSHOT_IDS, ut1_domain_categories.json.JSONL (train.jsonl)
TypeAnnotated math-reasoning SFT / Alpaca instruction + CoT or PoT output + sourcePretraining corpus / unfiltered CCNet web + quality signals + minhash/duplicate idsPrompt-only training mixture / ShareGPT-style prompts for loop mining
CostFreeFreeFree
LanguagesEnglish 100% (card language:en). Preview is English GRE/GMAT/GSM8K-style items plus Python PoT. No LID table. Per-language percents N/A.Card language:en/de/fr/es/it. Deduplicated head_middle (card table): en 14.5B docs / 20.5T tok (69.7% of 20.8B docs); de 1.9B / 3.0T; fr 1.6B / 2.7T; es 1.8B / 2.8T; it 0.9B / 1.5T. Raw head_middle: en 24.5B / 37.0T; de 2.7B / 4.1T; fr 2.2B / 3.7T; es 2.3B / 3.9T; it 1.2B / 1.9T. Per-language percents of the tail partition Unknown. ccnet_language_score is a column.English
ModalityText-only (English + LaTeX + Python PoT). No images.Text-only (web). No images/code subset.Text-only
Domainmathematical reasoning; hybrid CoT + PoT instruction SFT; grade-school through college mathweb pre-training; Common Crawl multilingual (en/de/fr/es/it); quality-signal annotated CCNet dumpsreasoning-model degeneration; doom-loop elicitation; preference-data pipelines
Time periodPaper arXiv 2309.05653 (Hub publishedAt 2023-09-11T17:47:22.000Z). HF createdAt 2023-09-11; lastModified 2024-05-15T00:06:46Z. Seed GSM8K/MATH/AQuA-RAT/MathQA/NumGLUE/Camel-Math/TheoremQA. One-shot GPT-4 hybrid CoT/PoT curation, not a live contest crawl.84 Common Crawl snapshots CC-MAIN-2014-15 through CC-MAIN-2023-14 (_CC_SNAPSHOT_IDS). Paper arXiv 2411.12372 (Hub publishedAt 2024-11-19T09:35:28Z). HF createdAt 2023-10-26; lastModified 2024-11-21T09:33:17Z. One-shot CCNet processing, not a live crawl.HF createdAt 2026-05-02; lastModified 2026-07-28. Blog/tweet 2026-07-07. Discord posted 2026-07-07.
PurposeLightweight hybrid-rationale math instruction tuning so open models generalize beyond a single contest set (MAmmoTH)Open unfiltered web pretrain with per-document quality signals so others can reproduce Gopher/C4/RefinedWeb-style filters; also the web-only successor to RedPajama-1TPrompt-only mix to elicit repetitive doom loops, then mine FTPO chosen/rejected tokens
Used forPaper MAmmoTH / MAmmoTH-Coder 7B–70B (Llama-2 and Code Llama). Hub overview 182.1K downloads / 306 likes at check. Paper 11 upvotes / 26 linked models / GitHub TIGER-AI-Lab/MAmmoTH 383 stars at paper-metadata check. Distinct from already-cataloged MetaMathQA (GPT-3.5 bootstrap) / OpenMathInstruct-2 (Llama-3.1-405B 14M) / NuminaMath-1.5.Paper: Snowflake Arctic, Salesforce XGen, AI2 OLMo. Hub overview 1.6M downloads / 405 likes at check. Paper 59 upvotes / GitHub togethercomputer/RedPajama-Data 4,977 stars at paper-metadata check. Live-sheet OLMo Mix uses related CC mixes — this is the standalone V2 corpus.None
AuthorsYue, Qu, Zhang, Fu, Huang, Sun, Su, Chen (Ohio State / Waterloo / HKUST / Edinburgh / 01.AI; arXiv 2309.05653). Human contest/exam authors for GSM8K/MATH/AQuA-RAT/MathQA/NumGLUE seeds. New rationales (paper ✯): GPT-4 CoT/PoT on TheoremQA, College-Math, GSM8K PoT, AQuA-RAT PoT, MATH PoT. Camel-Math is GPT-4 unvalidated. GSM8K-RFT is Llama-generated then validated.Together Computer / Weber, Fu, Anthony, Oren, Adams, Alexandrov, Lyu, Nguyen, Yao, Adams, Athiwaratkun, Chalamala, Chen, Ryabinin, Dao, Liang, Ré, Rish, Zhang (arXiv 2411.12372). Web authors from Common Crawl. Quality classifiers trained on Wikipedia/OpenWebText/Books/PALM-style references (English-only for several fastText scores).Liquid AI mix of public math/code/chat sources (GSM8K, MATH, MMLU aux, MathQA, CommonsenseQA, PubMedQA artificial, APPS, MetaMathQA, UltraInteract, UltraChat, Evol-CodeAlpaca, AutoIF, LMSYS Arena, LiquidAI/ifstruct_generated).
BiasAQuA-RAT CoT 90K is the largest slice (GRE/GMAT MCQ). Camel-Math 50K is GPT-4 unvalidated college-style. Hybrid CoT+PoT but AQuA-heavy. GSM8K/MATH train seeds only (paper). Distinct from already-cataloged MetaMathQA / OpenMathInstruct-1/2 / NuminaMath-1.5. TIGER-Lab/WebInstructFull is MAmmoTH2 web-mined instructions (CC BY-NC) — not extra n here.English-heavy even after five-language CCNet (deduped en 14.5/20.8B ≈ 70%). head/middle vs tail is Wikipedia-LM perplexity, which overweights wiki-like register. English-only fastText (rps_doc_ml_wikiref_score / rps_doc_ml_palm_score). UT1 domain blacklist and LDNOOBW toxicity tags are available but not applied by default. Distinct from already-cataloged FineWeb / FineWeb 2 / DCLM-baseline / Falcon RefinedWeb / TxT360 / Dolma (this dump ships raw+signals rather than a single filtered mix).Math/code/instruction-chat heavy (capped ~50k per source). Public eval/test prompts and noncommercial/unclear-redistribution sources excluded. Prompt-only: gold answers and answer cues stripped.
Text qualityPreview row 0 (AQuA parsecs: 6.52e5 ly / 3.26 = 2e5) and row 1 (COMMON permutations 6!/(2!2!)=180) are well-posed with matching answers. Row 2 PoT AQuA (team shooting 84×6 then 92→85) executes to 497. GPT-4 PoT slices were execution-filtered against gold (paper). Residual: AQuA-RAT human CoT is a known-noisy rationale set; Camel-Math unvalidated; College-Math 1.8K GPT-4 unvalidated; not independently re-solved beyond preview 0–2 here.CCNet line-dedup + perplexity buckets (head/middle/tail). Quality-signal schema covers Gopher/C4/RefinedWeb heuristics, importance-resampling scores, minhash bands at Jaccard 0.7/0.8/0.9/1.0, and Bloom exact-dup ids. datasets-server 501 so Hub rows were not sampled here; README schema example is a short English letter (length 1095 / nlines 8 / language_score 0.92 / perplexity 217.2 / bucket head). Residual: unfiltered CC boilerplate/PII; tail partition has no quality annotations; first README table header says 'deduped' under the Raw section — catalog the two tables as raw 32.9B/50.6T vs unique 20.8B/30.4T.Prompts taken from established public datasets after answer-trace filtering. No gold responses in the release.
Sample sizeSingle default train 262,039. No val/test. source is a column not a Hub config. Paper 260K vs Hub 262,039 — catalog Hub 262,039. Do not add akjindal53244/Arithmo-Data (548,761 remix) or TIGER-Lab/WebInstructFull as extra n.No Hub train/val/test of the full dump. Configs: default (partition × snapshots × languages) and sample. Partitions head_middle vs tail. Duplicate ids / minhash are overlays, not extra documents. Do not concat with already-cataloged FineWeb / DCLM-baseline / TxT360 or with RedPajama-Data-1T.Single train split 478,229. Per-source caps in README (e.g. MMLU aux 50,000; APPS 5,000; ifstruct 20,000).
Long contextNo (short exam/contest items; PoT is a short Python block). Exact token histogram Unknown without aggregating.Mixed (full web documents; ccnet_length / rps_doc_word_count vary). Exact token histogram Unknown without aggregating json.gz. Deduped head_middle ~30.4T / 20.8B ≈ ~1.5k tok/doc if both figures hold.No (short prompts; loops appear in generated completions, not in this file)
Intermediate stepsYes (compile 7 existing rationale sets; GPT-4 new CoT/PoT on selected sets; drop GPT-4 programs whose execution mismatches gold; unify to Alpaca). Code at github.com/TIGER-AI-Lab/MAmmoTH.Yes (84 CC WARCs → CCNet language ID + wiki-LM perplexity head/middle/tail; quality-signal annotation on head_middle; Bloom exact-dup ids kept rather than dropped; minhash LSH bands). Code Apache-2.0 at github.com/togethercomputer/RedPajama-Data.Yes (source subsetting, answer-cue stripping, row filters, ShareGPT conversion)
Idea qualityHighHighHigh
NoveltyHigh (public 262k hybrid CoT+PoT landmark vs already-cataloged MetaMathQA 395k / OpenMathInstruct-2 14M)High (public 20.8B-doc / 30.4T-token signal-annotated CC dump vs already-cataloged FineWeb / DCLM / TxT360 filtered mixes)Medium (repackaged public prompts for a new failure-mode pipeline)
Text conversionReady JSON/parquet; load_dataset('TIGER-Lab/MathInstruct', split='train'). ~213 MB JSON / 99.1 MB parquet — no streaming required. Do not concat TIGER-Lab/WebInstructFull or already-cataloged MetaMathQA / OpenMathInstruct-2 as extra n.Ready json.gz via load_dataset('togethercomputer/RedPajama-Data-V2', name='default', partition='head_middle', snapshots=[...], languages=[...], streaming=True) or wget from data.together.xyz (~1TB/snapshot). datasets-server 501 — do not wait on viewer. Sample config is for exploration only. Sibling togethercomputer/RedPajama-Data-1T is V1 (LLaMA-mix reproduction) — do not concat as extra n.Ready JSONL
Collection methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2024-05-15; one-shot).Unknown (HF lastModified 2024-11-21; CC window through 2023-14; one-shot).Unknown (HF lastModified 2026-07-28)
ProcessedUnknownUnknownYes
SummaryLightweight hybrid-rationale math instruction tuning so open models generalize beyond a single contest set (MAmmoTH)Open unfiltered web pretrain with per-document quality signals so others can reproduce Gopher/C4/RefinedWeb-style filters; also the web-only successor to RedPajama-1TAntidoom mines the first token of a detected loop (≥4 repeats, ≥60 chars), then trains LoRA with Final Token Preference Optimization (FTPO): one rejected token vs up to 20 chosen alternatives, logit-space KL, two-part regularization. Early LFM2.5-2.6B: 10.2%→1.4% doom-loop rate; Qwen3.5-4B greedy: 22.9%→1%, with eval gains attributed to fewer loops. Early-stop at chosen_win≈0.35. Prompt mix LiquidAI/antidoom-mix-v1.0 (478,229 rows) used to elicit loops. Enrichment (2026-11-03 re-share; page updated 2026-10-27): the post's three-mechanism anatomy - (1) overtrained high-prior tokens become fallbacks under uncertainty (loop-starting tokens in the LFM2.5-2.6B checkpoint: ' the' 11.4%, ' So' 4.5%, 'Alternatively' 3.2%, 'Wait' 2.6%, ' But' 2.5%); (2) each repetition self-reinforces toward probability 1, with semantic repetition preceding textual repetition (Duan et al.); (3) low-temperature decoding has no exit, and looping persists even at temp 0.67 once saturation sets in. Recipe detail: LoRA rank 128-256 over all attention/MLP projections plus lm_head, LR 4e-6 to 2e-5, one epoch; about 1 hour on 8x MI325 to generate 20K pairs and 1-2 hours on 1x MI325 to train; overtraining creates NEW loop points, and multiple Antidoom rounds help because each round exposes new loop-starting tokens. Notable secondary finding: after de-looping, the temp=1.0 sampling advantage disappears and near-greedy decoding wins - the authors suggest the 'higher temperature helps reasoning' heuristic was partly a doom-loop artifact. Cross-reference: the same reasoning-loop failure in Qwen3.5-0.8B was fixed without any training in ID 1798 by deleting a weight direction; Antidoom is the training-side counterpart, positioned against inference-time repetition_penalty (degrades performance) and anti-repetition RL (rollout-expensive).