← All entries
Dataset2024#1153

OpenCoder SFT Stage 2

Summary

Stage-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 signal

Access
Free
License
MIT (card). Upstream Magicoder Evol-Instruct / McEval-Instruct terms still apply to those slices. Synthetic educational/package rows generated by OpenCoder authors.
License family
Permissive
Added
Aug 14, 2026
Verified
Aug 14, 2026

From the source

Repository
OpenCoder-LLM/opc-sft-stage2
Created
Nov 8, 2024
Last updated
Nov 24, 2024
Downloads (last month)
13,871
Likes
105
Size
100K to 1M rows
Modalities
text
Formats
parquet

Fetched Oct 3, 2026 from Hugging Face. These numbers change; the curated fields above do not come from here.

Topics

code instruction tuning; compiler-checked educational triples; Python package APIs; multilingual code (McEval); Evol-Instruct diversity

Dataset profile

Scale
Hub 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.
Format
parquet. 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.
Type
Code instruction SFT corpus / two-stage OpenCoder Stage-2 mix
License
MIT (card). Upstream Magicoder Evol-Instruct / McEval-Instruct terms still apply to those slices. Synthetic educational/package rows generated by OpenCoder authors.
Cost
Free
Languages
Card 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.
Modality
Text-only (NL instructions + source code + optional unit tests).
Domain
code instruction tuning; compiler-checked educational triples; Python package APIs; multilingual code (McEval); Evol-Instruct diversity
Time period
SFT 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.
Purpose
Stage-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 signal
Used for
OpenCoder-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.
Authors
OpenCoder-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.
Bias
Python-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.
Text quality
educational_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.
Sample size
Four 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.
Long context
No (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.
Intermediate steps
Yes (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).
Idea quality
High
Novelty
High (public ~436k OpenCoder Stage-2 SFT with compiler-checked educational triples; completes the already-cataloged Stage-1 dump)
Text conversion
Ready 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.
Collection method
Download
Static
Unknown (HF lastModified 2024-11-24; one-shot OpenCoder SFT dump)
Processed
Unknown

Research notes

  • Discord posted the OpenCoder-LLM collection (message 1362451409097855268), not this dataset URL. gated=false; public. Completes already-cataloged OpenCoder FineWeb Code/Math + Annealing Corpus + SFT Stage 1 with the missing Stage-2 mix. Paper vs Hub scale disagree on educational (110k vs 118,278) and package (110k vs 170,943); catalog Hub 436,347. evol_instruct is essentially Magicoder-Evol-Instruct-110K — do not double-count that upstream. Cite Huang et al. 2024 arXiv 2411.04905. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export.

Related entries

  • Collectionadded Jul 17, 2026shares a link

    OpenCoder Datasets

    Siming Huang, Tianhao Cheng, Jason Klein Liu, Jiaran Hao, Liuyihan Song, Yang Xu, +1 more

    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.

  • Datasetresearch profile2024added Jul 17, 20266,031 downloads/moshares a link

    The Stack v2

    BigCode Project (collaboration including Hugging Face, ServiceNow, INRIA, Software Heritage)

    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.

  • Datasetresearch profile2024added Jul 17, 20262,055 downloads/moshares a link

    Infinity Instruct

    Beijing Academy of Artificial Intelligence (BAAI)

    Infinity Instruct is a large-scale, high-quality instruction fine-tuning dataset (7M instructions) developed by BAAI, featuring data evolution strategies and model ability diagnosis for instruction generation. It includes a 7M Core version (1.4M instructions reaching 95.7% of full 7M performance) and has been used to fine-tune Llama3, Mistral, Qwen2, and Yi models, achieving favorable results on AlpacaEval 2.0 and MT-Bench without RLHF. Accepted to AAAI 2026.

Similar entries