# Pretraining data for a ~1-2B decoder LM, ~30-60B tokens. Sources, evidence, mixture Research notes compiled 2026-11-05. Scope: open data choices for a run of 256 H100-hours (~4-6e20 FLOPs). The metric is the unweighted mean bits-per-byte across unknown domains, plus MMLU/HellaSwag/ARC/PIQA-style base tasks. ## Legend - **[V]** = verified today. That means one of: - checked with the HF Hub API: gating, file listing and sizes, README, parquet footers, the first ~2.5 MB of files; - read in the text of a paper or blog that I fetched; - computed by me from released result files. - **[R]** = recalled from memory or taken from a secondary summary, and not re-checked. Treat [R] as plausible but unconfirmed. - Token counts use the tokenizer named by each source. Our own BPE (32k-64k vocab) will give somewhat different counts. For planning, assume: - English prose: about 4.3-4.7 UTF-8 bytes per token; - code: about 3-3.5 bytes per token; - LaTeX: about 3.5 bytes per token. - Gating was checked with `HfApi().dataset_info(...).gated` and `auth_check` using this machine's HF_TOKEN (user `Frogtree12`). **That token currently has access to none of the gated repos**, including the "auto" ones; see section 9. --------------------------------------------------------------------------------------------------- ## 0. TL;DR 1. **At our scale, the eval metric rewards mixing in each domain's data more than polishing the web subset.** I re-analysed AI2's released DataDecide results (1B params, 100B tokens, 25 corpora, 3 seeds) [V]: - On mean log-perplexity over 11 domains, multi-source mixes (web + code + papers + Reddit + books + wiki + math) clearly beat single-source filtered web. - Dolma1.7 scores 2.46. - DCLM-Baseline scores 2.66. - FineWeb-Edu scores 2.93. - The seed standard deviation is about 0.003. - On downstream tasks the order flips. DCLM variants with stronger quality filters score about 59 on the OLMES 10-task average. DCLM scores 57.9, FineWeb-Edu 57.1, and Dolma1.7 53.2. - A 50/50 mix of DCLM and Dolma keeps most of the downstream score (56.3) and most of the perplexity gain (2.48). - **Conclusion:** use a strong filtered-web backbone (DCLM plus FineWeb-Edu, plus FinePDFs-Edu), and give every plausible eval domain its own non-trivial share: code, math, papers, books, Wikipedia, Q&A/forums, multilingual. 2. **Best web backbone that is available today, ungated, and has evidence at our scale:** - `HuggingFaceFW/dclm_100BT` (DCLM-baseline) - `HuggingFaceFW/fineweb_edu_100BT` - `HuggingFaceFW/finepdfs_edu_100BT` (English FinePDFs-Edu) These are the "Smol-Data" 100B-token random subsets released 2026-03. Each is 100 parquet files of 2.4-3.0 GB (about 1B tokens per file) with a `text` column [V]. Evidence: in HF's FinePDFs ablations (1.67B params, 36B tokens, almost exactly our scale), FinePDFs-Edu alone beat Nemotron-CC v2, and the best results came from PDFs mixed with FineWeb-Edu + DCLM [V]. 3. **Nemotron-CC (the dataset with the strongest benchmark results) is gated "manual" on HF** (v2 and v2.1, NVIDIA Data Agreement) [V]. However, **Nemotron-CC v1 is publicly downloadable from Common Crawl's bucket** (`data.commoncrawl.org/contrib/Nemotron/Nemotron-CC/`) [V]. - Its `quality=high/kind=actual` subset is 553B real, classifier-filtered tokens [V paper]. That is 2,755 jsonl.zstd files of about 358 MB, about 0.99 TB in total [V]. - In NVIDIA's 8B-param, 1T-token tests, the real-only HQ subset is roughly on par with DCLM [V]. The big MMLU gains of "Nemotron-CC-HQ" come from its synthetic rephrasings. - Treat it as an optional third web ingredient for formatting diversity (it uses a justext extractor), not a must-have. 4. **Code.** The Stack v2, Stack-Edu (HuggingFaceTB) and Nemotron code on HF are IDs/metadata only, or gated [V]. Ungated sources that include file contents [V]: - `common-pile/stackv2_edu_filtered`: Stack-Edu restricted to openly licensed repos, 67.8B tokens, jsonl.gz with `text` plus `int_score`. - `allenai/dolma3.5_pool` → `dolma_code/_quality_pXX`: re-processed Stack v2, 50 languages, 20 quality-percentile buckets, about 1 TB zst. - `allenai/dolma3_mix-150B-1025` → `data/stack_edu-*`: about 11B tokens of Stack-Edu with content. - `allenai/olmo-mix-1124` → `data/starcoder`: StarCoderData-derived, 103 GB gz; strip the `` prefixes. - `HuggingFaceTB/issues-kaggle-notebooks`. - `bigcode/starcoder2data-extras`. 5. **Math:** `HuggingFaceTB/finemath` (ungated, ODC-BY). FineMath-3+ is 34B tokens and 4+ is 9.6B. It is the best fully-real web math set with independent evidence [V]. - Nemotron-CC-Math scores higher, but it is LLM-rewritten (Phi-4) and gated. - MegaMath-Web-Pro is LLM-refined [R]. 6. **Papers / books / wiki / Q&A** all have ungated, content-included, mostly openly licensed sources: - papers: `EleutherAI/proof-pile-2` arXiv (LaTeX), Common Pile peS2o / PubMed / arXiv, Marin ar5iv-markdown; - books: `emozilla/pg19` (use the train split only), Common Pile Gutenberg / DOAB / pre-1929; - Wikipedia: `wikimedia/wikipedia`, `HuggingFaceFW/finewiki`; - Q&A: Marin StackExchange-markdown, Dolma v1.7 Reddit via olmo-data.org. 7. **Mixture for a 50B-token run** (details in section 11): - Main phase, about 42B tokens: about 56% high-quality web, 14% code, 6% math, 7% papers, 4% books, 4% Wikipedia, 5% Q&A/forums, 4% multilingual. - Annealing (learning-rate decay) phase, last ~8B tokens (16%): more weight on the highest-quality slices and eval-like domains (about 40% web, 15% code, 10% math, 9% papers, 8% wiki, 6% books, 8% Q&A, 4% multilingual). - No wholly synthetic data. Total download is about 220 GB, mostly parquet with a `text` column. --------------------------------------------------------------------------------------------------- ## 1. Budget framing (for sizing the mixture) - Throughput reference: HF's Smol Training Playbook ran its 1B (Llama-3.2-1B architecture) ablations on 45B tokens. That took about 1.5 days on one 8xH100 node, at about 42k tokens/s/GPU [V playbook text]. That is about 290 GPU-hours, so **256 H100-hours ≈ 35-45B tokens for a ~1.2B model**, or more tokens for a smaller model. - Compute check: 6·N·D with N = 1.2-1.5B and D = 40-55B gives about 3.5-5e20 FLOPs. That is consistent with the brief. - Repetition: up to about 4 epochs of a source is nearly as good as fresh data [R: Muennighoff et al. 2023, "Scaling Data-Constrained LMs"]. OLMo 3 repeats top-quality web documents up to 7x by design [V paper]. So 2-4x upsampling of small high-value sources (Wikipedia, ar5iv, StackExchange, books) is fine. - Context length: eval documents are up to about 18k characters (about 4-4.5k tokens). Scoring uses the model's declared maximum context with a sliding window. - Training at **4096 context**, at least during the anneal, plus long-document sources (books, papers, PDFs, long Wikipedia articles) should directly lower bits-per-byte on long documents. - FinePDFs documents have a median of about 5.3k characters and a 95th percentile of about 68k, versus about 11-13k at the 95th percentile for web corpora [V FinePDFs blog]. - The eval harness prepends BOS/EOS to every document, and that token is not scored [V evaluate.py]. Train the same way: put a document separator at the start of every document. --------------------------------------------------------------------------------------------------- ## 2. Head-to-head evidence near our scale ### 2.1 DataDecide (AI2, arXiv 2504.11393). 1B params (1,176.8M), 100B tokens, 25 recipes. My analysis of AI2's released result files [V] Sources: - `allenai/DataDecide-ppl-results`: perplexity on 11 domains. - `allenai/DataDecide-eval-results`: `macro_avg` file, OLMES primary metrics. Method: final checkpoint (step 69,369), mean over the 3 full-length seeds. Median seed SD is about 0.36 points on the OLMES average and about 0.003 on mean log-perplexity. Selected rows: | Recipe (1B, 100B tok) | OLMES-10 avg | MMLU | ARC-C | ARC-E | HSwag | PIQA | mean log-ppl, 11 domains (lower = better) | code ppl (dolma_stack) | reddit ppl | pes2o ppl | books ppl | wikitext ppl | |---|---|---|---|---|---|---|---|---|---|---|---|---| | DCLM-Baseline (QC 20%) | **59.1** | 35.6 | 46.4 | 74.8 | 62.4 | 74.9 | 2.709 | 4.94 | 20.55 | 11.50 | 17.63 | 15.10 | | DCLM-Baseline (QC 7%, FW2) | 59.0 | 36.5 | 49.1 | 77.4 | 60.8 | 74.5 | 2.701 | 5.02 | 24.31 | 10.98 | 14.89 | 13.95 | | DCLM-Baseline | 57.9 | 32.8 | 42.5 | 71.5 | 63.2 | 75.2 | 2.655 | 5.17 | 20.04 | 11.50 | 15.06 | 13.12 | | FineWeb-Pro | 57.5 | 33.8 | 43.9 | 72.4 | 63.3 | 75.2 | 2.949 | 16.42 | 29.11 | 11.04 | 16.98 | 14.54 | | FineWeb-Edu | 57.1 | 35.3 | 46.5 | 74.1 | 59.4 | 73.9 | 2.932 | 13.21 | 31.51 | 11.17 | 17.15 | 14.82 | | DCLM 75% / Dolma 25% | 56.6 | 32.9 | 42.9 | 70.1 | 63.0 | 75.0 | 2.504 | 3.29 | 18.08 | 10.32 | 15.01 | 12.43 | | DCLM 50% / Dolma 50% | 56.3 | 32.5 | 40.4 | 69.8 | 62.9 | 75.1 | 2.479 | 3.05 | 17.93 | 10.00 | 15.08 | 12.28 | | DCLM 25% / Dolma 75% | 56.1 | 32.0 | 38.6 | 68.1 | 62.0 | 74.8 | **2.460** | 2.93 | 17.87 | 9.58 | 15.30 | 12.20 | | Dolma1.7 | 53.2 | 30.4 | 36.5 | 58.6 | 59.9 | 74.3 | **2.460** | 2.80 | 18.12 | 9.29 | 16.32 | 12.49 | | Dolma1.7 (no code) | 54.3 | 30.6 | 36.0 | 60.9 | 61.9 | 75.2 | 2.490 | 4.25 | 17.75 | 9.13 | 15.91 | 12.28 | | Dolma1.7 (no Reddit) | 53.8 | 30.3 | 36.5 | 59.8 | 60.1 | 74.8 | 2.470 | 2.79 | **20.85** | 9.23 | 16.23 | 12.48 | | C4 | 54.8 | 30.1 | 37.7 | 64.6 | 59.9 | 76.3 | 3.241 | 47.42 | 28.64 | 12.78 | 55.23 | 15.86 | The 11 perplexity domains: wikitext_103, pile, m2d2_s2orc, ice, dolma_wiki, dolma_stack, dolma_reddit, dolma_pes2o, dolma_common-crawl, dolma_books, c4_en. Takeaways (all [V], from the numbers above): - Each domain's perplexity depends on having that domain in the training mix: - removing code from Dolma raises code perplexity from 2.80 to 4.25; - removing Reddit raises Reddit perplexity from 18.1 to 20.9; - FineWeb-Edu's code perplexity is 13.2 and C4's is 47.4, because their filters remove code. - Heavy educational filtering (FineWeb-Edu, DCLM top-3% by the FineWeb-Edu classifier, FineWeb-Pro) improves MMLU and ARC, hurts HellaSwag, and hurts perplexity on varied domains (Reddit, ICE, Pile, CC). - DCLM-baseline gives better multi-domain perplexity than FineWeb-Edu (2.655 vs 2.932). It is best or near-best on books (15.06) and at 1B is only 0.8 points behind FineWeb-Edu on OLMES. - The DCLM+Dolma mixes are the sweet spot for perplexity. We should do better on downstream than they did by: - using higher-quality web (DCLM, FineWeb-Edu, FinePDFs-Edu) instead of Dolma's CC/C4/RefinedWeb; - keeping Dolma-like domain sources: code, peS2o, Reddit, wiki, books, math. - Evidence strength: **high**. These are controlled runs at our exact model scale with tiny seed variance. - Caveat: the domains are perplexity sets drawn from Paloma-style sources. Our unknown eval domains may differ, but the qualitative lesson carries over. ### 2.2 FinePDFs (HF, Sep 2025; blog plus dataset card) [V] - Setup: 1.67B params, about 36B tokens, Llama-3.2 tokenizer, 4k context. Tasks: SQuADv2, DROP, HellaSwag, WinoGrande, XStoryCloze, MMLU-Redux, ARC-E, OBQA, PIQA, CSQA, GSM8K, table QA. - Claims (the blog text gives no numbers; the numbers are in charts): - FinePDFs ≈ the SmolLM3 web mix (FineWeb-Edu + DCLM); - FinePDFs mixed with FineWeb-Edu + DCLM beats Nemotron-CC v2; - FinePDFs-Edu alone beats Nemotron-CC v2; - mixed FinePDFs-Edu is best across all ablations. - PDF ratios tested were 0.1, 0.25 and 0.5; the text names no single best ratio. - Applicability: **very high**. This is our scale and our token budget. Evidence strength: medium (authors' own ablation, no seed spread reported). ### 2.3 FinePhrase paper (arXiv 2604.13977, Apr 2026) [V] - Setup: 1.2B Qwen2-style model, about 21B tokens, 12-benchmark macro average. - Non-synthetic baselines: DCLM 13.77, Ultra-FineWeb 13.00, FineWeb-HQ 11.82, FineWeb-LQ 8.83. - Synthetic baselines: Nemotron-HQ-Synth 13.54, REWIRE 13.49, Cosmopedia 10.33. - 50/50 mixes of rephrased and real data beat DCLM. The best is FinePhrase-Table at 17.18; math-prompt rephrasing scores 15.31. - Synthetic-only data is worse than the 50/50 mixes, and hurts HellaSwag. - No perplexity was reported. - Takeaways: - In a separate controlled study at our scale, DCLM beats Ultra-FineWeb and FineWeb-HQ. - Synthetic rephrasing buys benchmark points, but its effect on natural-text bits-per-byte is untested. ### 2.4 open-sci-ref-0.01 (arXiv 2509.09009) [V] - 0.13-1.7B models on 50B/300B/1T tokens. - Ranking: Nemotron-CC-HQ > DCLM > FineWeb-Edu, stable across scales, with gaps widening as scale grows. - At 1.7B/1T: average 0.66 / 0.57 / 0.56. CommonCorpus was worst. - The authors note that Nemotron-CC-HQ's MMLU edge may come from its instruction-like rephrased samples. ### 2.5 Nemotron-CC paper (arXiv 2412.02595), 8B params, 1T tokens [V] | Dataset | MMLU | Avg | |---|---|---| | FineWeb-Edu | 42.9 | 53.2 | | DCLM | 53.4 | 57.0 | | Nemotron-CC (6.3T) | 53.0 | 57.8 | | Nemotron-CC-HQ (1.1T, includes synthetic) | 59.0 | 60.1 | - Separate blend table: HQ-Base (real only) MMLU 53.4 / avg 55.8, versus HQ-Synthetic 53.6 / 56.7. - Real HQ is 553B tokens (quality bucket 19); medium-high is 504B. - Caveat: FineWeb-Edu is heavily repeated at 1T tokens, so its low score partly reflects data-constrained repetition, not quality. ### 2.6 SmolLM2 / SmolLM3 / Smol Training Playbook [V via search summaries and playbook text; numbers partly R] - FineWeb-Edu helps MMLU, ARC and OBQA. DCLM helps HellaSwag and CSQA. - SmolLM3 swept FineWeb-Edu/DCLM ratios at 3B params on 100B tokens (20/80 … 80/20) and used **50/50** in stage 1. SmolLM2 used 60/40, later 40/60. - SmolLM3 stage 1 split: 75% English web / 12% multilingual web / 10% code / 3% math. - Stage 2: 75 / 15 / 10 (web / code / math). - Stage 3 (decay): 63 / 24 / 13 (web / code / math), with Stack-Edu, FineMath-4+ and MegaMath added [V search summary]. - Stack-Edu vs StarCoder2Data in SmolLM2 annealing ablations, MultiPL-E: Python 20.7→25.6, C++ 16.7→24.8, JS 18.2→22.4 [V search summary of paper]. - The playbook warns that arXiv-style text "doesn't always help and can hurt smaller models" on benchmarks [V]. That concerns benchmarks; for a papers bits-per-byte domain we still need some. ### 2.7 OLMo 3 (arXiv 2512.13961) [V] - Dolma 3 6T pretraining mix: 76.1% CC, 13.6% olmOCR science PDFs, 6.9% Stack-Edu, 2.6% FineMath-3+, 0.9% arXiv, 0.04% Wikipedia. The 150B sample has the same proportions. - Quality-aware upsampling: top 5% repeated up to 7x, bottom 40% dropped. - Mixture optimization at 30M params plus web-mix checks at 1B (5x Chinchilla) upweighted STEM and Software Development topics. - Code: web fixed at 75% of the pool and Stack-Edu at 25%; quality sampling within Stack-Edu beat the natural distribution. - Dolmino 100B midtraining mix (Table 5): - real/filtered parts: CC-HQ 22.4B, STEM-heavy crawl 5B, olmOCR PDFs-HQ 5B, Stack-Edu (FIM) 10B, Dolmino-1 math 10.7B (mixed provenance); - synthetic/instruction parts: CraneMath, CraneCode, MegaMatt, TinyMATH, Reddit-to-Flashcards, Nemotron synthetic QA, Wiki-to-RCQA, thinking traces, Flan, Tulu-3 SFT. - Micro-anneal gains (5B target tokens, versus web-only): - Dolmino-1 math: +10.4 MATH, +38.2 GSM8K; - STEM-heavy crawl in stage 1: about +2 points on MC-STEM, MC-nonSTEM and math. - Decontamination: the "decon" n-gram tool against all splits of OLMES benchmarks. ### 2.8 Marin 8B and 32B retrospectives (GitHub docs) [V] - 8B: stage 1 was DCLM-baseline 92.6%, StarCoder 6.1%, ProofPile-2 1.3%. - Cooldown ("Jellyfish") was about 70% Dolmino-DCLM-HQ plus peS2o 10.8%, FineMath 6.3%, arXiv 5.2%, StackExchange 3.2%, StarCoder 2.2%, algebraic-stack, OWM, Wikipedia. - Math additions moved GSM8K from 0.509 to 0.611. FLAN didn't help MMLU. - **Bits-per-byte lesson:** cooldown on DCLM-HQ caused "a large increase in Paloma c4en loss", attributed to preprocessing and formatting differences. Their conclusion: "formatting diversity is useful". Trailing-space handling also moved some Paloma domains. - For our unknown-format eval, mix several extraction pipelines: - resiliparse (DCLM) - trafilatura (FineWeb, FineWeb-Edu) - justext (Nemotron-CC) - markdown (Marin, FineWiki) - LaTeX (arXiv) - OCR'd PDFs (FinePDFs) ### 2.9 Essential-Web taxonomy subsets (dataset cards) [V; model size and tokens of those ablations not verified] | Subset | Its result | Comparison | |---|---|---| | STEM w/ DCLM | MMLU-STEM 34.5% | DCLM 27.7%, FineWeb-Edu 26.7% | | Code w/ DCLM | MMLU-CS 47.0%, HumanEval+ 28.7 | DCLM 32.0, 28.0 | | Math w/ FineMath | GSM8K 22.4, MATH 11.5 | FineMath-3+ 26.4 / 11.7; OWM 14.6 / 9.3; MegaMath-Web top-10% 9.8 / 7.9; DCLM 4.8 / 4.4 | ### 2.10 Annealing / mid-training evidence - Blakeney et al. 2024 ("Does your data spark joy?"), 7B params, 1T tokens: domain upsampling in the last 10-20% of training gave up to +6.9 MMLU, +8.3 GSM8K and +6.2 HumanEval. MMLU peaked at 10% duration and the average at 20% [V search summary]. - Llama 3: annealing on high-quality code and math gave the 8B model +24% GSM8K and +6.4% MATH, with negligible gain at 405B. Data-quality probe: 30% new data / 70% default mix over a 40B-token linear decay [V summary]. - Zamba2 (1.2B-7B): about 50B anneal tokens, 60% replay / 40% new [V summary]. - Comma v0.1: cooldown re-weights toward wiki, StackExchange, peS2o, DOAB and textbooks [V table]. - Counterpoint (arXiv 2509.25380): placing high-quality data somewhat before the very end can be better in continued-pretraining tests [V summary]. Given our short run, a 15-20% WSD-style decay with high-quality data is the standard, low-risk choice. ### 2.11 Code proportion - "To Code or Not to Code" (ICLR 2025): about 25% code was best for natural-language reasoning; world knowledge drops slowly as code increases. A follow-up gives a 15-25% optimum [V search summary; exact numbers R]. - Our 14% (main phase) / 15% (anneal) code is a compromise. Code is likely its own bits-per-byte domain, and reasoning tasks benefit. --------------------------------------------------------------------------------------------------- ## 3. English web candidates | Dataset (HF repo / config) | Tokens | Format / files | Gated? | Text included | License | Quality evidence | Notes / applicability | |---|---|---|---|---|---|---|---| | `mlfoundations/dclm-baseline-1.0` | 4T [V] | jsonl.zst, 27,838 files, 6.5 TB, ~230 MB each [V] | no [V] | yes | CC-BY-4.0 [V] | DataDecide 1B: OLMES 57.9, best multi-domain perplexity among pure-web sets (2.655) [V]; FinePhrase 1.2B: best non-synthetic (13.77) [V]; open-sci-ref: #2 [V] | **Core ingredient.** Parquet twin: `mlfoundations/dclm-baseline-1.0-parquet` (27,938 files, 6.7 TB). CC snapshots ≤2022 [R]. | | `HuggingFaceFW/dclm_100BT` (+`-shuffled`) | ~100B [V] | parquet, 100 files, 294 GB, ~3.0 GB each; ~0.9M docs and 5.07 GB of text per file ≈ 1B tokens/file [V] | no | yes | ODC-BY (card) / CC-BY-4.0 upstream | random 100BT sample of DCLM [V] | **Use this.** Columns `text, id, url, language, language_score, fasttext_score, dataset` [V]; `fasttext_score` lets us take the top slice for the anneal. | | `HuggingFaceFW/fineweb-edu` | 1.3T (≈1.6T with 2025 dumps) [V] | parquet, 3,036 files, 5.3 TB; per-dump dirs; samples 10BT/100BT/350BT [V] | no | yes | ODC-BY | DataDecide: best MMLU/ARC, weak HellaSwag and perplexity [V]; SmolLM 50/50 with DCLM [V] | Has 2025 dumps (v1.4.0, CC-MAIN-2025-05…26) [V], so it adds recency. | | `HuggingFaceFW/fineweb_edu_100BT` (+`-shuffled`) | ~100B [V] | parquet, 100 files, 279 GB, ~2.8 GB each, ~1B tokens/file [V] | no | yes | ODC-BY | random subset of FineWeb-Edu [V] | **Use this.** Has `score` / `int_score` columns, so int_score ≥4 can be pulled for the anneal. | | `HuggingFaceFW/fineweb-edu-score-2` | 5.4T [V] | parquet, 8,415 files, 17 TB | no | yes | ODC-BY | — | Larger, lower threshold; not needed. | | `HuggingFaceFW/fineweb` (v1.4.0) | 18.5T [V] | parquet, 28,143 files, 49.9 TB; samples 10/100/350BT [V] | no | yes | ODC-BY | baseline-quality | Only for a recency slice; not recommended as a main source. | | `HuggingFaceFW/finepdfs` | 3T total; **eng_Latn 1,190.65B**, 206.9M docs [V] | parquet, 3,573 files, 4.9 TB (eng: 580 files, 2.3 TB) [V] | no | yes | ODC-BY | ≈ SmolLM3 web mix at 1.67B/36B [V] | Long docs (median ~5.3k chars) [V]. Scanned PDFs went through RolmOCR, a VLM [V]; text-layer PDFs used a non-VLM extractor (docling) [R]. Content is real, but OCR noise is possible. | | `HuggingFaceFW/finepdfs-edu` | 350B+ (69 languages); **eng ≈136B** [V] | parquet, 577 files, 685 GB (eng: 100 files, 278 GB) [V] | no | yes | ODC-BY | **beats Nemotron-CC v2 at 1.67B/36B** [V] | Edu classifier trained on Qwen3-235B labels; filter only, text not rewritten. | | `HuggingFaceFW/finepdfs_edu_100BT` (+`-shuffled`) | ~100B English [V] | parquet, 100 files, ~2.4 GB each; 4.59 GB text/file [V] | no | yes | ODC-BY | as above | **Use this** for the PDF share. | | `HuggingFaceFW/finepdfs_edu_50BT-dclm_30BT-fineweb_edu_20BT` (+`-shuffled`) | ~100B; 56.05M docs [V] | parquet, 300 files (unshuffled) / 100 shards (shuffled), 249.5 GB [V] | no | yes | ODC-BY | "tried and tested mix" (claim); ratio "inspired by" a 1B-token-scale blog [V] | Convenient one-shot web+PDF mix (`text, id, url, dataset`). The 50% PDF share is probably too PDF-heavy for multi-domain bits-per-byte; I prefer custom ratios. | | Nemotron-CC **v1** on Common Crawl S3 (`data.commoncrawl.org/contrib/Nemotron/Nemotron-CC/data-jsonl/quality=high/kind=actual/kind2=actual/`) | 553B real HQ tokens [V paper]; whole release 6.3T (4.4T real + 1.9T synthetic) [V] | jsonl.zstd; HQ-actual is 2,755 files ≈ 358 MB each ≈ 0.99 TB; keys `text, language, warc_record_id, url` [V] | **no (public HTTP/S3)** [V] | yes | CC Terms of Use; the page states no dataset licence [V] (NVIDIA's terms may apply; check) | real-only HQ ≈ DCLM at 8B/1T (MMLU 53.4) [V] | Optional third web source (justext extraction, more formatting diversity). Path lists: `data-jsonl.paths.gz` [V]. Avoid `kind=synthetic`. | | `nvidia/Nemotron-CC-v2` | 6.6T total: English CC 3,359.8B; synthetic CC 1,257.3B; Diverse-QA 692.9B; translated DQA 558.2B; plus math/code/SFT [V] | parquet, 8,971 files, 9.4 TB; configs High-Quality (843 files, 1.0 TB), HQ-Synthetic, Medium-High, Medium, Diverse-QA, Translated-DQA [V] | **manual** (company + institutional email) [V]; our token has no access [V] | yes | NVIDIA Data Agreement for Model Training [V] | weaker than FinePDFs-Edu at 1.67B/36B [V] | Not needed given v1 on S3. | | `nvidia/Nemotron-CC-v2.1` | 2.54T new tokens; **organic only 96B** (HQ 26.0B, MHQ 16.9B, MQ 53.5B from 2025-18/21/26); rest synthetic or translated [V] | parquet, 2,481 files, 4.2 TB [V] | **manual** [V] | yes | NVIDIA agreement | — | Mostly synthetic; skip. | | `openbmb/Ultra-FineWeb` | ~1T English + 120B Chinese [V] | parquet. Default config: `data/ultrafineweb_en` 2,048 files, 2.4 TB (~1.2 GB each). Also `ultrafineweb_en_v1_4` (56,351 files, 6.1 TB) and `ultrafineweb_l1_en_hq` (445 GB), not in the default config [V]. | no | yes; **column is `content`, not `text`** [V] | Apache-2.0 [V] | Authors (1.2B/100B): beats FineWeb and FineWeb-Edu (numbers in images) [V]. FinePhrase 1.2B: below DCLM (13.00 vs 13.77) [V] | Viable alternative to FineWeb-Edu; evidence mixed. | | `openbmb/Ultra-FineWeb-L1` (2026-08) | 1T+ tokens, CC-MAIN-2025-30…2025-51 [V] | parquet, 6,000 files, 2.6 TB [V] | no | yes | Apache-2.0 | slightly above FineWeb in 20B-token tests [V] | Useful only for **recency** (late-2025 web). | | `EssentialAI/essential-web-v1.0` | 24T, taxonomy-labelled [V] | parquet, 282,864 files, 68.5 TB [V] | no | yes | ODC-BY | see §2.9 | Subsets: `eai-taxonomy-stem-w-dclm` (1,742B; 9,576 files, 2.2 TB), `-100b-sample` (236 GB), `code-w-dclm` (564B), `math-w-fm` (34B), `med-w-dclm` [V]. A STEM slice could be a good anneal ingredient (MMLU-STEM +6.8 points over DCLM) [V]. | | `ibm-granite/GneissWeb` | 10T+ if reproduced [V] | **recipe only**: the repo holds 31 files / 7.6 MB of images and README [V] | — | **no text** | Apache-2.0 | 7B/350B: >2% average over FineWeb v1.1 [V] | Impractical (needs the Data Prep Kit run over FineWeb). | | `IFM/TxT360` (v1) | CC 4.83T plus curated sources: papers 155B, Wikipedia 36B, FreeLaw 16.7B, StackExchange 27.8B, PG-19 2.63B, HN 1.05B, Ubuntu IRC 1.89B, EuroParl 1.96B, DM-Math 5.23B, USPTO 4.95B [V] | jsonl / jsonl.gz, 104,086 files, 21.8 TB [V] | no | yes | ODC-BY [V] | 8x8B MoE ablation versus FineWeb (authors) [V] | Its curated subsets (`data/stackexchange`, `data/hackernews`, `data/arxiv`…) are handy. `v1.1/TxT360_QA` appends synthetic QA (Mistral-7B) [V], so avoid that. DM-Math is generated benchmark-style data; avoid. | | `IFM/TxT360-v2` (2026-09) | ? | parquet, 3 configs: `web-high-nltk-qa` 1.4 TB, `web-high-medium` 1.5 TB, `txt360-qa` 1.9 TB [V] | no | yes | CC-BY-4.0 [V] | none published that I found | Barely documented; the "qa" variants are likely synthetic-augmented [R]. Skip. | | `Zyphra/Zyda-2` | 5.07T gpt-neox tokens: DCLM-crossdedup 3,349B + FineWeb-Edu-score-3 1,319B + Zyda 164B + Dolma-CC 238B [V] | parquet, 105,337 files, 13 TB; `sample-100BT` 252 GB [V] | no | yes | ODC-BY [V] | authors claim best per-token; recommended token weights DCLM 4.0 / FWE3 4.0 / Zyda 0.16 / Dolma-CC 0.24 [V] | Essentially a pre-deduplicated DCLM + FineWeb-Edu mix. A good drop-in if we want cross-dedup. | | `HuggingFaceTB/dclm-edu` | DCLM with edu score >3 [V] | parquet, 1,769 files, 4.7 TB (~2.7 GB each) [V] | no | yes | CC-BY-4.0 | helped at 135M/360M; inconsistent at 1.7B [V] | Optional anneal ingredient. | | `epfml/FineWeb-HQ` | top-10% FineWeb by an XLM-R embedding classifier | parquet, 9,246 files, 14.4 TB, **~75% of bytes are embeddings** (text 1.16 GB vs embeddings 3.63 GB uncompressed per file) [V] | no | yes | ODC-BY | README: "competitive" with DCLM/FineWeb-Edu at 1B [V]; FinePhrase: 11.82 vs DCLM 13.77 [V] | Skip; large download overhead. | | `nvidia/Nemotron-ClimbMix` | 400B [V] | 100 jsonl files of GPT-2 token IDs (1.8 TB) + `climbmix_small` [V] | no | needs detokenizing [V] | **CC-BY-NC-4.0** [V] | beats other corpora at 1B (authors) [V] | Mirror `karpathy/climbmix-400b-shuffle` (6,543 parquet files × ~88 MB, `text` column) is labelled MIT but upstream is NC [V]. Clusters drawn from Nemotron-CC + SmolLM corpus, which includes synthetic [R]. Skip. | | `common-pile/comma_v0.1_training_dataset` | 463.6B unique tokens, main stage [V] | jsonl.gz, 2,048 files, 485 GB [V] | no | yes | openly licensed sources | Comma 7B @1T ≈ Llama-1/2 7B [V abstract] | Good for domain sources (§5-8), not as a web backbone (its web portion, CCCC, is small). | | `PleIAs/common_corpus` | ~2T [R] | parquet, 10,000 files, 4.1 TB [V] | no | yes | open licences | worst in open-sci-ref [V] | Skip. | --------------------------------------------------------------------------------------------------- ## 4. Pre-mixed "everything" corpora (useful as a Plan B or for pulling components) | Dataset | Content | Format / size | Gated | License | Notes | |---|---|---|---|---|---| | `allenai/dolma3_mix-150B-1025` | 157B: CC 121B (76.9%), olmOCR science PDFs 19.9B (12.6%), Stack-Edu "rebalanced" 11.1B (7.06%), FineMath-3+ 4.10B, arXiv 1.29B, Wiki 64.6M [V]; README: "sample of data for 1B×5C and 7B×1B" [V] | jsonl.zst, 6,081 files, 103 GB [V]. CC only from quality vigintiles 11-19, mostly 18-19 (top 10%) [V]. Dirs: `data/common_crawl--00NN`, `olmocr_science_pdfs-`, `stack_edu-` (15 languages), `finemath-3plus`, `rpj-proofpile-arxiv`, `dolma1_7-wiki-en` [V]. | no [V] | ODC-BY [V] | Built for 1B-scale runs; includes upsampled repeats (~16x zstd ratio in CC shards is consistent with that). **Best single Plan B**: take ~1/3 of the shards, then add Wikipedia, StackExchange, books, Reddit and multilingual. Also the easiest **ungated Stack-Edu with content** (`stack_edu-*`, 4.69 GB zst). | | `allenai/dolma3_mix-6T` / `-6T-1025-7B` | 5.93T OLMo 3 pretraining mix [V] | jsonl.zst, 63,911 files, 4.0 TB [V] | no | ODC-BY | Too big; same structure as above. | | `allenai/dolma3_pool` | 9.31T pool (CC + olmOCR PDFs only; other sources linked out) [V] | 273k files, 16 TB [V] | no | ODC-BY | `common_crawl--` lets us choose by topic and quality. | | `allenai/dolma3.5_pool` (2026-07) | ~10T: `cc_all_dressed` (~13.7 TB), `hplt` (1.4 TB), `dolma4pdfs` (3.0 TB: re-OCR'd crawled PDFs, s2orc-for-olmo, FinePDFs), **`the-stack-v2` (1.1 TB, materialized Stack v2 with content, per language)**, **`dolma_code` (1.03 TB; 50 languages × 20 quality percentiles)**, `swallow-code` (149 GB, LLM-rewritten), `swallow-math` (34 GB, LLM-rewritten), `common_pile_code` (54 GB: GitHub archive, StackExchange, Ubuntu IRC), `common_pile_textbook` (19.7 GB), `common_pile_wiki` (23.7 GB), `finemath` (32 GB), `proofpile2/arxiv` (12.9 GB), `dolma_code_prose` / `sponge…code_prose` (~60 GB each, web code-prose) [V] | jsonl.gz / zst with `text` [V] | no [V] | ODC-BY [V] (underlying code licences apply) | **Ungated code with content.** `dolma_code/python_quality_p95` shards are ~26 MB zst ≈ 110 MB text, median file 43 KB [V]. Python is 57 GB zst in total; p75-p95 is 16.2 GB zst (≈ 69 GB text ≈ 20B tokens) [V]. No published ablation of these buckets found, so evidence is unverified. | | `allenai/olmo-mix-1124` (OLMo 2) | DCLM 6.6 TB, peS2o 98.8 GB, **StarCoder 95.8-103 GB** (Java, Python, C, issues, commits, markdown…), arXiv 20.3 GB, OWM 12.1 GB, algebraic-stack 10.3 GB, wiki 6.0 GB [V] | json.gz / zstd [V] | no | ODC-BY | StarCoder subset has content (≥2 stars, decontaminated "v1-decon"). Text starts with `1-10` tags, so strip them [V sample]. | | `allenai/dolmino-mix-1124` (OLMo 2 midtraining) | DCLM-HQ 1.3 TB, peS2o, wiki, StackExchange 2.1 GB, math (mixed synthetic), **flan (avoid)** [V] | 1.5 TB [V] | no | ODC-BY | Real parts usable. | | `allenai/dolma3_dolmino_mix-100B-1125` / `-10B-1025` / `dolma3_dolmino_pool` | OLMo 3 midtraining; about half synthetic or instruction data (see §2.7) [V] | 316.5 GB / 17.1 GB / 3.8 TB [V] | no | ODC-BY | Usable real ingredients: `stem_heavy_crawl`, `common_crawl-high-quality_*`, `olmocr…high_quality`, `stack_edu-fim`. Avoid the Crane*, TinyMATH, flashcards, RCQA, Flan, Tulu and thinking-trace configs (synthetic or instruction). | | Dolma v1.7 (`allenai/dolma` → `urls/v1_7.txt`; 2,419 URLs on olmo-data.org) | includes **reddit (78 files)**, cc_news (9), books (3), wiki (2), redpajama-stackexchange (26), redpajama-arxiv (100), pes2o (26), starcoder (49), algebraic-stack, OWM, megawika, c4, falcon, cc_en_*, tulu_flan [V] | json.gz; `reddit-0000.json.gz` = 2.2 GB (HTTP 200) [V] | no (public HTTP) [V] | ODC-BY [R] | **Easiest Reddit source** (DataDecide shows Reddit data matters for forum perplexity). cc_news covers a possible "news" domain. Avoid tulu_flan. | | `HuggingFaceTB/smollm-corpus` | fineweb-edu-dedup 220B; cosmopedia-v2 (synthetic); python-edu (IDs only) [V] | 626.8 GB [V] | no | ODC-BY | Only the fineweb-edu-dedup part is relevant. | --------------------------------------------------------------------------------------------------- ## 5. Code | Dataset | Tokens | Format / files | Gated | Text included? | License | Evidence / notes | |---|---|---|---|---|---|---| | `HuggingFaceTB/stack-edu` | 125B (15 languages: Java 42.1, Python 21.8, C++ 16.0, Markdown 14.0, C 11.1, JS 11.1, SQL 9.6, PHP 9.1, C# 8.9, Shell 3.1, TS 3.0, Swift 1.8, Go 1.8, Rust 1.75, Ruby 1.6) [V] | parquet, 42 files, 16.3 GB [V] | no | **NO, only SWH blob IDs**; content must come from the `softwareheritage` S3 bucket (~6 h on 16 cores in AWS us-east-1 for Python) [V] | Stack v2 terms | Best evidence for code at small scale (SmolLM2 MultiPL-E gains, §2.6) [V]. | | **`common-pile/stackv2_edu_filtered`** | **67.8B** (Comma tokenizer) [V] | jsonl.gz, 95 files, 77.3 GB (~0.48-0.95 GB each); fields `text, score, int_score, metadata{blob_id, repo…}` [V] | no [V] | **yes** [V] | openly licensed files only (Blue Oak list) [V] | Stack-Edu ∩ open licences. **Primary code source.** | | `allenai/dolma3_mix-150B-1025` `data/stack_edu-` | ~11.1B, "rebalanced" [V] | jsonl.zst, 4.69 GB [V] | no | yes [V] | ODC-BY wrapper | Same Stack-Edu, ready to use. | | `allenai/dolma3.5_pool` `dolma_code/_quality_pNN` | ~1T+ (50 languages) [V] | jsonl.zst, 15,694 files, 1.03 TB [V] | no | yes [V] | ODC-BY wrapper | Lets us take the top percentiles per language; quality evidence unverified. | | `allenai/dolma3.5_pool` `the-stack-v2//quality_pNN` | full Stack v2 for ~50 languages [V] | jsonl.zst, 15,741 files, 1.1 TB [V] | no | yes, with licence metadata [V] | mixed (includes `no_license`) [V] | Raw; prefer the filtered sets. | | `bigcode/starcoderdata` | ~250B [R] | parquet, 863 files, 289.5 GB [V] | **auto** (click-through; our token not yet approved) [V] | yes [R] | various permissive + terms [R] | Ungated near-copy: `allenai/olmo-mix-1124/data/starcoder` [V]. | | `bigcode/the-stack-v2(-dedup)` / `-train-{smol,full}-ids` | — | parquet, 757-921 files, 172-398 GB (metadata) [V] | **auto** [V] | **no, SWH IDs** [V/R] | Stack v2 terms | Third-party materialized mirror: `jordangong/the-stack-v2-smollm3` (17 languages, 5.3 TB, `content` column, ungated) [V]. Licence-laundering risk; prefer the AllenAI and Common Pile versions. | | `bigcode/the-stack-dedup` (v1) | ~? | parquet, 5,140 files, 928 GB [V] | **auto** [V] | yes | various | Older. | | `nvidia/Nemotron-Pretraining-Code-v1` / `-v2` | metadata + synthetic code [V] | 229 GB / 845 GB [V] | **manual** [V] | metadata + synthetic only [V] | NVIDIA agreement | v3: metadata only, ungated, CC-BY-4.0, 7.7 GB [V]. `jordangong/Nemotron-Pretraining-Code-v1-Real` has third-party content (589 GB, 622.8M rows, 96.7% exact) [V]. | | `nvidia/Nemotron-CC-Code-v1` | 427.9B CC code pages, **Phi-4-cleaned** [V] | parquet, 167 files, 524.5 GB [V] | **manual** [V] | yes (LLM-reformatted) | NVIDIA agreement | Skip. | | `HuggingFaceTB/issues-kaggle-notebooks` | GitHub issues 11B + Kaggle notebooks 1.7B [V] | parquet, 73 files, 17.3 GB [V] | no [V] | yes (`text`) [V] | upstream (StarCoder2) | **Use**: Kaggle (all) plus some issues. | | `bigcode/starcoder2data-extras` | arXiv LaTeX 38 GB, OWM 25 GB, LLVM IR 24 GB+, StackOverflow 15.8 GB, issues 15.4 GB, Wikipedia 11.3 GB, documentation, Kaggle, lhq [V] | parquet, 190 files, 140.5 GB; column **`content`** [V] | no [V] | yes [V] | none stated | Documentation and StackOverflow are useful. **`lhq` contains GSM8K-train, APPS, CodeContests**: skip (benchmark-adjacent). | | `OpenCoder-LLM/opc-fineweb-code-corpus` | code-related FineWeb pages (text) [V] | parquet, 510 files, 137.8 GB [V] | no | yes | MIT [V] | Web code tutorials; the code-prose domain is also covered by FinePDFs and DCLM. Optional. | | `OpenCoder-LLM/opc-annealing-corpus` | `algorithmic_corpus` 3.6 GB; `synthetic_qa` 16.7 GB; `synthetic_code_snippet` 4.6 GB [V] | jsonl, 25 GB [V] | no | yes | ODC-BY | Two of three configs are synthetic; skip. | | `openbmb/UltraData-Code`, `openbmb/UltraData-Stack-v3-L2` (2026) | ? | parquet, 1.1 TB / 254.5 GB [V] | no | yes | Apache-2.0 / ODC-BY [V] | No independent evidence; L3 is likely synthetic [R]. | | `codeparrot/github-code-clean` | ~? | parquet, 880 files, 292 GB [V] | no | yes | Apache-2.0 tag [V] | 2022, lightly filtered; skip. | | `bigcode/commitpack` | 4 TB of commits [R] | jsonl, 3.5 TB [V] | no | yes | MIT [V] | Skip at our scale. | | `nick007x/github-code-2025` | ? | parquet, 821 GB, **no README or licence** [V] | no | ? | ? | Avoid (unknown provenance). | --------------------------------------------------------------------------------------------------- ## 6. Math and science | Dataset | Tokens | Format / files | Gated | License | Evidence / notes | |---|---|---|---|---|---| | **`HuggingFaceTB/finemath`** configs `finemath-3plus` / `finemath-4plus` / `infiwebmath-3plus` / `infiwebmath-4plus` | 34B / 9.6B / 20.5B / 8.5B [V] | parquet: 128 files 60.6 GB / 64 files 17.1 GB / 64 files 43.6 GB / 32 files 17.9 GB; `text` column [V] | no [V] | ODC-BY [V] | EAI table: GSM8K 26.4 vs OWM 14.6, MegaMath-Web top-10% 9.8 [V]; SmolLM2: beats OWM and InfiMM in annealing [V]. **Primary math source; use 4+ for the anneal.** | | `open-web-math/open-web-math` | 14.7B [V] | parquet, 114 files, 25.5 GB [V] | no | ODC-BY [V] | Superseded by FineMath. | | `IFM/MegaMath` | 371.6B: Web 263.9B, **Web-Pro 15.1B**, Code 28.1B, synthetic 64.5B [V] | parquet, 5,314 files, 1.0 TB; `megamath-web-pro/000_000NN.parquet` (~0.62 GB) [V] | no | ODC-BY [V] | Web-Pro is LLM-refined [R]. On an 8B/100B anneal Web-Pro was below FineMath-4+ on MATH [V]. Top-10% MegaMath-Web is weak in the EAI table [V]. | | `OctoThinker/MegaMath-Web-Pro-Max` | ~? | parquet, 100 files, 317 GB [V] | no | ODC-BY | "slightly better than FineMath-4+" in mid-training (authors) [V]; LLM-refined [R]. | | `nvidia/Nemotron-CC-Math-v1` configs `3` / `4plus` / `4plus_MIND` | 133B / 52B / 73B (MIND is synthetic) [V] | parquet, 196 files, 242 GB [V] | **auto** [V] | NVIDIA agreement | Best results (8B/300B: MATH 44.2 vs FineMath-3+ 34.6) [V], but **text is rewritten by Phi-4** (cleanup into LaTeX) [V], so partly model-generated. Skip unless the team accepts LLM-cleaned text. | | **`EleutherAI/proof-pile-2`** configs `arxiv` / `open-web-math` / `algebraic-stack` | 29B / 15B / 11B [V] | jsonl.zst; `arxiv/train/arXiv_000…099.jsonl.zst` (~0.24 GB each) [V], 47.6 GB total; keys `text, meta` [V] | no [V] | underlying licences [V] | arXiv here is **LaTeX source** (RedPajama). Algebraic-stack is math code (Lean, Coq, Isabelle, numerical). | | `EssentialAI/eai-taxonomy-math-w-fm` | 34B [V] | parquet, 812 files, 84 GB [V] | no | ODC-BY | Slightly below FineMath-3+ [V]. | | `OpenSQZ/AutoMathText-V2`, `math-ai/AutoMathText-2.5` (2026) | ~? (6.7 TB / 6.5 TB of scored buckets) [V] | parquet [V] | no | none stated [V] | No independent evidence; skip. | | `openbmb/UltraData-Math` | L1 341 GB, L2-preview 59 GB, L3 synthetic 114 GB [V] | parquet [V] | no | Apache-2.0 [V] | Skip L3 (synthetic). | | `OpenCoder-LLM/opc-fineweb-math-corpus` | ~? | parquet, 9.3 GB [V] | no | ODC-BY | Optional. | --------------------------------------------------------------------------------------------------- ## 7. Scientific papers | Dataset | Tokens | Format / files | Gated | License | Notes | |---|---|---|---|---|---| | **`common-pile/peS2o_filtered`** | 43.3B; 6.12M papers; 182.6 GB UTF-8 [V] | jsonl.gz, 91 files, 53 GB (~0.58 GB each, median doc 28 KB) [V] | no | openly licensed (CC-BY etc.) [V] | S2ORC full text, plain text. | | `allenai/peS2o` (v1/v2/v3) | v2 ≈ 42-47B whitespace tokens [V] | json.gz / zst, 286 GB [V] | no | ODC-BY [V] | Larger, all licences. | | **`common-pile/pubmed_filtered`** | 36.6B; 3.83M docs [V] | jsonl.gz, 17 files, 40.6 GB (~2.4 GB each) [V] | no | openly licensed [V] | PubMed Central, markdown-ish (`*Plasmodium*`). | | **`EleutherAI/proof-pile-2` `arxiv`** | 29B LaTeX [V] | see §6 | no | — | Format matches arXiv-source-style evals. | | `common-pile/arxiv_papers_filtered` | 6.0B; 304k papers [V] | jsonl.gz, 8 files, 5.6 GB [V] | no | CC-BY / CC-BY-SA / CC0 [V] | LaTeX → HTML (LaTeXML) → Trafilatura text (markdown-like). | | **`marin-community/ar5iv-no-problem-markdown`** (+ `ar5iv-warning-markdown`) | 2.74B (+19.6B) [V] | jsonl.gz, 392 small files, 2.8 GB [V] | no | C-UDA-1.0 [V] | Clean markdown with LaTeX math; used in Marin cooldowns [V]. | | `bigcode/starcoder2data-extras` `arxiv` | ~? (38 GB parquet) | parquet, `content` [V] | no | — | LaTeX without preambles or bibliography. | | TxT360 `data/s2orc_fulltext` (345 GB), `data/pubmed_central` (163 GB), `data/arxiv` (80 GB) [V] | papers 155B total [V] | jsonl | no | ODC-BY | Alternative bundle. | | olmOCR science PDFs (inside `dolma3_mix-150B` / `dolma3_pool` / `dolma3.5_pool`) | 19.9B in the 150B mix; 972B in the pool [V] | jsonl.zst | no | ODC-BY | OCR'd PDFs; median doc ~22 KB [V]. | Format diversity matters for a "papers" eval domain of unknown format, so use three formats: - LaTeX source (proof-pile-2 arXiv); - plain text (peS2o, PubMed); - markdown/OCR (ar5iv-markdown, FinePDFs-Edu, olmOCR). --------------------------------------------------------------------------------------------------- ## 8. Books, encyclopedic, Q&A/forums, news | Dataset | Tokens | Format / files | Gated | License | Notes | |---|---|---|---|---|---| | **`emozilla/pg19`** | PG-19 ≈ 2.6B tokens (TxT360 count) [V]; 28.6k books [R] | parquet, 25 files, 6.6 GB; **train / validation / test splits** [V] | no | public domain | **Train split only.** The PG-19 test set is a benchmark test set. `deepmind/pg19` is just a loader script pointing at GCS [V]. | | `common-pile/project_gutenberg_filtered` | 5.7B; 55k books [V] | jsonl.gz, 15 files, 7.1 GB [V] | no | public domain [V] | Contains the PG-19 test books, so **remove PG-19 test/val book IDs** if used. Raw version: `common-pile/project_gutenberg`. | | `common-pile/pre_1929_books_filtered` | 12.4B [V] | jsonl.gz, 26 files, 15.4 GB [V] | no | public domain | OCR'd old books. | | `common-pile/library_of_congress_filtered` | 9.5B [V] | jsonl.gz, 25 files, 11.9 GB [V] | no | public domain | OCR'd. | | **`common-pile/doab_filtered`** | 3.0B; 404k docs [V] | jsonl.gz, 5 files, 3.1 GB [V] | no | open licences | Modern open-access academic books (modern prose). | | `common-pile/libretexts_filtered`, `pressbooks_filtered`, `oercommons` | 0.09B / 0.14B / tiny [V] | tiny | no | open | Textbooks; good anneal material. | | `institutional/institutional-books-hl` | ~242B [R] | parquet, 9,831 files, 881 GB [V] | **auto** [V] | public domain + terms | Large public-domain books corpus; needs a click-through. | | `manu/project_gutenberg` | multilingual Gutenberg | parquet, 13.4 GB [V] | no | none stated | Alternative. | | **`wikimedia/wikipedia` `20231101.en`** | ≈6.4B (41 files × ~0.70 GB text) [V-derived] | parquet, 41 files, 10.8 GB; `id, url, title, text` [V] | no | CC-BY-SA-3.0 / GFDL [V] | Plain text, no tables or math. | | **`HuggingFaceFW/finewiki` `en`** (Aug 2025 dump) | ≈9B (15 files × 2.79 GB text) [V-derived] | parquet, 15 files, 35.1 GB; **the `wikitext` column is 1.6× larger than `text`**, so read with column projection [V] | no | CC-BY-SA-4.0 / GFDL [V] | Better extraction: tables, math, infoboxes; references removed [V]. 325 languages, so also a clean multilingual source. | | `marin-community/wikipedia-markdown` | 8.59B [V] | jsonl.gz, 385 files, 11 GB [V] | no | CC-BY-SA-4.0 [V] | Markdown with infobox tables. | | `common-pile/wikimedia_filtered` | 15.8B (Wikipedia + Wikibooks/News/etc.) [V] | jsonl.gz, 35 files, 20 GB [V] | no | CC-BY-SA [V] | Includes Wikibooks (textbook-like). | | **`marin-community/stackexchange-markdown`** | 20.4B [V] | jsonl.gz, 180 per-site files (one per site, e.g. `academia.jsonl.gz`), 19.2 GB; `# Question … # Answer` thread format [V] | no | CC-BY-SA [V] | **Primary Q&A source.** | | `HuggingFaceTB/stackexchange_2025_md` (2025 dump) | ~? | parquet, 389 files, 117.9 GB (StackOverflow 84 GB); text column is **`ThreadText`** plus structured fields [V] | no | none stated (SE is CC-BY-SA) | Most recent dump. | | `common-pile/stackexchange_filtered` | 23.9B; 31M docs [V] | jsonl.gz, 44 files, 32.5 GB [V] | no | CC-BY-SA [V] | Alternative. | | **Dolma v1.7 reddit** (`https://olmo-data.org/dolma-v1_7/reddit/reddit-00NN.json.gz`, 78 files) | ~80B [R]; ≈1.3B per file [V-derived] | json.gz, ~2.2 GB per file. One file ≈ 5.09M docs (individual posts/comments), median 700 bytes; keys `added, created, id, metadata, source, text` [V]. The server ignores Range requests [V]. | no (public HTTP) [V] | ODC-BY [R] | Forum/conversational domain; DataDecide shows its effect on Reddit perplexity (§2.1). Dolma v1.7 `books` is Gutenberg (≈24k books per file, median 276 KB) [V]; `cc_news` ≈2.66M articles per file, median 2.4 KB [V]. | | TxT360 `data/hackernews` (1.05B), `data/ubuntu_irc` (1.89B), `data/europarl` (1.96B), `data/freelaw` (16.7B), `data/uspto` (4.95B) [V] | | jsonl | no | ODC-BY | Optional diversity (forum, chat, legal, patents). | | Dolma v1.7 `cc_news_{head,middle,tail}` | ~? | json.gz (9 files) [V] | no | — | Hedge for a "news" domain. | --------------------------------------------------------------------------------------------------- ## 9. Multilingual hedge | Dataset | Notes | |---|---| | `HuggingFaceFW/fineweb-2` | 1,870 lang_script configs (plus `*_removed`), 18.3 TB parquet; per-language files ~4.5-4.8 GB (deu_Latn file 0 ≈ 10.35 GB text ≈ 2.3B tokens) [V]. ODC-BY. | | `epfml/FineWeb2-HQ` | 20 languages, top-10% by XLM-R classifier. 5.5 TB, of which embeddings ≈ 75% of bytes, so read the `text` column only via HfFileSystem + pyarrow column projection [V]. 1B-param validation: matches FineWeb2 with 6x fewer tokens on CMMLU and MMLU-de/fr [V]. ODC-BY. | | `epfml/FineWeb2-HQ-Plus` (2026-10) | 100 languages, top 10%, single cross-lingual classifier [V]. ODC-BY [V]. | | `HuggingFaceFW/finewiki` (non-en), `HuggingFaceFW/finepdfs` (non-en), `HPLT/HPLT2.0_cleaned` (CC0, 26.6 TB) [V] | | | `HuggingFaceFW/finetranslations` | Machine translations, i.e. model-generated; skip. | Why include it: - If any eval domain is non-English, a model with 0% non-English data will have very poor bits-per-byte there. Under an **unweighted mean**, that one domain would dominate the score. - A 3-5% share costs little on English. SmolLM3 used 12% multilingual even at 3B [V summary]. - Recommendation: about 4%, spread over roughly 12 high-resource languages: - de, fr, es, ru, ja, zh, it, pt, pl, nl, tr, ar; - optionally add id, vi, cs, sv. - Use FineWeb2-HQ text plus some FineWiki per language. - FineWeb2-HQ has no Korean or Hindi [V]. Take those from `fineweb-2` (`kor_Hang`, `hin_Deva`) if wanted. --------------------------------------------------------------------------------------------------- ## 10. Synthetic data, which datasets are wholly model-generated, and rules compliance **Evidence on synthetic data at small scale:** - FinePhrase (1.2B params, 21B tokens): 50/50 rephrased + real gains up to +3.4 points macro over DCLM. Synthetic-only data hurts HellaSwag. No perplexity reported [V]. - Nemotron-CC (8B, 1T tokens): rephrased low-quality data +1.5 average; replacing half of the HQ repeats with synthetic helps [V]. - Nemotron-CC subsets at 7B / 140B tokens: real-only MMLU 28.8 vs synthetic-only 55.4 [V via search summary of arXiv 2507.12466]. Much of the MMLU gain is the QA format. - Taken together, synthetic rephrasings mostly buy multiple-choice and benchmark points. For held-out natural-text bits-per-byte I found **no measurement**. A distribution shift toward LLM-style prose is the likely effect, neutral to negative [R, inference]. - Recommendation: per the brief, **no wholly synthetic data** in the main mix. **Wholly or mostly model-generated (avoid):** - HuggingFaceFW `finephrase` (486B, SmolLM2-1.7B rephrasing of FineWeb-Edu) [V]. - `HuggingFaceTB/cosmopedia` and `smollm-corpus/cosmopedia-v2` [V]. - `openbmb/Ultra-FineWeb-L3` (QA 245B + multi-style 164B) [V]. - Nemotron-CC synthetic subsets (diverse_qa_pairs, distill, extract_knowledge, knowledge_list, wrap_medium) in v1, v2 and v2.1 [V]. - `nvidia/Nemotron-Pretraining-Specialized-v1` / `v1.1` / `v1.2` (RQA, InfiniByte, Wiki-Rewrite, Math-Textbooks, Scientific-Coding, STEM-SFT, Formal-Logic, Economics, Multiple-Choice, Fact-Seeking, Moral-Scenarios, Generative) [V]. - `Nemotron-Pretraining-SFT-v1`, and Nemotron-CC-Math `4plus_MIND` [V]. - Nemotron code v1/v2 synthetic splits (QA, review, rewrite, transpile, student-teacher) [V]. - MegaMath synthetic (Q&A, text-code blocks, translated code) [V]. - `opc-annealing-corpus` `synthetic_*` [V]. - Dolma 3 Dolmino synthetic ingredients [V]; TxT360_QA [V]; TxT360-3efforts [V]. - `swallow-code` and `swallow-math` (LLM-rewritten) [V]; FineTranslations (MT) [V]. **LLM-processed real text (gray zone; I would skip):** - Nemotron-CC-Math and Nemotron-CC-Code (Phi-4 cleanup) [V]. - MegaMath-Web-Pro / -Pro-Max (LLM refinement) [R]. Classifier-filtered real text, where a model only scored documents, is fine. That covers FineWeb-Edu, DCLM, FinePDFs-Edu (text OCR'd by a VLM), Stack-Edu, FineMath and Ultra-FineWeb. The brief allows pre-processed datasets; we just must not run pretrained models ourselves. **Benchmark test-set hygiene. Required by the rules, so do all of these:** 1. Avoid instruction collections that may embed benchmark items: - Flan (Dolmino, Dolma `tulu_flan`), Tulu SFT; - `starcoder2data-extras/lhq` (GSM8K-train, APPS, CodeContests); - DM-Math; - Nemotron MCQ/SFT sets; - all "Multiple-Choice" synthetic sets. 2. Run n-gram decontamination of every source against the test (and ideally dev) splits of the likely suites: MMLU, HellaSwag, ARC-E/C, PIQA, WinoGrande, OBQA, CSQA, SIQA, BoolQ, LAMBADA, GSM8K, MATH, HumanEval, MBPP. Use 13-gram overlap (GPT-3-style), or OLMo-3-style `decon`. - StackExchange, Wikipedia and web data are where MMLU, ARC and HellaSwag source text tends to appear [R]. - Many AllenAI sets are already decontaminated against OLMES or Paloma (e.g. `paloma_paragraphs` attributes, "v1-decon") [V]. 3. Exclude PG-19 test/validation books from any Gutenberg source. - Consider also dropping WikiText-103 test/valid article titles from Wikipedia (cheap, and a conservative reading of "benchmark test sets"). - Never train on any `test` / `validation` split shipped inside the repos: FinePDFs and FineWeb-2 language dirs have `test/` subfolders [V]; proof-pile-2 has `test/` and `validation/` [V]. --------------------------------------------------------------------------------------------------- ## 11. RECOMMENDED MIXTURE (~50B tokens; scale linearly for 30-60B) **Assumptions:** - WSD-style schedule: about 42B tokens at stable learning rate (84%), then about 8B tokens of LR decay to ~0 (16%), using the anneal mix. - If the run is shorter or longer, keep the percentages and the 15-20% anneal fraction. - Token counts are approximate, in "our tokenizer" units. Each source's own tokenizer differs by roughly ±10%, so **measure after tokenization and re-balance by sampling weights**. ### 11.1 Main phase (stable LR), ~42B tokens | Domain | Share | Tokens | Source(s), exact HF repo / config | Epochs over unique data | |---|---|---|---|---| | Web: DCLM-baseline | 28% | 11.8B | `HuggingFaceFW/dclm_100BT` (random docs) | <0.15 | | Web: FineWeb-Edu | 14% | 5.9B | `HuggingFaceFW/fineweb_edu_100BT` (random docs; includes 2024-25 dumps for recency) | <0.1 | | Web/academic PDFs: FinePDFs-Edu (English) | 14% | 5.9B | `HuggingFaceFW/finepdfs_edu_100BT` | <0.1 | | **Web subtotal** | **56%** | **23.6B** | | | | Code: Stack-Edu (open-licence subset) | 11% | 4.6B | `common-pile/stackv2_edu_filtered`, picked by file index (§11.3 #4). Language balance: Python ≈30%, JS+TS 16%, Java 12%, C++ 12%, C 6%, C# 5%, PHP 5%, Go 4%, Rust 3%, Shell 3%, Swift/Ruby 2%, Markdown ≤5%. This subset has **no SQL**; if SQL matters, take `allenai/dolma3_mix-150B-1025` `data/stack_edu-SQL` or `dolma3.5_pool/dolma_code/sql_quality_p70+`. Swap-in for the whole slice: `allenai/dolma3_mix-150B-1025` `data/stack_edu-*` | <0.1 | | Code: notebooks / issues / docs | 3% | 1.3B | `HuggingFaceTB/issues-kaggle-notebooks` (kaggle: all 1.7B → use ~0.6B; issues ~0.5B); `bigcode/starcoder2data-extras` `documentation` (~0.2B) | ≤0.4 | | Math: FineMath-3+ | 4.5% | 1.9B | `HuggingFaceTB/finemath` `finemath-3plus` (optionally 1/3 of it from `infiwebmath-3plus`) | 0.06 | | Math: math code | 1.5% | 0.6B | `EleutherAI/proof-pile-2` `algebraic-stack/train` | 0.06 | | Papers: arXiv LaTeX | 2.5% | 1.05B | `EleutherAI/proof-pile-2` `arxiv/train` | 0.04 | | Papers: peS2o | 2.5% | 1.05B | `common-pile/peS2o_filtered` | 0.03 | | Papers: PubMed Central | 1.2% | 0.5B | `common-pile/pubmed_filtered` | 0.01 | | Papers: ar5iv markdown | 0.8% | 0.35B | `marin-community/ar5iv-no-problem-markdown` | 0.13 | | Books | 4% | 1.7B | `emozilla/pg19` **train split** 1.1B (~0.45 epoch); `common-pile/doab_filtered` 0.35B; `common-pile/pre_1929_books_filtered` 0.25B | ≤0.5 | | Wikipedia | 4% | 1.7B | `wikimedia/wikipedia` `20231101.en` 1.2B (plain text); `HuggingFaceFW/finewiki` `en`, `text` column only, 0.5B (tables/math formatting) | ≈0.2 | | Q&A / forums | 5% | 2.1B | `marin-community/stackexchange-markdown` 1.35B (all sites, ~proportional; cap StackOverflow at ~40%); Dolma v1.7 Reddit (`olmo-data.org/dolma-v1_7/reddit/reddit-0000…0001.json.gz`) 0.6B; optional TxT360 `data/hackernews` 0.15B | ≤0.1 | | Multilingual | 4% | 1.7B | `epfml/FineWeb2-HQ` (`text` column only), ~12 languages weighted roughly by size with a floor; plus `HuggingFaceFW/finewiki` de/fr/es/ja/ru/zh/it (~0.3B) | tiny | | **Total** | **100%** | **≈42B** | | | Rationale and alternatives: - The web share is lower than OLMo 3's 76% or SmolLM3's 85%, on purpose. Under an unweighted multi-domain bits-per-byte metric, every domain's own data has high marginal value at low share (DataDecide §2.1). FinePDFs-Edu, peS2o, StackExchange and Wikipedia also carry MMLU/ARC-relevant knowledge. - **DCLM:FineWeb-Edu = 2:1.** This favours DCLM for HellaSwag/PIQA and for bits-per-byte on diverse web (DataDecide). FineWeb-Edu and FinePDFs-Edu supply the MMLU/ARC knowledge. - Optional formatting-diversity variant: replace 4-6 points of DCLM with Nemotron-CC v1 `quality=high/kind=actual` (CC S3, ungated). This is ≈DCLM-level quality with a different extractor (justext). - **Plan B (fewer moving parts):** take ~1/3 of `allenai/dolma3_mix-150B-1025` (≈52B tokens; already web + PDFs + Stack-Edu + FineMath + arXiv + wiki, built for 1B-scale runs). Then replace ~15% of it with Wikipedia, StackExchange, Reddit, books and multilingual from the table above. ### 11.2 Anneal / decay phase (last ~16%), ~8B tokens | Domain | Share | Tokens | Source / selection | |---|---|---|---| | Web HQ: FineWeb-Edu | 15% | 1.2B | `fineweb_edu_100BT` docs with `int_score ≥ 4`, from files not used in the main phase | | Web HQ: DCLM top | 13% | 1.05B | `dclm_100BT` top ~20-30% by `fasttext_score` (unseen files) | | FinePDFs-Edu | 12% | 0.95B | `finepdfs_edu_100BT` (unseen files) | | Code | 15% | 1.2B | Stack-Edu (`common-pile/stackv2_edu_filtered`) with `int_score ≥ 4`, or Python/JS/C++-heavy (unseen); plus Kaggle notebooks ~0.15B | | Math | 10% | 0.8B | `HuggingFaceTB/finemath` `finemath-4plus` 0.6B + `infiwebmath-4plus` 0.2B | | Papers | 9% | 0.7B | arXiv LaTeX 0.25B, peS2o 0.2B, ar5iv-markdown 0.15B (repeat OK), PubMed 0.1B | | Wikipedia | 8% | 0.65B | `wikimedia/wikipedia` en 0.45B + FineWiki en 0.2B (2nd pass OK) | | Books / textbooks | 6% | 0.5B | PG-19 train 0.3B; DOAB 0.15B; LibreTexts + Pressbooks + Wikibooks ~0.05B | | Q&A / forums | 8% | 0.65B | StackExchange-markdown 0.5B (bias toward threads with accepted answers if the metadata allows); Reddit 0.15B | | Multilingual | 4% | 0.3B | FineWeb2-HQ top quality-score docs + FineWiki non-en | | **Total** | **100%** | **≈8B** | | Anneal notes: - Decay the learning rate to near zero across these 8B tokens. Literature optimum for duration is 10-20% (§2.10). - Keep ~40% general web in the anneal. This avoids distribution shift (OLMo 3 keeps pretraining data in midtraining; Zamba2 uses 60/40 replay) and avoids the Marin-style c4en perplexity regression. - If training at 2k context in the main phase, switch to 4k (or longer) for the anneal and include the long PDFs, books and papers. - Optional, opt-in only: a small (≤5%) share of `EssentialAI/eai-taxonomy-stem-w-dclm-100b-sample`, which is real text with an MMLU-STEM boost [V]. Use it instead of part of the DCLM-top slice. - Expected effect, inferred: a large downstream jump (MMLU/ARC, plus GSM8K if measured) and a noticeable bits-per-byte drop on the up-weighted domains [R/inference from §2.10]. ### 11.3 Exact download targets (≈220 GB total; mostly parquet with `text`) Download with `huggingface_hub.snapshot_download(repo_id, repo_type="dataset", allow_patterns=[...], max_workers=8)`, or with `hf_transfer`. At ~65 MB/s per stream, 8 parallel workers should finish in well under an hour if bandwidth scales. | # | Repo / URL | Files to fetch | ≈ Download | ≈ Tokens available | Text column | |---|---|---|---|---|---| | 1 | `HuggingFaceFW/dclm_100BT` | `data/000_00000.parquet` … `data/000_00017.parquet` (18 files) | 54 GB | ~18B (main 11.8B + anneal top slice) | `text` (+`fasttext_score`) | | 2 | `HuggingFaceFW/fineweb_edu_100BT` | `data/000_00000…00017.parquet` (18 files) | 50 GB | ~18B (main 5.9B; scan the rest for `int_score ≥ 4` ≈ 1.2B) | `text` (+`int_score`) | | 3 | `HuggingFaceFW/finepdfs_edu_100BT` | `data/000_00000…00007.parquet` (8 files) | 19 GB | ~8B | `text` | | 4 | `common-pile/stackv2_edu_filtered` | **Files are grouped by language** (mapped by sampling every file head [V]): Markdown 0000-0017, C 0018-0019, C++ 0020-0027, C# 0028-0033, Go 0034-0037, Java 0038-0049, JavaScript 0050-0064, PHP 0065-0072, Python 0073-0084, Ruby 0085, Rust 0086, Shell 0087-0088, Swift 0089-0090, TypeScript 0091-0094. There is **no SQL**, and C is thin (licence filtering). Fetch: Python `0073-0075`, JS `0050`, TS `0091`, Java `0038`, C++ `0020`, C `0018`, C# `0028`, PHP `0065`, Go `0034`, Rust `0086`, Shell `0087`, Swift `0089`, Ruby `0085`, Markdown `0000` (16 files) | ~15.5 GB | ~13B available; use ~5.8B, of which Python ≈30% | `text` (+`int_score` ∈ {2,3,4,5}, `metadata.language`, `metadata.repo_name`, `metadata.license`) | | 5 | `HuggingFaceTB/issues-kaggle-notebooks` | `kaggle/*` (11 files) + `issues/train-0000[0-3]-of-00062.parquet` | 3.1 GB | 1.7B + 0.7B | `text` | | 6 | `bigcode/starcoder2data-extras` | `documentation/*` (3 files) [V] | 1.7 GB [V] | ~0.5B (est.) | `content` | | 7 | `HuggingFaceTB/finemath` | `finemath-3plus/train-0000[0-7]-of-00128.parquet`; `finemath-4plus/train-0000[0-4]-of-00064.parquet`; `infiwebmath-4plus/train-0000[0-1]-of-00032.parquet` | 3.9 + 1.4 + 1.1 GB | 2.2B + 0.75B + 0.5B | `text` | | 8 | `EleutherAI/proof-pile-2` | `arxiv/train/arXiv_00[0-5].jsonl.zst` (6 files); `algebraic-stack/train/*` (pick ~6 files, mixed languages) | 1.4 + ~0.6 GB | ~1.7B + ~0.8B | `text` | | 9 | `common-pile/peS2o_filtered` | `peS2o-0000…0002.json.gz` | 1.9 GB | ~1.4B | `text` | | 10 | `common-pile/pubmed_filtered` | `licensed_pubmed-0000.json.gz` | 2.6 GB | ~2B | `text` | | 11 | `marin-community/ar5iv-no-problem-markdown` | all (`*.jsonl.gz`) | 2.8 GB | 2.74B | `text` | | 12 | `emozilla/pg19` | `data/train-*.parquet` only (23 files; **not** `test-*` / `validation-*`) | 6.3 GB | ~2.5B | `text` | | 13 | `common-pile/doab_filtered` | `doab-0000.json.gz` | 0.74 GB | ~0.6B | `text` | | 14 | `common-pile/pre_1929_books_filtered` | `public_library_1929_dolma-0000.json.gz` | 0.6 GB | ~0.45B | `text` | | 15 | `common-pile/libretexts_filtered`, `common-pile/pressbooks_filtered` | all | 0.3 GB | 0.23B | `text` | | 16 | `wikimedia/wikipedia` | `20231101.en/*` (41 files) | 10.8 GB | ~6.4B | `text` | | 17 | `HuggingFaceFW/finewiki` | `data/enwiki/*` (15 files): read only the `text` column via `HfFileSystem` + `pyarrow.parquet.read_table(columns=["text","title"])`; plus de/fr/es/ja/ru/zh/it wiki dirs for multilingual | ~12 GB effective (text chunks) | ~9B en | `text` | | 18 | `marin-community/stackexchange-markdown` | all 180 site files | 19.2 GB | 20.4B | `text` | | 19 | Dolma v1.7 Reddit: `https://olmo-data.org/dolma-v1_7/reddit/reddit-0000.json.gz` (URL list in HF `allenai/dolma` → `urls/v1_7.txt`) | 1 file. **The server ignores HTTP Range, so whole files are always transferred** [V]. | 2.2 GB | One file is ≈5.09M docs, median 700 bytes, ≈5.8 GB of text ≈ 1.3B tokens [V] | `text` | | 20 | `epfml/FineWeb2-HQ` | Per language, first 1-3 files each; **read only `text`** (skip `embeddings`). The 20 language dirs are [V] `rus_Cyrl, cmn_Hani, deu_Latn, jpn_Jpan, spa_Latn, fra_Latn, ita_Latn, por_Latn, pol_Latn, nld_Latn, ind_Latn, tur_Latn, ces_Latn, vie_Latn, swe_Latn, fas_Arab, arb_Arab, ell_Grek, dan_Latn, hun_Latn`. **No Korean or Hindi**; take those from `HuggingFaceFW/fineweb-2` `kor_Hang`, `hin_Deva` or from FineWiki if wanted. | ~10 GB effective | ~2.5B | `text` | | (opt) | Nemotron-CC v1 HQ-actual (CC S3): pick ~15 random files from `data-jsonl.paths.gz` lines matching `quality=high/kind=actual` | 5.4 GB | ~1.2B | `text` | | (opt, Plan B) | `allenai/dolma3_mix-150B-1025` | `data/**/shard_*.jsonl.zst`, a random third of the shards per dir | ~35 GB | ~52B | `text` | Loading notes [V]: - Column names are not uniform: - `text` almost everywhere; - **`content`** in `openbmb/Ultra-FineWeb` and `bigcode/starcoder2data-extras`; - **`ThreadText`** in `HuggingFaceTB/stackexchange_2025_md`. - Common Pile and Dolma files are jsonl.gz / zst with `text` plus metadata. Common Pile filenames are `*.json.gz` but the content is JSON lines. - Parquet row groups are ~1k docs in the HF Smol-Data sets, so streaming reads are easy. - Shuffle at the document level across sources when building the tokenized shards. Do not rely on the source order: the `-shuffled` Smol-Data variants exist precisely because the unshuffled ones are grouped. - Tokenization: a Rust BPE (HF `tokenizers`) with 16 processes should handle ~50B tokens in roughly 1-2 hours [R estimate]. - Train our own tokenizer on a sample of **this same mixture**: web, code, LaTeX, multilingual. - Using any pretrained tokenizer is a gray area under the "no pretrained models" rule; avoid it. --------------------------------------------------------------------------------------------------- ## 12. Open questions and risks - **Unknown eval domains.** The mix hedges across 8 domain families. If the team can glean the domain list (e.g. from `domain` names in any provided sample), re-weight: each extra domain's own data at 3-8% is the cheapest bits-per-byte win. - **Formatting mismatch.** Bits-per-byte is sensitive to whitespace and markup conventions (Marin §2.8). We include plain text, markdown, LaTeX and OCR variants. If a sample of eval text is available, compare it against candidate sources by formatting statistics (newline density, markdown headers, LaTeX density) before finalising. - **Licensing.** - Several sources carry NC or agreement terms: ClimbMix NC, NVIDIA agreement, CC Terms of Use. - Third-party "materialized" mirrors (`jordangong/*`, `karpathy/climbmix-400b-shuffle`) may launder licences. - The recommended mix uses only ODC-BY, CC-BY, CC-BY-SA, Apache, public-domain and openly licensed sources, plus the Dolma v1.7 Reddit [R ODC-BY] and the Stack-Edu open-licence subset. - **Gated datasets.** The token user `Frogtree12` has no access to any gated repo. "auto" gates need a human to click "agree" on the HF website: StarCoderData, the-stack(-v2), Nemotron-CC-Math, institutional-books. "manual" gates (Nemotron-CC v2/v2.1, Nemotron code) need NVIDIA approval. The recommended mix needs none of them. - **Not verified:** - the exact per-file token counts for our tokenizer; - TxT360-v2 semantics; - quality of the Dolma 3.5 `dolma_code` buckets; - whether SmolLM3's exact code % was 10 or 12; - DCLM's crawl date range (≤2022) [R]. - **Download footprint of this research:** about 150 MB of metadata and READMEs went to disk (mostly the 139 MB DataDecide `macro_avg` parquet). All of these scratch files in `/tmp` were deleted afterwards; to reproduce §2.1, re-download `allenai/DataDecide-ppl-results` and `allenai/DataDecide-eval-results/data/macro_avg-*.parquet`. In addition, about 5-6 GB were **streamed into memory and discarded** from olmo-data.org, which ignores HTTP Range requests: Reddit, cc_news and books files were fetched in full while sampling. Nothing from those was written to disk. ## Sources (fetched or queried today) - HF Hub API: dataset_info, list_repo_tree, auth_check, README, parquet footers, ≤2.5 MB file heads, for every repo named above. - DataDecide: arXiv 2504.11393; result files `allenai/DataDecide-ppl-results`, `allenai/DataDecide-eval-results` (my analysis). - FinePDFs blog: https://huggingfacefw-finepdfsblog.hf.space/ ; FinePhrase: arXiv 2604.13977 ; open-sci-ref: arXiv 2509.09009 ; Nemotron-CC: arXiv 2412.02595 ; OLMo 3: arXiv 2512.13961. - Marin 8B retrospective: github.com/marin-community/marin/blob/main/docs/reports/marin-8b-retro.md - Nemotron-CC v1 on Common Crawl: https://data.commoncrawl.org/contrib/Nemotron/Nemotron-CC/index.html - Smol Training Playbook: https://huggingfacetb-smol-training-playbook.hf.space/ - Secondary summaries via web search: SmolLM2 (arXiv 2502.02737), SmolLM3 blog, Llama 3 annealing, Blakeney et al. 2406.03476, "To Code or Not to Code" (ICLR 2025), Nemotron-CC-Math (arXiv 2508.15096), Essential-Web (arXiv 2506.14111), Common Pile (arXiv 2506.05209).