The largest open reasoning dataset for code: 735,255 Python samples distilled from DeepSeek R1 across 28,319 unique competitive-programming problems from CodeForces, LeetCode, AtCoder, and more. SFT-only training on it reached 61.8% on LiveCodeBench — beating RL-trained alternatives. Predominantly CC BY 4.0 with some Apache 2.0/MIT-sourced subsets.
Yes — OpenCodeReasoning is released under CC BY 4.0, a permissive license that allows commercial use, including training models you ship in a product. Check the dataset card for attribution requirements before release.
How much data does OpenCodeReasoning contain, and do I need all of it?
OpenCodeReasoning contains 735k Samples. You rarely need all of it: for style and format fine-tuning, a few hundred to a few thousand examples are enough — load a slice (e.g. split="train[:1000]") and scale up only if quality plateaus.
What is OpenCodeReasoning best used for?
Fine-tuning coding models that show their reasoning before writing the solution. It belongs to the Reasoning section of our dataset hub, where you'll find alternatives and complementary sets.