Renaissance Labs · Code
Dataset · 2025-04

OpenCodeInstruct (NVIDIA)

Largest open code instruction set: each row has question, solution, generated unit tests, execution results and an LLM quality assessment, so you can filter by test score.

How to use it

Filter on average_test_score and llm_judgement before SFT; do not train on all 5M blindly. Stream it, it is ~19 GB uncompressed.

Caveats

Per the paper, solutions, tests and judgments came from Qwen2.5-Coder-32B-Instruct (Qwen license terms apply to outputs). Tests are model-written, so a passing row is not guaranteed correct. Python-centric.

load
from datasets import load_dataset
ds = load_dataset('nvidia/OpenCodeInstruct', split='train', streaming=True)
# columns: id, input, output, domain, generation_algorithm, llm_judgement, unit_tests, tests_execution_status, average_test_score

Related

  • KodCode-V1: Fully synthetic coding questions with solutions and pytest-style tests validated by execution; fields include...
  • KodCode-V1-SFT-R1: KodCode with DeepSeek-R1 responses kept via test-based rejection sampling; columns include r1_solution,...
  • APPS: Interview-level and competition Python problems with solutions and test...
  • CanItEdit: Hand-crafted instructional code editing problems with descriptive and lazy instruction variants, tested by...
  • Code-Feedback (OpenCodeInterpreter): Multi-turn code data with execution feedback and human-feedback-style follow-ups for iterative refinement...
  • EditPackFT: Further-filtered CommitPackFT subset formatted for instructional code editing (before code, instruction,...