← Datasets

Compare

FineWeb-Edu
#1088 · remove
The Stack v2
#232 · remove
FineTranslations
#205 · remove
Kinddatasetdatasetdataset
Published202420242026
LicenseODC-By 1.0 (card). Also subject to Common Crawl Terms of Use.Various (per-repository licenses; must abide by original license terms)ODC-By 1.0
License familyPermissiveOtherPermissive
Accessfreerestrictedfree
Language codesencodeabk, abq, abs, acm, adh, adi, ady, aeb, afr, agx, aii, aim, ain, ajz, akb, aln, als, alt, amh, anp, aoz, apc, apt, ar, arg, arq, ars, ary, arz, asm, ast, atb, ava, awa, ayp, ayr, azb, azj, bak, bam, ban, bar, bas, bbc, bbk, bcl, bdq, bel, bew, bg, bho, bhp, bis, biu, bjn, bn, bod, bos, brh, brx, bts, btx, bug, bwi, bxr, ca, cbk, ccp, ceb, cfm, cha, che, chr, chu, chv, cjs, ckb, ckt, cs, multilingual, zh
Modalitiestexttexttext
Size1B to 10B rows—1B to 10B rows
Downloads (last month)419,8236,03135,880
Likes1,312638303
Last updated2025-07-112026-08-032026-01-09
Taskstext-generationtext-generationtext-generation, translation
Formatsparquet—parquet
ScaleCard: 1.3T gpt2 tokens at educational threshold >=3 (paper: ~92% of FineWeb dropped). v1.3.0 added ~35B tokens on reprocessed 2024 dumps; v1.4.0 added six 2025 dumps (new token total not retabulated on the card). HF default: 1,525.2M documents, 4,522.7 GB parquet (2,410 files). usedStorage 6,190,715,174,200 bytes (~6.19 TB); 3,038 siblings. Samples: sample-10BT 9.7M docs / 28.5 GB; sample-100BT 97.3M / 286.4 GB; sample-350BT 339.3M / 998.1 GB. Companion FineWeb-Edu-score-2 (threshold >=2): 5.4T tokens / usedStorage ~20.06 TB / 14,947 downloads / 89 likes. size_categories n>1T. DOI 10.57967/hf/2497.Hub parquet (partial conversion): algorithmic_corpus 5.3M / 1.4 GB; synthetic_code_snippet 3.1M / 1.4 GB; synthetic_qa 3.2M listed vs 7.2M estimated / 2.3 GB. Viewer total 11.6M rows (est. 15.6M). size_categories 10M<n<100M. Canonical dump is JSONL: algorithmic_corpus 54 files ~3.78 GB; synthetic_code_snippet 31 files ~4.94 GB; synthetic_qa 106 files ~17.6 GB (~26.3 GB LFS). Paper Table 3 annealing mix (training tokens, includes RefineCode which is NOT this repo): RefineCode 83.94B + Algorithmic Corpus 12.44B + High Quality Code Snippet 2.71B + Code Textbooks 0.91B. Hub 43.9K downloads / 44 likes at check.subsets.csv all: 1,666,372,172 docs / 1,159,471,714,630 English tokens (~1.159T; ~696 tok/doc) / 13,948,470,776,026 bytes (~13.95 TB / 12.69 TiB). Card slogan 1+1T parallel tokens (original + English). YAML size_categories n>1T (tokens); Hub tags 1B<n<10B (docs). gated=false. Hub 300.3K downloads / 300 likes at check. Cap 50B tokens/source language before translation.
Formatparquet (text, id, dump, url, date on later dumps, file_path, language, language_score, token_count, score float64, int_score int64)JSONL on the Hub (canonical). Configs algorithmic_corpus, synthetic_code_snippet, synthetic_qa. Schemas: {type, lang, text} for the first two; {text, file_name, file_ext, file_size_in_byte, lang, program_lang} for synthetic_qa. Parquet conversion exists but is partial.parquet per language-script under data/<lang>_<script>/. Fields: translated_text, translated_chunks, og_chunks, og_full_text, og_language, og_language_score, og_token_count, og_quality_score, early_stop, id, url, warc_path, minhash_cluster_size, translated_token_count, edu_score_raw, edu_score. Config all plus one config per script.
TypePretraining corpus / educational-quality-filtered English web crawlPretraining annealing corpus / algorithmic code + synthetic rewritesPretraining corpus / parallel FineWeb2→English translations
CostFreeFreeFree
LanguagesEnglish 100% (inherited FineWeb fastText en score >= 0.65). Non-English leftover is FineWeb 2, not this repo.Code-first. JSONL `lang` on algorithmic_corpus/synthetic_code_snippet is a programming language (preview python/java). synthetic_qa JSONL has lang=en plus program_lang (preview java). Card has no spoken-language tag. Paper also synthesizes multilingual snippets. No LID table.500+ source languages (card language tags; FineWeb2 langs with bible_wiki_ratio<0.5). English translations (eng_Latn) are the target. subsets.csv top English-token scripts: cmn_Hani 49.77B (4.3%); jpn_Jpan 45.06B; ind_Latn 44.05B; spa_Latn 41.95B; por_Latn 41.49B; kor_Hang 40.04B; ita_Latn 39.74B; deu_Latn 39.51B; rus_Cyrl 39.15B; vie_Latn 39.06B; fra_Latn 38.78B; fas_Arab 38.72B; tur_Latn 38.18B; nld_Latn 37.92B; arb_Arab 37.51B. Many tiny scripts (single-digit docs). Multi-script langs (arb_Arab/Latn, hin_Deva/Latn, …) are separate configs.
ModalityText-onlyText-only (source code + English comments/prompts).Text-only (parallel original + English; no images)
DomainEnglish educational web crawl; general pretraining; Common Crawl HTML filtered for educational qualitycode pretraining annealing; algorithmic/LeetCode-style files; synthetic self-contained functions and code-exercise QA; multilingual source filesmultilingual web pretraining; English↔X parallel text; FineWeb2 translations
Time periodCommon Crawl dumps Summer 2013–June 2025 (card v1.4.0; same WARC window as FineWeb). Parquet-size share of the 4,522 GB per-dump total: 2013 1.4%; 2014 5.8%; 2015 6.8%; 2016 6.2%; 2017 10.7%; 2018 10.0%; 2019 9.8%; 2020 7.9%; 2021 9.2%; 2022 7.1%; 2023 7.1%; 2024 11.0%; 2025 6.9%. Paper original used FineWeb through April 2024. Per-document crawl date in `date` on later dumps.Algorithmic seed sampled from The Stack v2 / GitHub-style LeetCode solutions (paper RefineCode GitHub cutoff Nov 2023). Synthetic rewrite during OpenCoder annealing. HF createdAt 2024-11-12; lastModified 2025-05-29. Paper arXiv 2411.04905 (2024-11-07).Source FineWeb2 Common Crawl 2013–2024. HF createdAt 2026-01-08 (API _id 695fb1b3); lastModified 2026-01-09T16:45:58Z. Gemma3 27B translations run ~3 months on leftover HF-cluster compute. Discord posted 2026-01-14.
PurposeOpen English LLM pretraining corpus of educational web pages filtered from FineWeb with a Llama3-70B-annotated classifierHigh-quality extra mix for the OpenCoder annealing stage (paper: quality over quantity after general RefineCode pretrain), beyond the original RefineCode distribution1T+ English tokens of Gemma3-translated FineWeb2 for English→X translation finetune and as a FineWeb-comparable English pretrain mix (cultural coverage from 500+ source languages)
Used forHuggingFace FineWeb-Edu 1.8B ablation (350B tokens; HuggingFaceFW/ablation-model-fineweb-edu). SmolLM / SmolLM2 via HuggingFaceTB/smollm-corpus FineWeb-Edu subset (card: further dedup of this repo did not change 1.8B/350B ablations). MiniCPM Ultra-FineWeb paper compared against FineWeb-edu. Many later papers_local pretrains (Titans, LT2, GDN-2, OPUS, Q-Sparse, SPS). Hub 397,788 downloads / 1,257 likes at check.OpenCoder-1.5B/8B-Base annealing (paper Table 3 + Fig 9 ablation: dropping this high-quality mix hurts HumanEval/MBPP). Companion of already-cataloged opc-fineweb-code-corpus and opc-fineweb-math-corpus. Hub 43.9K downloads / 44 likes at check. Discord posted the OpenCoder-LLM collection.None verified on the card (no official pretrained weights shipped). DataTrove inference-runner example. Hub 300.3K downloads / 300 likes at check. Discord posted the HF pointer.
AuthorsDiverse public-web authors across Common Crawl. Hugging Face FineWeb team curated. Educational-score labels from Llama3-70B-Instruct on 500k FineWeb samples; Snowflake-arctic-embed-m regressor applied at scale. Residual AI-generated web text possible; not quantified on the card.OpenCoder-LLM / INF / M-A-P. algorithmic seed: public GitHub/Stack v2 authors (synthetic_qa JSONL has @author javadoc and leetcode-cn URLs). Snippets/QA-style rows rewritten by a strong LLM (paper: Qwen2-72B-Instruct / GPT-4o-Mini-related hqcode for textbooks). Residual LeetCode/contest-solution culture.Original pages: FineWeb2 / Common Crawl web authors. Translations: Gemma3 27B-it (google/gemma-3-27b-it). HuggingFaceFW (Guilherme Penedo, Hynek Kydlíček, Amir Hossein Kargaran, Leandro von Werra). Quality scores from EPFL FineWeb2-HQ classifiers where available.
BiasEnglish-only educational web. Classifier prompt targeted grade-school/middle-school knowledge to avoid over-keeping arXiv-style pages; threshold 3 still retains some high-level educational text. Educational/instruction/textbook-like pages overweighted vs raw FineWeb. URL NSFW/malware blocklist still leaves toxic/harmful pages. No Wikipedia-likeness or toxicity classifiers (same dialect/identity rationale as FineWeb). Code and site-specific curated sources underrepresented.LeetCode/algorithm-keyword sample (paper: leetcode / def solution / class solution), not general GitHub. Card folder names do not match JSONL schemas: synthetic_qa JSONL is raw source files (file_name/file_ext/program_lang), while algorithmic_corpus JSONL is type=qa prompt+code and synthetic_code_snippet is type=snippet. Hub parquet conversion for synthetic_qa looks incomplete. Seeded from gated Stack v2; this derived dump is public. English comments + many languages of code.Non-English FineWeb2 web only (English FineWeb is a sister, not this dump). bible_wiki_ratio filter drops langs that are mostly Bible/Wikipedia. High-resource scripts dominate token mass (CJK + Romance + Germanic + Arabic/Persian). Gemma3 translation style can uniformize and lose culture-specific meaning; lower-resource langs have weaker translations. Residual FineWeb2 NSFW/web bias; adult/spam early-exit is incomplete. Educational classifier was retrained because FineWeb-Edu scores did not lift Gemma English.
Text qualityLlama3-70B 0–5 educational scores distilled into a Snowflake-arctic-embed-m regressor (binary F1 82% at threshold 3). 1.8B/350B ablations beat FineWeb and other open web mixes on MMLU/ARC/OpenBookQA; threshold >3 helps knowledge benches but hurts HellaSwag/PIQA. Residual FineWeb boilerplate/toxicity remains. Classifier inference over original FineWeb 15T took ~6k H100 GPU hours.Paper: algorithmic files are self-contained and closer to interactive tasks; synthetic snippets kept only if generated tests pass. JSONL preview: real LeetCode Java (pivot index) plus synthetic documented functions. Residual contest boilerplate and incomplete test harnesses in type=qa rows. Not RefineCode (960B) and not the SFT stages.Gemma3 27B chunked translation (512-token chunks, sliding window, strict format/line-break prompts, TRANSLATION tags). early_stop drops trailing chunks on format failure so og_full_text may not match translated_text. Formatting not always preserved. Companion finetranslations-edu is top-10% of a new English educational classifier (FineWeb-Edu itself did not help). Residual translation errors and FineWeb2 boilerplate.
Sample sizedefault = all dumps (1,525.2M). One train config per CC-MAIN dump (110 dumps). Nested random samples sample-10BT / sample-100BT / sample-350BT (10BT sampled from 100BT from 350BT). FineWeb-Edu-score-2 is a separate looser-threshold repo, not a config here.Three train configs, no default. Viewer: algorithmic_corpus 5.3M; synthetic_code_snippet 3.1M; synthetic_qa 3.2M parquet / ~7.2M estimated. No official val/test. Paper token mix above is the training recipe, not a guarantee each HF folder equals that token count.Train-only per language-script config (no val/test). subsets.csv is the per-script doc/token/byte table. all is the concat of those scripts, not extra unique docs. Companion HuggingFaceFW/finetranslations-edu is a separate repo (top-10% edu), not a config here.
Long contextMixed (full web documents; typical pages short-to-medium, some long). Ablations used seq 2048.No (self-contained files/functions; OpenCoder-8B trained at 8K, 1.5B at 4K).Mixed (mean ~696 English tok/doc; source pages chunked at 512 tok for translation). Not a long-document corpus.
Intermediate stepsYes (FineWeb URL+trafilatura+LID+Gopher/C4/custom filters+per-dump MinHash, then Llama3-70B annotation of 500k samples, arctic-embed-m regression, keep int_score >= 3). Classifier training/inference: github.com/huggingface/cosmopedia/tree/main/classification. FineWeb pipeline: github.com/huggingface/datatrove/blob/main/examples/fineweb.pyYes (keyword sample from Stack v2/RefineCode; LLM rewrite to snippets with tests; LLM textbooks). Paper §2.2. Sibling SFT dumps opc-sft-stage1/stage2 are separate repos.Yes (FineWeb2 → bible_wiki_ratio<0.5 → ≤50B tok/lang via FineWeb2-HQ or random sample → 512-tok chunked Gemma3 27B translation on leftover HF GPUs via DataTrove inference runner → strip tags / fix chunk newlines → edu classifier for the sibling dump). Code: github.com/huggingface/finetranslations.
Idea qualityHighHighHigh
NoveltyHighMedium (public annealing extras for an already-cataloged OpenCoder FineWeb pair; still a distinct dump)High (open 1T-token X→English FineWeb2 parallel dump at 500+ langs; English side matches FineWeb-scale pretrain)
Text conversionReady parquet; HF streaming / datatrove ParquetReader recommended. Full dump is several TB.Ready JSONL; load_dataset('OpenCoder-LLM/opc-annealing-corpus', '<config>'). Streaming recommended (~26 GB JSONL). Prefer JSONL over the incomplete parquet conversion.Ready parquet; load_dataset('HuggingFaceFW/finetranslations', '<lang>_<script>'). Config all concatenates every script. Streaming required (~14 TB). Do not confuse with finetranslations-edu (top 10%).
Collection methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2025-07-11; v1.4.0 added six 2025 dumps; card plans a better educational classifier)Unknown (HF lastModified 2025-05-29; one-shot annealing dump. Stack v2 / GitHub later grew; this snapshot was not refreshed.)Unknown (HF lastModified 2026-01-09; one-shot Gemma3 translation of FineWeb2)
ProcessedUnknownUnknownUnknown
SummaryUngated Hugging Face FineWeb-Edu educational subset of FineWeb (same paper arXiv 2406.17557). Hub/datasets-server ~3.497B rows across default+per-dump configs / parquet ~10.36 TB / usedStorage ~6.19 TB. Card ~1.3T gpt2 tokens at educational threshold >=3 (FineWeb-Edu-score-2 is the separate 5.4T threshold-2 sibling). ODC-By 1.0 + Common Crawl ToU. Already deep-eval'd in datasets_local.The Stack v2 is a large-scale pre-training dataset of source code containing over 3 billion files in 600+ programming and markup languages, derived from the Software Heritage archive. It serves as a pre-training corpus for Code LLMs (used to train StarCoder2), with the full dataset at 67.5TB and the deduplicated version at 32.1TB (~900B tokens). The dataset provides SWHIDs (Software Heritage IDs) for provenance and compliance, with file contents stored on Software Heritage's S3 bucket.FineTranslations is a trillion-token parallel-text dataset created by translating non-English content from FineWeb2 into English using Gemma3 27B, covering English and 500+ languages. It is intended to improve machine translation (especially English→X direction) and can also serve as high-quality English pre-training data comparable to FineWeb.