conversations listlengths 3 3 | metadata dict |
|---|---|
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Polycar... | {
"problem_id": "APPS_2132",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 5,
"trace_id": "APPS_2132_t2"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Mirko h... | {
"problem_id": "APPS_2851",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 5,
"trace_id": "APPS_2851_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Write a... | {
"problem_id": "MBPP_23",
"source": "mbpp",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 4.45,
"trace_id": "MBPP_23_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Anatoly... | {
"problem_id": "APPS_1560",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4.7,
"trace_id": "APPS_1560_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Soon a ... | {
"problem_id": "APPS_352",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4.45,
"trace_id": "APPS_352_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Miyako ... | {
"problem_id": "APPS_2323",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 5,
"trace_id": "APPS_2323_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Write a... | {
"problem_id": "MBPP_316",
"source": "mbpp",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 4.45,
"trace_id": "MBPP_316_t2"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Write a... | {
"problem_id": "MBPP_102",
"source": "mbpp",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 4.25,
"trace_id": "MBPP_102_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "100 yea... | {
"problem_id": "APPS_423",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 5,
"trace_id": "APPS_423_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Π’ΡΠΈ Π±ΡΠ°... | {
"problem_id": "APPS_2183",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4.45,
"trace_id": "APPS_2183_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Innovat... | {
"problem_id": "APPS_1318",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4,
"trace_id": "APPS_1318_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "A large... | {
"problem_id": "APPS_361",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4.7,
"trace_id": "APPS_361_t2"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Little ... | {
"problem_id": "APPS_290",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 5,
"trace_id": "APPS_290_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Tokitsu... | {
"problem_id": "APPS_3694",
"source": "apps",
"category": "benchmark",
"difficulty": "hard",
"quality_score": 4.2,
"trace_id": "APPS_3694_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Takahas... | {
"problem_id": "APPS_4497",
"source": "apps",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 4.45,
"trace_id": "APPS_4497_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "def pri... | {
"problem_id": "HumanEval_82",
"source": "humaneval_plus",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4.7,
"trace_id": "HumanEval_82_t2"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Andrew ... | {
"problem_id": "APPS_1926",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4,
"trace_id": "APPS_1926_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Write a... | {
"problem_id": "MBPP_459",
"source": "mbpp",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 4.45,
"trace_id": "MBPP_459_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "You mig... | {
"problem_id": "APPS_2960",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 5,
"trace_id": "APPS_2960_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "The onl... | {
"problem_id": "APPS_4510",
"source": "apps",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 5,
"trace_id": "APPS_4510_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Write a... | {
"problem_id": "MBPP_402",
"source": "mbpp",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 4.75,
"trace_id": "MBPP_402_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "Recentl... | {
"problem_id": "APPS_1726",
"source": "apps",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4,
"trace_id": "APPS_1726_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "There i... | {
"problem_id": "APPS_4634",
"source": "apps",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 5,
"trace_id": "APPS_4634_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "def spl... | {
"problem_id": "HumanEval_125",
"source": "humaneval_plus",
"category": "benchmark",
"difficulty": "medium",
"quality_score": 4.45,
"trace_id": "HumanEval_125_t0"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "The fol... | {
"problem_id": "debugging_00283",
"source": "enterprise_synthetic",
"category": "debugging",
"difficulty": "medium",
"quality_score": 4.7,
"trace_id": "debugging_00283_t1"
} |
[
{
"role": "system",
"content": "You are an expert software engineer. Think step by step before writing code. For each problem: analyze the requirements, choose an approach with justification, implement a clean solution, and verify against the test cases."
},
{
"role": "user",
"content": "We have... | {
"problem_id": "APPS_4330",
"source": "apps",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 4.45,
"trace_id": "APPS_4330_t2"
} |
Nemotron 3 Nano KD Corpus
4,302 verified reasoning traces for coding problems, generated by DeepSeek-V4-Flash (284B) and filtered by executing the generated code against real test suites.
Built entirely on-premises on a single HP ZGX Fury (NVIDIA GB300 Grace Blackwell Ultra). No cloud APIs were used at any stage.
Used to distill NVIDIA-Nemotron-3-Nano-30B-A3B-BF16, raising held-out pass@1 from 23.0% to 63.4%. The corpus is model-agnostic and should be usable for any student.
Contents
| split | examples |
|---|---|
| train | 3,872 |
| validation | 215 |
| test | 215 |
Source distribution in train:
| source | examples | share |
|---|---|---|
| APPS | 3,284 | 85% |
| MBPP | 414 | 11% |
| HumanEval+ | 138 | 4% |
| enterprise synthetic | 36 | 1% |
Difficulty: 1,186 easy, 2,212 medium, 474 hard. Average quality score 4.57 / 5. Roughly 7.1M tokens.
Format
OpenAI chat format, one JSON object per line:
{
"conversations": [
{"role": "system", "content": "..."},
{"role": "user", "content": "problem statement"},
{"role": "assistant", "content": "## Analysis ... ## Solution ```python ... ```"}
],
"metadata": {
"problem_id": "APPS_4975",
"source": "apps",
"category": "benchmark",
"difficulty": "easy",
"quality_score": 5.0,
"trace_id": "APPS_4975_t0"
}
}
Every assistant turn follows the same structure β Analysis, Approach, Implementation Plan, Solution, Verification β and every one ends with a fenced Python code block. There are no examples without code (verified: 0 of 3,872).
How it was built
- Seed problems pulled from HumanEval+ (164), MBPP full split (500), and APPS test split (5,000), plus 327 synthetic enterprise-flavoured problems generated by the teacher.
- Trace generation β three candidate traces per problem from DeepSeek-V4-Flash-NVFP4
at
temperature=1.0, top_p=1.0(the sampling the model card recommends), served with vLLM at 12-way concurrency. 17,973 traces total. - Execution filtering β Python extracted from each trace and run against the real test suite in a network-isolated, memory-capped, read-only container. Assertion tests for HumanEval+/MBPP, stdin/stdout pairs for APPS. 92.7% of teacher-generated code passed.
- Quality scoring β surviving traces scored 1β5 by the teacher on reasoning clarity and correctness. Threshold 3.5.
- Assembly β highest-scoring trace kept per unique problem, stratified into splits.
Full pipeline runtime: about 15 hours on one GB300.
Caveats
The splits are held out from a student, not from the teacher. The teacher generated
traces for every problem including those in validation and test. If you evaluate the
teacher on these splits, treat the result as a contaminated ceiling.
Enterprise synthetic examples are underrepresented. 327 seeds produced only 40 surviving examples (~12%), because the generation validator required at least two assert statements and most synthetic problems did not produce them cleanly. That validator is probably too strict.
Traces are teacher output, not human-verified reasoning. Code correctness is verified by execution; the reasoning narrative is not. Quality scores are the teacher grading itself.
License
MIT, following DeepSeek-V4-Flash, from which the traces were generated.
Underlying problem statements come from HumanEval+, MBPP, and APPS and carry their own licenses.
Citation
@misc{deepseekai2026deepseekv4,
title={DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence},
author={DeepSeek-AI},
year={2026},
}
Code
Pipeline and evaluation harness: https://github.com/curtburk/distillation-nemotron3
- Downloads last month
- 31