← Datasets

Compare

RedPajama V2
#1167 · remove
Reducing Doom Loops with Final Token Preference Optimization
#626 · remove
Kinddatasetdataset
Published2023—
LicenseNo HF card YAML license. Documents: Common Crawl Foundation Terms of Use. Loading/processing code Apache-2.0 (card).Apache-2.0
License familyOtherPermissive
AccessFreefree
Language codesde, en, es, fr, iten
Modalitiestexttext
Downloads (last month)12,288—
Likes409—
Last updated2024-11-21—
Taskstext-generation—
ScaleCard: >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.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)
TypePretraining corpus / unfiltered CCNet web + quality signals + minhash/duplicate idsPrompt-only training mixture / ShareGPT-style prompts for loop mining
CostFreeFree
LanguagesCard 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 (web). No images/code subset.Text-only
Domainweb pre-training; Common Crawl multilingual (en/de/fr/es/it); quality-signal annotated CCNet dumpsreasoning-model degeneration; doom-loop elicitation; preference-data pipelines
Time period84 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.
PurposeOpen 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: 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
AuthorsTogether 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).
BiasEnglish-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 qualityCCNet 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 sizeNo 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 contextMixed (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 (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 qualityHighHigh
NoveltyHigh (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.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 methodDownloadDownload
StaticUnknown (HF lastModified 2024-11-21; CC window through 2023-14; one-shot).Unknown (HF lastModified 2026-07-28)
ProcessedUnknownYes
SummaryOpen 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).