← Datasets

Compare

OpenCodeInstruct
#1156 · remove
OpenMathInstruct-2
#1155 · remove
Kinddatasetdataset
Published20252024
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.
License familyPermissivePermissive
AccessFreeFree
Language codesenen
Modalitiestexttext
Size1M to 10M rows10M to 100M rows
Downloads (last month)31,198100,182
Likes111255
Last updated2025-04-282024-11-25
Taskstext-generationquestion-answering, text-generation
Formatsparquetparquet
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.
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.
TypeAnnotated synthetic code-instruction SFT / NL prompt + Python solution + unit tests + LLM judgementAnnotated synthetic math-reasoning SFT / problem + CoT solution + expected_answer
CostFreeFree
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.
ModalityText-only (English problem statements + Python). No images.Text-only (English + LaTeX). Scaling/SFT diagrams in the repo are not extra n.
DomainPython code generation; instruction SFT; unit-test execution feedbackmathematical reasoning; GSM8K/MATH instruction SFT; synthetic chain-of-thought
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.
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 mixes
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.
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.
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.
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.
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.
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.
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.
Idea qualityHighHigh
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)
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.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2025-04-28; one-shot).Unknown (HF lastModified 2024-11-25; one-shot).
ProcessedUnknownUnknown
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 mixes