← Datasets

Compare

OpenCoder Datasets
#29 · remove
FineWeb 2
#25 · remove
Kindcollectiondataset
Published—2024
LicenseOpen (various per dataset; RefineCode metadata and corpora released for research)ODC-By v1.0 (Open Data Commons Attribution); also subject to CommonCrawl Terms of Use
License familyOtherPermissive
Accessfreefree
Language codescode, en, multilingual, zhaai, aak, aau, aaz, aba, abi, abk, abn, abq, abs, abt, abx, aby, abz, aca, acd, ace, acf, ach, acm, acn, acr, acu, ada, ade, adh, adi, adj, adl, ady, adz, aeb, aer, aeu, aey, afr, agd, agg, agm, agn, agr, agt, agu, agw, agx, aha, ahk, aia, aii, aim, ain, ajg, aji, ajz, akb, ake, akh, akp, alj, aln, alp, alq, als, alt, aly, alz, ame, amf, amh, ami, amk, amm, amn, amp, amr, amu, amx, ang, anm, ann, multilingual
Modalitiestexttext
Size—1B to 10B rows
Downloads (last month)—102,006
Likes—893
Last updated—2025-10-27
Tasks—text-generation
ScaleHF: 100,920,235 train docs; size_categories 100M<n<1B; YAML dataset_size 254,927,419,643 bytes (~254.9 GB); datasets-server dataset_size 264.6 GB; download_size / usedStorage 147,948,949,488 bytes (~147.9 GB); 510 parquet shards ~290 MB each. GitHub table 148 GB. Paper Table 2: Processed FineWeb 55B tokens (5.7% of RefineCode 960B) covering this repo plus opc-fineweb-math-corpus (5,241,900 docs / download 9.95 GB / dataset_size 18.2 GB). HF 1,704 downloads / 55 likes at check.Filtered set: 3.339T words, 5.019B documents, 20.78 TB UTF-8 / 8.58 TB on disk. Paper: ~20 TB / 5B documents / 1000+ languages. Token count not reported (tokenizer- and script-dependent; ablations used Gemma ~250k vocab). size_categories n>1T. HF 81,776 downloads / 858 likes at check. DOI 10.57967/hf/3744.
Formatparquet (url, tag, text, file_path, dump, file_size_in_byte, line_count)parquet per language-script (text, id, dump, url, date, file_path, language, language_script, language_score, top_langs, minhash_cluster_size, wordlist_ratio)
TypePretraining corpus / code-related FineWeb recallPretraining corpus / cleaned multilingual web crawl
CostFreeFree
LanguagesEnglish 100% (inherited FineWeb fastText en score >= 0.65). OpenCoder models also train Chinese from other web sources (SkyPile / annotated CC domains), not this repo. Sampled `tag` values are "code".English 0% (explicitly excluded; complement with FineWeb). 1,868 language-script pairs; 474 with >1k docs; 203 with >10k. Word share of 3.339T words: rus_Cyrl 17.6%; cmn_Hani 16.3%; jpn_Jpan 9.9%; deu_Latn 7.9%; spa_Latn 7.8%; fra_Latn 6.6%; ita_Latn 4.2%; por_Latn 3.3%; nld_Latn 2.2%; pol_Latn 2.2%; remaining ~1,858 pairs 22.0%. Discord 2025-03 note (1,893 langs; 486 >1MB; 80 >1GB) is an earlier card figure.
ModalityText-only (code-related natural language with inline code snippets)Text-only
Domaincode-related English web; FineWeb-derived pretraining; programming forums/docs/tutorialsNon-English multilingual web crawl; general pretraining; Common Crawl HTML
Time periodFineWeb Common Crawl dumps inherited in `dump` (viewer samples CC-MAIN-2018-43, 2021-49, 2022-27, 2023-14, 2023-40; FineWeb original window Summer 2013–April 2024). HF createdAt 2024-11-09; lastModified 2024-11-24. Paper arXiv 2411.04905 (2024-11-07). GitHub posted the 55B FineWeb-recalled pages 2024-11-11.96 Common Crawl dumps, Summer 2013–April 2024 (same WARC window as original FineWeb; English-score <0.65 leftover). Card v2.1.1 2025-10-27; paper 2025-06-26. Per-document crawl date in `date`.
PurposePublic FineWeb slice of OpenCoder pretraining: code-related pages recalled with iterative fastText (paper: part of RefineCode’s ~75B code-related web tokens / 55B Processed FineWeb)Massively multilingual LLM pretraining; language-adaptive FineWeb pipeline (GlotLID, per-language filters/dedup, rehydration) covering 1000+ languages
Used forOpenCoder-8B-Base (2.5T tokens, 90% raw code / 10% code-related web; paper: the 1.5B run omitted this recall because processing was incomplete). infly/OpenCoder-8B-Instruct HumanEval pass@1 83.5. GitHub OpenCoder-llm 2,105 stars at check. Discord posted the OpenCoder-LLM collection.HuggingFace FineWeb2 1.45B per-language ablation models (Gemma tokenizer, ~30B tokens); Apertus 8B/70B (FineWeb-2 + FineWeb-2-HQ; ~15T tokens / 1811 langs). Hub lists hundreds of models trained on this dataset (81,776 downloads / 858 likes at check).
AuthorsPublic-web authors from FineWeb/Common Crawl (vendor forums, GitHub issues, blogs, SEO pages). OpenCoder-LLM / INF / M-A-P curated. Residual AI-generated web text possible; not quantified.Diverse public-web authors in each language. Hugging Face + EPFL FineWeb2 team curated. Residual AI-generated web text possible; not quantified.
BiasCode-forum/tutorial-like English web overweighted vs raw FineWeb. Three-round fastText recall from 500k Autonomous Data Selection seeds. Viewer samples include false positives (watch-collector pages tagged code) and SEO “error fix” pages. High-resource programming English (Intel/embedded forums, GitHub, Stack-like).High-resource languages dominate (Russian+Mandarin ~34% of words). GlotLID confuses closely related langs/dialects. URL NSFW filter still leaves toxic web text. Poetry hit by punctuation-style filters. No Wikipedia-likeness or toxicity classifiers (same dialect/identity rationale as FineWeb). Many low-resource labels have noisy LID.
Text qualityFineWeb-filtered then fastText code recall. Mixed: genuine device-driver/dev-ops threads and tutorials plus boilerplate/SEO. Not the RefineCode raw-code heuristic set (130+ language-specific rules). Residual FineWeb toxicity/boilerplate remains.Trafilatura + GlotLID + per-language MinHash + adapted FineWeb/Gopher filters (C4 filters dropped; paragraph-repetition disabled). Rehydration via minhash_cluster_size recommended; without it, reported ablation gains may not hold. Outperformed CC-100, mC4, CulturaX, HPLT on 9 canary languages; Chinese-specific corpora (TigerBot, MAP-CC) still win on Chinese.
Sample sizeSingle default train split 100,920,235. Companion math corpus 5.24M is a separate repo, not a config here. No official 10BT-style subsample.One train (+ small test) config per language-script; plus `_removed` (filter rejects after dedup) and `und_*` (unsupported script / unknown language, no dedup/filter). No official 10BT-style global sample. Top 80 languages tabulated on the card; full list on GitHub fineweb2-language-distribution.csv.
Long contextMixed (full web documents; OpenCoder-8B trained at 8K, 1.5B at 4K).Mixed (full web documents; length varies by language). Ablations used seq 2048.
Intermediate stepsYes (FineWeb URL+trafilatura+LID+heuristics+MinHash, then 3-round fastText recall). Paper also recalls from Common Crawl, SkyPile, AutoMathText, and GitHub text files — those slices are not this repo.Yes (FineWeb URL+trafilatura leftover, GlotLID with per-lang confidence thresholds, global per-language MinHash, language-tuned filters/stopwords, email/IP PII, FTFY encoding fix). Pipeline: github.com/huggingface/fineweb-2. `_removed` and `und_*` subsets also released.
Idea qualityHighHigh
NoveltyHighHigh
Text conversionReady parquet; load_dataset("OpenCoder-LLM/opc-fineweb-code-corpus"); streaming recommended (~148 GB download).Ready parquet; load_dataset by language-script config (e.g. por_Latn); streaming recommended. load_dataset does not serve `_removed` or `und_` splits.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2024-11-24; FineWeb later grew past the paper crawl window; this snapshot was not refreshed)Unknown (HF lastModified 2025-10-27; v2.1.1 added han_Latn/nan_Latn; crawl window still ends April 2024)
ProcessedUnknownUnknown
SummaryThe OpenCoder Datasets collection comprises the full reproducible training data pipeline for the OpenCoder code LLM family, including RefineCode (960B tokens of high-quality code across 607 programming languages with 130+ language-specific filtering rules), FineWeb-code-corpus (148GB), FineWeb-math-corpus (10GB), an annealing corpus (24GB, 15.6M examples), and two-stage SFT datasets (4.21M + 436K examples). Released alongside the OpenCoder paper (ACL 2025), it provides complete transparency into the data curation process for training top-tier code LLMs.FineWeb 2 is a multilingual web text dataset extending the FineWeb methodology to over 1000 languages (1870 subsets), derived from CommonCrawl data and processed with the same datatrove-based pipeline as the original FineWeb. It provides cleaned, deduplicated text for languages ranging from major ones (Arabic, Chinese, French, German) to extremely low-resource languages, making it the largest publicly available multilingual clean web pretraining corpus. Published with an associated paper (arXiv:2506.20920).