| Kind | dataset | collection | dataset |
|---|
| Published | 2025 | — | 2024 |
|---|
| License | HF card YAML has no license field. Treat as Unknown; per-file upstream OSS licenses still apply to the source text. | Open (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 family | Other | Other | Permissive |
|---|
| Access | free | free | free |
|---|
| Language codes | code, go | code, en, multilingual, zh | en |
|---|
| Modalities | code, text | text | text |
|---|
| Size | 100K to 1M rows | — | 10B to 100B rows |
|---|
| Downloads (last month) | 27 | — | 301,935 |
|---|
| Likes | 3 | — | 3,579 |
|---|
| Last updated | 2025-04-11 | — | 2025-07-11 |
|---|
| Tasks | — | — | text-generation |
|---|
| Formats | parquet | — | — |
|---|
| Scale | HF: 237,681 train rows; size_categories 100K<n<1M. YAML dataset_size 1,195,185,254 bytes (~1.20 GB); download_size 335,796,156 (~335.8 MB); usedStorage 487,535,044 (~487.5 MB); 3 parquet shards (149.6 + 94.0 + 92.1 MB). Hub 724 downloads / 2 likes at check (API last-month downloads 25). Character stats on full split: prefix mean 2,686 / median 1,372 (max 38,973); suffix mean 2,381 / median 1,097 (max 36,070); middle mean 202 / median 50 (max 29,398); file_name mean 14 chars. | HF: 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. | Card dump table: 18,527B gpt2 tokens (~18.5T; originally 15T in the NeurIPS 2024 paper) and 50,446.9 GB (~50.4 TB) on disk. size_categories n>1T. Samples: sample-10BT ~10B gpt2 / 27.6 GB; sample-100BT ~100B / 277.4 GB; sample-350BT ~350B / 388 GB. HF 424,171 downloads / 3,188 likes at check. DOI 10.57967/hf/2493. |
|---|
| Format | parquet (file_name, prefix, suffix, middle, fim_type) | parquet (url, tag, text, file_path, dump, file_size_in_byte, line_count) | parquet (text, id, dump, url, date, file_path, language, language_score, token_count) |
|---|
| Type | Code FIM / infill training corpus (prefix, suffix, middle, fim_type, file_name) | Pretraining corpus / code-related FineWeb recall | Pretraining corpus / cleaned English web crawl |
|---|
| Cost | Free | Free | Free |
|---|
| Languages | Programming languages (natural-language comments mixed in). 800-row offset sample of file_name (n=800): .py 40.6% (325); .rs 24.0% (192); .js 16.9% (135); .ts 10.8% (86); .go 6.5% (52); .tsx 1.3% (10). Full-corpus extension mix not tabulated on the card. | English 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 100% (fastText en score >= 0.65). Non-English WARC text was the starting point for FineWeb 2. |
|---|
| Modality | Text + source code | Text-only (code-related natural language with inline code snippets) | Text-only |
|---|
| Domain | code fill-in-the-middle; infilling SFT; Rust/Python/JS/TS/Go source | code-related English web; FineWeb-derived pretraining; programming forums/docs/tutorials | English web crawl; general pretraining; Common Crawl HTML |
|---|
| Time period | HF createdAt 2025-04-11T08:41:12Z; lastModified 2025-04-11T11:47:02Z. Source files older than the FIM packaging (unverified per-file dates). | FineWeb 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. | Common Crawl dumps Summer 2013–June 2025 (card v1.4.0). gpt2-token share by crawl year from the dump table (18,527B listed total; year rows sum ~18,306B): 2013 1.6%; 2014 6.1%; 2015 7.0%; 2016 6.4%; 2017 11.6%; 2018 10.8%; 2019 9.9%; 2020 7.8%; 2021 9.1%; 2022 6.9%; 2023 6.5%; 2024 9.3%; 2025 5.7%. Paper original release used 96 dumps through April 2024. |
|---|
| Purpose | Prefix–suffix–middle FIM examples (four span types) for training code infill models | Public 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) | Open English LLM pretraining corpus; documented ablation of extraction, per-dump MinHash, and heuristic filters vs RefinedWeb/C4/Dolma/The Pile |
|---|
| Used for | None listed on this repo (0 Hub models with dataset:Etherll/CodeFIM-Data). Sibling CodeFIM-Rust-Mellum (56,920 rows) trains Etherll/Mellum-4b-sft-rust. Earlier Etherll/code-fim-v2 (63,968) has Hub models. | OpenCoder-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 FineWeb 1.8B ablation models; SmolLM and SmolLM2 (via FineWeb-Edu in SmolLM-Corpus); Apertus 8B/70B (with FineWeb-2); many Hub models (424k downloads / 3,188 likes at check). Discord also cited Tiny-LLM + many more. |
|---|
| Authors | Etherll packaged FIM spans from existing source files (viewer includes OSS-style Rust crates and Python scripts). Per-file original authors unverified. No human annotation of spans. | Public-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 across Common Crawl. Hugging Face FineWeb team curated. Residual AI-generated web text possible; not quantified on the card. |
|---|
| Bias | FIM-span types are not uniform. 800-row sample is Python+Rust heavy vs other languages. Multiple FIM views of the same file (e.g. repeated main.rs) over-weight long files. Source mix and license of upstream files not documented. | Code-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). | English-only public web; URL blocklist for NSFW/malware but toxic/harmful pages remain. Authors avoided Wikipedia-likeness and toxicity classifiers because those disproportionately drop dialects and identity-related text. Code and site-specific curated sources (Wikipedia formatting) are underrepresented vs general web. |
|---|
| Text quality | Real source files split into prefix/suffix/middle; comments and tests included. Residual local paths (e.g. /home/hom/alfred) and duplicated whole-file contexts across span types. No card quality filter. | FineWeb-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 WARC extraction + Gopher/C4/FineWeb heuristics + per-dump MinHash; ablation 1.8B models beat RefinedWeb, C4, Dolma-v1.6-CC, The Pile, SlimPajama, RedPajama2 on the card aggregate. Still web-boilerplate residual. Educational subset is FineWeb-Edu (1.3T gpt2), not this repo. |
|---|
| Sample size | Single default train split 237,681. Full-split fim_type: random_line_split 77,693 (32.7%); identifier_name 60,419 (25.4%); identifier_body 54,679 (23.0%); conditional_block 44,890 (18.9%). Companion CodeFIM-Data-trim and CodeFIM-Rust-Mellum are separate repos, not configs here. | Single default train split 100,920,235. Companion math corpus 5.24M is a separate repo, not a config here. No official 10BT-style subsample. | default = all dumps; one config per CC-MAIN dump; sample-10BT / sample-100BT / sample-350BT nested random samples. Recent dumps recommended for <550B-token trainings (CC-MAIN-2023-50, 2024-10, 2024-18). |
|---|
| Long context | Mixed (median prefix+suffix ~2.5k chars; tails to ~39k prefix / ~36k suffix). | Mixed (full web documents; OpenCoder-8B trained at 8K, 1.5B at 4K). | Mixed (full web documents; typical pages short-to-medium, some long). Ablations used seq 2048. |
|---|
| Intermediate steps | Yes (span extraction into four fim_type classes). Pipeline code and source-repo list are not on the card. | Yes (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 (URL filter, trafilatura, fastText LID, Gopher repetition/quality, C4 filters minus terminal_punct, FineWeb custom filters, per-dump MinHash 5-grams 14x8, email/IP PII rewrite). Pipeline: github.com/huggingface/datatrove/blob/main/examples/fineweb.py |
|---|
| Idea quality | Medium | High | High |
|---|
| Novelty | Medium (standard PSM FIM packaging; undocumented scrape) | High | High |
|---|
| Text conversion | Ready parquet; load_dataset("Etherll/CodeFIM-Data") | Ready parquet; load_dataset("OpenCoder-LLM/opc-fineweb-code-corpus"); streaming recommended (~148 GB download). | Ready parquet; HF streaming / datatrove ParquetReader recommended. Full dump is tens of TB. |
|---|
| Collection method | Download | Download | Download |
|---|
| Static | Unknown (HF lastModified 2025-04-11; one-shot upload) | Unknown (HF lastModified 2024-11-24; FineWeb later grew past the paper crawl window; this snapshot was not refreshed) | Unknown (HF lastModified 2025-07-11; v1.4.0 added six 2025 dumps; card plans further CC updates) |
|---|
| Processed | Unknown | Unknown | Unknown |
|---|
| Summary | CodeFIM-Data is a HuggingFace dataset of 238,000 rows formatted for fill-in-the-middle (FIM) code completion training. Each row contains a file name, a code prefix, a code suffix, the missing middle segment, and a FIM type label. The data is drawn from multiple programming languages (primarily Rust, but also TypeScript, Python, and Go) and is used to fine-tune code completion models such as Etherll's Qwen2.5-CodeFIM series for IDE-style autocomplete via Continue. | The 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 is a 15-trillion-token (now 18.5T+) dataset of cleaned and deduplicated English web text derived from 96 CommonCrawl snapshots spanning summer 2013 to April 2024. Created by Hugging Face using the datatrove library, its processing pipeline includes URL filtering, Trafilatura text extraction, language filtering, MassiveText quality filters, C4 filters, custom FineWeb filters, MinHash deduplication, and PII reformatting, producing better-performing LLMs than other open pretraining datasets. Published at NeurIPS 2024, it also includes FineWeb-Edu (1.3T tokens of educational content) as a companion dataset. |
|---|