Dataset Card for CodeForces CoTs Dataset description CodeForces CoTs is a large scale dataset for training reasoning models on competitive programming tasks. It consists of 10k CodeForces problems with up to five reasoning traces generated by DeepSeek R1. We did not filter the traces for correctness, but found that around 84% of the Python ones pass the public tests. The dataset consists of several subsets: solutions : we prompt R1 to solve the problem and produce code. solutions w editorials : we prompt R1 to solve the problem/produce code, but also provide it with a human written solution. solutions short and long : a subset of solutions where we take the shortest and longest solution from R1. test input generator : we prompt R1 to come up with tricky edge test cases and create a test code generator in Python. checker interactor : we prompt R1 to classify problems based on how we should verify the output (some problems are interactive, some allow multiple correct outputs, etc) Each subset contains a messages column, so can be used directly for SFT. We've found that the solutions and solutions w editorials subsets provide best performance, with solutions obtaining better performan…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy