← Datasets

Compare

OpenCodeInstruct
#1156 · remove
OpenMathInstruct-2
#1155 · remove
OpenCoder FineWeb Math Corpus
#1152 · remove
Kinddatasetdatasetdataset
Published202520242024
LicenseCC-BY-4.0 (HF card YAML). Card: ready for commercial/non-commercial use. Qwen2.5-32B-Instruct / Genetic-Instruct teacher terms may still apply if used to train a distributed model. GitHub seed function licenses and TACO contest-problem licenses remain.CC-BY-4.0 (HF card YAML). Commercially permissive (paper). Llama-3.1-405B-Instruct terms may still apply if used to train a distributed model. GSM8K/MATH seed licenses remain.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 familyPermissivePermissivePermissive
AccessFreeFreeFree
Language codesenen—
Modalitiestexttexttext
Size1M to 10M rows10M to 100M rows1M to 10M rows
Downloads (last month)31,198100,182439
Likes11125531
Last updated2025-04-282024-11-252024-11-24
Taskstext-generationquestion-answering, text-generation—
Formatsparquetparquetparquet
ScaleCard/paper 5 million samples. YAML config train 5,000,000 / download_size 6,861,113,102 bytes (~6.86 GB) / dataset_size 19,066,895,906 bytes (~19.07 GB). usedStorage 8,644,941,304 bytes (~8.64 GB). LFS data/train-00000-of-00050.parquet … train-00049 (~113.9–154.6 MB; 50 files). size_categories YAML 1M<n<5M vs Hub tag 1M<n<10M — catalog YAML/card 5,000,000. Hub/datasets-server viewer-partial 4,969,570; datasets-server info currently 1,400,000 / 7 parquet (partial convert of 50) — do not catalog 1.4M as n. Hub overview 14.7K downloads / 108 likes at check. gated=false.Paper/card ~14M question-solution pairs / ~600K unique questions (592K synthesized). YAML train 13,972,791; train_1M 1,000,000; train_2M 2,000,000; train_5M 5,000,000 (fair-downsampled subsets of train — not extra n). YAML download_size 20,208,929,853 bytes (~20.21 GB) / dataset_size 26,215,301,811 bytes (~26.22 GB). usedStorage 87,120,908,513 bytes (~87.12 GB; includes overlapping 1M/2M/5M shards). LFS train 32 parquet ~236.3–237.3 MB; train_1M 3 parquet ~212.9–213.2 MB; train_2M 6 parquet ~216.9–217.4 MB; train_5M 14 parquet ~221.8–222.6 MB. size_categories 10M<n<100M. Hub/datasets-server default train 13,972,791 / 4 columns; datasetsServerInfo numRows 21,972,791 = 13.97M+1M+2M+5M overlapping — do not catalog as extra n. Hub overview 94.0K downloads / 252 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 under data/train-00000-of-00050.parquet … train-00049. Columns: id, input, output, domain, generation_algorithm, llm_judgement, unit_tests, tests_execution_status, average_test_score. Hub config_name train (not default).parquet under data/train-*-of-00032.parquet plus fair-downsampled train_1M/2M/5M shards. Columns: problem, generated_solution, expected_answer, problem_source. Single default config with four splits.parquet (url, tag, text, file_path, dump, file_size_in_byte, line_count)
TypeAnnotated synthetic code-instruction SFT / NL prompt + Python solution + unit tests + LLM judgementAnnotated synthetic math-reasoning SFT / problem + CoT solution + expected_answerPretraining corpus / math-related FineWeb recall
CostFreeFreeFree
LanguagesEnglish prompts + Python solutions (paper: code-instruction dataset in Python). Card language:en. Preview NL-to-Python tasks. No LID table. Per-language percents N/A.English 100% (card language:en). Preview is English GSM8K-style word problems and MATH contest items with LaTeX. No LID table. Per-language percents N/A.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 (English problem statements + Python). No images.Text-only (English + LaTeX). Scaling/SFT diagrams in the repo are not extra n.Text-only (natural language with inline math; no images)
DomainPython code generation; instruction SFT; unit-test execution feedbackmathematical reasoning; GSM8K/MATH instruction SFT; synthetic chain-of-thoughtmath-related English web; FineWeb-derived pretraining; homework/textbook/STEM pages recalled for a code LLM
Time periodPaper arXiv 2504.04030 (Hub publishedAt 2025-04-05T02:52:16Z). Card creation January 2025–March 2025; release 2025-04-28. HF createdAt 2025-04-09; lastModified 2025-04-28T19:08:02Z. One-shot Genetic-Instruct synthesis, not a live GitHub scrape.Paper arXiv 2410.01560 (Hub publishedAt 2024-10-02T14:00:09Z). HF createdAt 2024-09-28; lastModified 2024-11-25T20:07:28Z. Seed GSM8K and MATH training sets. One-shot Llama-3.1-405B-Instruct synthesis, not a live crawl.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.
PurposeLargest open-access code instruction-tuning set (paper Table 1) for SFT of code LLMsCommercially permissive math SFT at ~14M scale using an open-weight teacher instead of GPT-gated mixesPublic 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 forPaper OCI-Llama3 and OCI-Qwen2.5-Coder SFT vs Llama3-Instruct / Qwen2.5-Coder-Instruct on HumanEval, MBPP, LiveCodeBench, BigCodeBench. Hub overview 14.7K downloads / 108 likes at check. Paper 4 upvotes at paper-metadata check. GitHub NVIDIA-NeMo/Skills 1,022 stars / 194 forks at check. Distinct from already-cataloged OpenCodeReasoning.Paper OpenMath2-Llama3.1-8B/70B (HF + nemo). Hub collection nvidia/openmath-2. Paper 6 upvotes / 9 linked models at paper-metadata check. Hub overview 94.0K downloads / 252 likes at check. GitHub NVIDIA-NeMo/Skills 1,022 stars / 194 forks at check.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.
AuthorsNVIDIA (Ahmad, Ficek, Samadi, Huang, Noroozi, Majumdar, Ginsburg; arXiv 2504.04030). Seeds: 1.43M generic OSS-Instruct items from GitHub Python functions (Qwen2.5-32B-Instruct) plus 25,443 TACO contest questions. Genetic-Instruct (Self-Instruct + Evol-Instruct) then LLM unit tests/judgement. Not organic GitHub commits.NVIDIA (Toshniwal, Du, Moshkov, Kisacanin, Ayrapetyan, Gitman; arXiv 2410.01560). Solutions generated by Llama-3.1-405B-Instruct. Seed problems from GSM8K and MATH train. Paper: ~592K of ~600K unique questions are synthesized. Not human contest authors for the augmented slice.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-only NL-to-code. Seeds overweight GitHub-Python OSS-Instruct plus TACO contest platforms (paper Table 2: CodeForces 8,193 / CodeChef 3,352 / GeeksForGeeks 2,680 / Codewars 2,460 / HackerEarth 2,390 / AIZU 2,151 / AtCoder 1,440 / Kattis 1,236 / LeetCode 777 / HackerRank 764; total 25,443). datasets-server partial statistics on 1,400,000 rows (partial=true, not full 5M): domain generic 744,201 / algorithmic 655,799; generation_algorithm self-instruct 1,089,553 / evol-instruct 310,447; average_test_score 1: 549,389 / 0: 285,371 / 0.9: 172,537 (rest 0.1–0.8). Distinct from already-cataloged OpenCodeReasoning / OpenCoder SFT Stage 2 / rStar-Coder.GSM8K/MATH-train seed mix plus Llama-3.1-405B-Instruct priors. datasets-server partial statistics on 4,803,150 rows (partial=true, not full 14M): problem_source augmented_math 3,072,758 / math 846,533 / augmented_gsm8k 726,352 / gsm8k 157,507. Paper: question diversity drives scaling; fair-downsampled 1M/2M/5M splits exist for the scaling plot. Distinct from already-cataloged NuminaMath-CoT (GPT-4o, more restrictive) and FineMath (web pretrain, not SFT pairs). nvidia/OpenMathInstruct-1 is the smaller predecessor — do not add as extra n.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 qualityPreview row 0 (max non-overlapping tasks) and row 1 (balanced brackets) are well-posed Python NL-to-code items with assert unit tests and llm_judgement scores of 5 on requirement/logic. Paper: LLM judgement predicted quality better than execution feedback; Genetic-Instruct beat either Self-Instruct or Evol-Instruct alone. Residual: fully synthetic; datasets-server partial average_test_score 0 on 285,371 / 1.4M (~20%); not independently executed here; Python-only vs already-cataloged multilingual code dumps.Preview row 0 (augmented_gsm8k camping granola) is a well-posed 5-person × 3-day word problem with boxed 45. Preview row 1 (augmented_math cubes ending 125) is contest-style; expected_answer 2000 is majority-vote on an augmented item — not independently re-solved here. Card: 564 questions longer than 1024 Llama tokens; authors saw no drop after dropping them. Paper: SFT robust to ≤20% low-quality solutions; decontam vs GSM8K/MATH/AMC 2023/AIME 2024/Omni-MATH (lm-sys + manual). Residual: fully synthetic teacher; majority-vote answers on augmented problems.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 sizeSingle Hub config train / split train. Card/YAML 5,000,000. No val/test. domain and generation_algorithm are columns not Hub configs. datasets-server 1.4M is a partial parquet convert — not extra n. Do not concat with already-cataloged OpenCodeReasoning.default train 13,972,791. Fair-downsampled train_1M 1,000,000 / train_2M 2,000,000 / train_5M 5,000,000 are subsets — not extra n. No val/test. problem_source is a column not a Hub config. Do not add nvidia/OpenMathInstruct-1 as extra n.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 (short NL-to-Python items). datasets-server partial: input mean 769 / median 693 chars; output mean 936 / median 792 chars. Exact token histogram Unknown without aggregating.Mixed (short GSM8K items; MATH/augmented CoT). datasets-server partial: generated_solution mean 862 / median 704 chars. Card 564 overlong questions. Exact token histogram Unknown without aggregating.Mixed (full web documents; OpenCoder-8B trained at 8K, 1.5B at 4K).
Intermediate stepsYes (GitHub Python functions → OSS-Instruct seed instructions via Qwen2.5-32B-Instruct; TACO algorithmic seeds; Genetic-Instruct mutation/crossover ~9M then n-gram dedup/clean/decontam to 5M; LLM unit tests + execution feedback + LLM judgement). Pipeline in NVIDIA-NeMo/Skills.Yes (GSM8K/MATH train seeds; Llama-3.1-405B-Instruct solution augmentation + problem-solution augmentation in OpenMath CoT format; majority vote on augmented answers; lm-sys decontam + manual). Pipeline in NVIDIA-NeMo/Skills. Contamination explorer space nvidia/OpenMathInstruct-2-explorer.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 qualityHighHighHigh
NoveltyHigh (public 5M Python instruction SFT with tests/judgement vs already-cataloged OpenCodeReasoning / OpenCoder SFT)High (public 14M commercially permissive Llama-3.1-405B math SFT vs already-cataloged NuminaMath-CoT / FineMath)Medium (math counterpart of the already-cataloged OpenCoder FineWeb code recall; still a distinct public dump)
Text conversionReady parquet; README load_dataset('nvidia/OpenCodeInstruct', split='train') — Hub config is 'train'. ~6.86 GB download — streaming recommended. Do not treat datasets-server 1.4M partial convert as full n.Ready parquet; load_dataset('nvidia/OpenMathInstruct-2', split='train'). Subsets: split='train_1M'|'train_2M'|'train_5M'. ~20 GB download — streaming recommended. Do not concat train + 1M/2M/5M as extra n.Ready parquet; load_dataset("OpenCoder-LLM/opc-fineweb-math-corpus"); ~9.95 GB download.
Collection methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2025-04-28; one-shot).Unknown (HF lastModified 2024-11-25; one-shot).Unknown (HF lastModified 2024-11-24; FineWeb later grew past the paper crawl window; this snapshot was not refreshed)
ProcessedUnknownUnknownUnknown
SummaryLargest open-access code instruction-tuning set (paper Table 1) for SFT of code LLMsCommercially permissive math SFT at ~14M scale using an open-weight teacher instead of GPT-gated mixesPublic 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)