← Datasets

Compare

OpenCoder SFT Stage 2
#1153 · remove
OpenCoder FineWeb Math Corpus
#1152 · remove
Kinddatasetdataset
Published20242024
LicenseMIT (card). Upstream Magicoder Evol-Instruct / McEval-Instruct terms still apply to those slices. Synthetic educational/package rows generated by OpenCoder authors.ODC-By 1.0 on this card. Built from FineWeb (ODC-By 1.0 + Common Crawl ToU). Sibling opc-fineweb-code-corpus is MIT.
License familyPermissivePermissive
AccessFreeFree
Modalitiestexttext
Size100K to 1M rows1M to 10M rows
Downloads (last month)13,871439
Likes10531
Last updated2024-11-242024-11-24
Formatsparquetparquet
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: 5,241,900 train docs; size_categories 1M<n<10M; YAML dataset_size 18,159,796,472 bytes (~18.2 GB); download_size 9,949,701,917 bytes (~9.95 GB); 37 parquet shards ~268–273 MB each. Paper Table 2: Processed FineWeb 55B tokens (5.7% of RefineCode 960B) covering this repo plus opc-fineweb-code-corpus (100,920,235 docs / ~148 GB download) — math-only token count is not split out on this card. Hub 17.6k downloads / 31 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 / math-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). Sampled `tag` values are "math". OpenCoder models also train Chinese from other web sources, not this repo.
ModalityText-only (NL instructions + source code + optional unit tests).Text-only (natural language with inline math; no images)
Domaincode instruction tuning; compiler-checked educational triples; Python package APIs; multilingual code (McEval); Evol-Instruct diversitymath-related English web; FineWeb-derived pretraining; homework/textbook/STEM pages recalled for a code LLM
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-2016-18, CC-MAIN-2019-47; FineWeb original window Summer 2013–April 2024). HF createdAt 2024-11-10; lastModified 2024-11-24. Paper arXiv 2411.04905 (2024-11-07). Same snapshot window as opc-fineweb-code-corpus.
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 math slice of OpenCoder pretraining: math-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). Companion of already-cataloged opc-fineweb-code-corpus. GitHub OpenCoder-llm 2,105 stars at the code-corpus check. Discord posted the OpenCoder-LLM collection. Hub 17.6k downloads / 31 likes at check.
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 (Chegg-style homework, textbook blurbs, STEM blogs). 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.Math-homework/tutorial-like English web overweighted vs raw FineWeb. Three-round fastText recall from Autonomous Data Selection seeds (same recipe as the code recall). Viewer samples include Chegg homework snippets and German bookstore textbook blurbs tagged math. High-resource English STEM; not a contest-math QA set. Much smaller than the code FineWeb sibling (~20× fewer docs).
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 math recall. Mixed: genuine problem statements and textbook prose plus SEO/bookstore pages. Residual FineWeb toxicity/boilerplate remains. Not the RefineCode raw-code heuristic set.
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 5,241,900. Companion code corpus 100.9M is a separate repo, not a config here. No official 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 math from Common Crawl, SkyPile, AutoMathText — 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)Medium (math counterpart of the already-cataloged OpenCoder FineWeb code recall; still a distinct public dump)
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-math-corpus"); ~9.95 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 signalPublic FineWeb math slice of OpenCoder pretraining: math-related pages recalled with iterative fastText (paper: part of RefineCode’s ~75B code-related web tokens / 55B Processed FineWeb)