← Datasets

Compare

OpenCoder SFT Stage 2
#1153 · remove
OpenCoder Datasets
#29 · remove
Kinddatasetcollection
Published2024—
LicenseMIT (card). Upstream Magicoder Evol-Instruct / McEval-Instruct terms still apply to those slices. Synthetic educational/package rows generated by OpenCoder authors.Open (various per dataset; RefineCode metadata and corpora released for research)
License familyPermissiveOther
AccessFreefree
Language codes—code, en, multilingual, zh
Modalitiestexttext
Size100K to 1M rows—
Downloads (last month)13,871—
Likes105—
Last updated2024-11-24—
Formatsparquet—
ScaleHub YAML/datasets-server numRows 436,347 across 4 configs (size_categories 100K<n<1M). Per-config: educational_instruct 118,278; evol_instruct 111,183; mceval_instruct 35,943; package_instruct 170,943. Paper Table 5 Stage2: McEval 36K + Evol 111K + Educational 110K + Package 110K = 367K — Hub educational/package are larger than the paper round numbers (catalog Hub as the downloadable set). 5 parquet shards: educational 53.6 MB; evol 136.6 MB; mceval 61.2 MB; package 132.5+153.6 MB. YAML download_size 537.4 MB / dataset_size 1.11 GB. usedStorage 3,473,573,865 bytes (~3.47 GB). Hub 2,505 downloads / 104 likes at check. gated=false.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.
Formatparquet. Four named configs (no default concat). educational_instruct columns: seq_id, instruction, output, code, entry_point, testcase (list[str]). evol/mceval/package: instruction, output, tag.parquet (url, tag, text, file_path, dump, file_size_in_byte, line_count)
TypeCode instruction SFT corpus / two-stage OpenCoder Stage-2 mixPretraining corpus / code-related FineWeb recall
CostFreeFree
LanguagesCard has no language: tag. educational_instruct and package_instruct are English NL + Python. evol_instruct is English Magicoder Evol-Instruct. mceval_instruct is multilingual code (McEval; viewer sample Lua with enUS/ruRU localizations). No LID table.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".
ModalityText-only (NL instructions + source code + optional unit tests).Text-only (code-related natural language with inline code snippets)
Domaincode instruction tuning; compiler-checked educational triples; Python package APIs; multilingual code (McEval); Evol-Instruct diversitycode-related English web; FineWeb-derived pretraining; programming forums/docs/tutorials
Time periodSFT dump for OpenCoder instruct models. Paper arXiv 2411.04905 (2024-11-07). HF createdAt 2024-11-08T17:33:31Z; lastModified 2024-11-24T06:41:13Z. Seeds: algorithmic corpus (sibling opc-annealing-corpus), Magicoder Evol-Instruct 110k, McEval-Instruct, pydoc package docs. One-shot release.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.
PurposeStage-2 SFT for OpenCoder-1.5B/8B-Instruct: smaller higher-quality code mix after the ~4.2M Stage-1 dump, including test-case triples usable as code-RL signalPublic 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)
Used forOpenCoder-1.5B-Instruct (paper HumanEval 72.5 / HumanEval+ 67.7) and OpenCoder-8B-Instruct (HumanEval 83.5 / HumanEval+ 78.7). Hub 2,505 downloads / 104 likes at check. Discord posted the OpenCoder-LLM collection, not this URL.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.
AuthorsOpenCoder-LLM / INF / M-A-P / NJU (Huang, Cheng, Liu, Hao, Song, Xu, Yang, Liu, Zhang, Chai, Yuan, Zhang, Fu, Liu, Zhang, Wang, Qi, Xu, Chu). Mix of OpenCoder-synthesized educational/package rows, ise-uiuc Magicoder Evol-Instruct authors, and McEval-Instruct authors. Teacher LLM for educational/package synthesis Unknown beyond paper "strong LLM" / pydoc seed.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.
BiasPython-heavy Stage-2 mix (educational triples + pydoc package QA), not general chat. evol_instruct is a copy of Magicoder-Evol-Instruct-110K (OSS-Instruct lineage). mceval_instruct is a 36k multilingual slice, not the full McEval eval set. Paper: Stage-2 is higher average quality than Stage-1 but much smaller. Do not add these 436k on top of already-cataloged OpenCoder SFT Stage 1 / FineWeb Code/Math / Annealing Corpus.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).
Text qualityeducational_instruct: compiler-validated (instruction, code, testcase) triples from algorithmic seeds; viewer samples are short LeetCode-style Python (palindrome, missing number). evol_instruct inherits Magicoder Evol noise (viewer row 0 is a react-native-skia bundle-size question, not a coding task). mceval_instruct is multilingual function-writing. package_instruct is pydoc-seeded Python stdlib/JSON-style QA. Not independently re-run here. Paper: 10-gram / entry-point decontam vs HumanEval/MBPP.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.
Sample sizeFour train configs, no val/test. Hub: educational 118,278; evol 111,183; mceval 35,943; package 170,943. Paper Table 5 used 36k/111k/110k/110k. Sibling opc-sft-stage1 is a different dump (Hub 4,216,321) — already cataloged.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.
Long contextNo (single-turn instruction/output pairs; OpenCoder instruct trained after 8K/4K base context). Typical pair length Unknown without parquet inspect. educational testcase lists are short asserts.Mixed (full web documents; OpenCoder-8B trained at 8K, 1.5B at 4K).
Intermediate stepsYes (paper: score algorithmic seeds; teacher LLM synthesizes QA + test cases; Python compiler filter for educational triples; copy Magicoder Evol-Instruct and McEval-Instruct; pydoc API docs → package QA; 10-gram / entry-point decontam vs HumanEval/MBPP).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.
Idea qualityHighHigh
NoveltyHigh (public ~436k OpenCoder Stage-2 SFT with compiler-checked educational triples; completes the already-cataloged Stage-1 dump)High
Text conversionReady parquet; load_dataset('OpenCoder-LLM/opc-sft-stage2', '<config>'). ~537 MB download. No default config — load each of the four. Streaming optional at this size.Ready parquet; load_dataset("OpenCoder-LLM/opc-fineweb-code-corpus"); streaming recommended (~148 GB download).
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2024-11-24; one-shot OpenCoder SFT dump)Unknown (HF lastModified 2024-11-24; FineWeb later grew past the paper crawl window; this snapshot was not refreshed)
ProcessedUnknownUnknown
SummaryStage-2 SFT for OpenCoder-1.5B/8B-Instruct: smaller higher-quality code mix after the ~4.2M Stage-1 dump, including test-case triples usable as code-RL signalThe 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.