Skip to content

Dataset · open-r1

Codeforces problems with DeepSeek R1 reasoning traces

open-r1/codeforces-cots

10k Codeforces problems and up to five R1 reasoning chains for training models in competitive programming.

What's inside

A dataset for training reasoning models on competitive programming tasks. Includes 10k Codeforces problems and up to five reasoning traces generated by DeepSeek R1. The traces were not filtered for correctness, but about 84% of Python solutions pass public tests. There are several subsets, including solutions; size ranges from 100k to 1M examples.

What you can do with it

  • SFT reasoning models on Codeforces tasks
  • Training LoRA for competitive programming
  • Evaluating the robustness of R1 reasoning
Size
100K–1M rows
Downloads this month
11.9K
Likes
234

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("open-r1/codeforces-cots")