Dataset
CodeFIM-Data
Open on Hugging FaceHugging Face · relatedHugging Face · relatedHugging Face · relatedHugging Face · relatedMarkdown · JSON · BibTeX
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.
- Venue
- HuggingFace (Etherll)
- Source
- huggingface
- Access
- free
- License
- HF card YAML has no license field. Treat as Unknown; per-file upstream OSS licenses still apply to the source text.
- License family
- Other
- Language
- Rust, TypeScript, Python, Go (programming languages)
- Hugging Face
- Etherll/CodeFIM-Data
- Author type
- human
- Added
- Jul 17, 2026
- Verified
- Jul 17, 2026
- Research status
- done
From the source
- Repository
- Etherll/CodeFIM-Data
- Created
- Apr 11, 2025
- Last updated
- Apr 11, 2025
- Downloads (last month)
- 27
- Likes
- 3
- Size
- 100K to 1M rows
- Modalities
- code, text
- Formats
- parquet
Topics
Code
Dataset profile
- 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.
- Format
- parquet (file_name, prefix, suffix, middle, fim_type)
- Type
- Code FIM / infill training corpus (prefix, suffix, middle, fim_type, file_name)
- License
- HF card YAML has no license field. Treat as Unknown; per-file upstream OSS licenses still apply to the source text.
- Cost
- 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.
- Modality
- Text + source code
- Domain
- code fill-in-the-middle; infilling SFT; Rust/Python/JS/TS/Go source
- 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).
- Purpose
- Prefix–suffix–middle FIM examples (four span types) for training code infill models
- 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.
- 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.
- 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.
- 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.
- 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.
- Long context
- Mixed (median prefix+suffix ~2.5k chars; tails to ~39k prefix / ~36k suffix).
- Intermediate steps
- Yes (span extraction into four fim_type classes). Pipeline code and source-repo list are not on the card.
- Idea quality
- Medium
- Novelty
- Medium (standard PSM FIM packaging; undocumented scrape)
- Text conversion
- Ready parquet; load_dataset("Etherll/CodeFIM-Data")
- Collection method
- Download
- Static
- Unknown (HF lastModified 2025-04-11; one-shot upload)
- Processed
- Unknown
Research notes
- No explicit license stated on the dataset card. The creator also published a larger multi-language variant (code-fim-v2, 64k rows) and a Rust-specific variant (CodeFIM-Rust-Mellum).
- Discord posted this HF pointer. Card README is YAML-only (no prose). Gated=false; public. Do not confuse with Etherll/code-fim-v2 or the Rust-only Mellum subset. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export.
Similar entries
- Dataset UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)
- Tool K2 Horizon data release — DATA_NAVIGATOR index and the post-training data-generation pipelines
- Paper Invent a Dataset: Measuring Dataset Generation Abilities With Zero Seed Data
- Paper BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?
- Paper Absolute Zero: Reinforced Self-play Reasoning with Zero Data
- Paper Cross-Benchmark Transfer from RL on Agentic Coding Tasks