| Kind | dataset | dataset |
|---|
| Published | 2025 | 2025 |
|---|
| License | HF card YAML/tag CC-BY-4.0; README body ODC-By 4.0 — conflict. Both attribution licenses; YAML/tag used here with the README ODC-By note. DeepSeek-R1 terms may still apply if used to train a distributed model. Codeforces problem-statement terms remain. | No |
|---|
| License family | Permissive | Other |
|---|
| Access | Free | free |
|---|
| Language codes | — | en |
|---|
| Modalities | text | text |
|---|
| Size | 100K to 1M rows | 100K to 1M rows |
|---|
| Downloads (last month) | 5,548 | 15,020 |
|---|
| Likes | 226 | 334 |
|---|
| Last updated | 2025-03-28 | 2025-05-26 |
|---|
| Tasks | — | text-generation |
|---|
| Formats | parquet | parquet |
|---|
| Scale | Card ~10k CF problems, up to five R1 traces, totaling close to 100k samples. YAML default solutions train 47,780 / download_size 1,887,049,179 bytes (~1.89 GB) / dataset_size 4,968,074,271 bytes (~4.97 GB). 10 LFS parquet ~173.6–208.2 MB. Other configs are overlapping subsets — not extra n: checker_interactor 35,718; solutions_decontaminated 40,665; solutions_py 9,556; solutions_py_decontaminated 8,133; solutions_short_and_long_decontaminated 16,266; solutions_w_editorials 29,180; solutions_w_editorials_decontaminated 24,490; solutions_w_editorials_py 11,672; solutions_w_editorials_py_decontaminated 9,796; test_input_generator 20,620. Config-sum 253.9K / YAML download_size sum ~9.69 GB is stored overlap, not extra problems. size_categories 100K<n<1M. Hub/datasets-server solutions 47.8K / 23 columns. Hub overview 80.5K downloads / 223 likes at check. gated=false. | 350k verified reasoning traces distilled from DeepSeek-R1, each with at least a few thousand tokens. |
|---|
| Format | parquet per config (solutions/train-00000-of-00010.parquet …). Default config solutions. Columns include id, contest metadata, title/description/formats/examples/editorial, prompt, generation, finish_reason, api_metadata, messages. Decontaminated configs add tests plus accepted/failed_solutions. | — |
|---|
| Type | Annotated code-reasoning SFT / problem + R1 CoT + messages | instruct |
|---|
| Cost | Free | — |
|---|
| Languages | English problem statements + C++/Python solutions (card). Prompt is English. No LID table. Per-language percents N/A. | English. Coding: only C++ and Python |
|---|
| Modality | Text-only (English statements + C++/Python). No images. | — |
|---|
| Domain | competitive programming; Codeforces; code reasoning SFT | Mathematics, Coding, and Science |
|---|
| Time period | HF createdAt 2025-02-27; lastModified 2025-03-28T12:21:06Z. Problems from the first Codeforces contests through 2025. One-shot DeepSeek-R1 generation, not a live scrape. | 2025 |
|---|
| Purpose | Train reasoning models on Codeforces tasks using DeepSeek-R1 CoT traces (C++ default; Python _py configs) | Reasoning like R1 |
|---|
| Used for | Open-R1 code SFT. Hub overview 80.5K downloads / 223 likes at check; owner listing 6,466 downloads. Sibling open-r1/codeforces (problems+editorials; 101 likes / 12.0K downloads) is the problem dump — not extra n. | https://huggingface.co/open-r1/OpenR1-Distill-7B |
|---|
| Authors | Hugging Face Open-R1 (Penedo, Lozhkov, Kydlíček, Ben Allal, Beeching, Piqueres Lajarín, Gallouédec, Habib, Tunstall, von Werra). Traces generated by DeepSeek-R1. Problem authors are Codeforces setters; card ~60% have human editorials. | Generated by R1 |
|---|
| Bias | Codeforces contest mix (ICPC/CF rounds); C++ default vs one Python completion per problem in _py. Unfiltered traces (card ~84% of Python pass public tests). Decontaminated configs drop 8-gram overlap vs AIME24/25, GPQA Diamond, MATH-500, LiveCodeBench. Distinct from already-cataloged OpenCodeInstruct / OpenCodeReasoning / DeepCoder Preview Dataset / rStar-Coder. | unknown |
|---|
| Text quality | solutions_py preview row 0 is 2012 CF 153/B Binary notation (n≤1e6); R1 632 completion_tokens then print(bin(n)[2:]) — a trivial item in the unfiltered set. finish_reason stop. Card: traces not filtered for correctness. Residual: easy/historic contests; R1 overthink; C++/Python mix; DeepSeek-R1 terms; not independently executed here. | Decent |
|---|
| Sample size | Default solutions 47,780. _py is one completion per problem (9,556). _w_editorials / _decontaminated / short_and_long / checker_interactor / test_input_generator are overlapping views. No val/test. Do not concat with open-r1/codeforces problem dump or already-cataloged OpenCodeInstruct. | — |
|---|
| Long context | Yes (R1 CoTs; solutions YAML ~4.97 GB / 47,780 ≈ ~104 KB uncompressed/row). Exact token histogram Unknown; preview 632 completion_tokens on a trivial item so the mean is higher. | — |
|---|
| Intermediate steps | Yes (compile open-r1/codeforces from CF; prompt R1 for C++/Python solutions, editorial-conditioned variants, short+long, test-input generators, checker/interactor classifiers; 8-gram decontam). Decontam script github.com/huggingface/open-r1/blob/main/scripts/decontaminate.py. | — |
|---|
| Idea quality | High | — |
|---|
| Novelty | High (public ~48k R1 CF traces vs already-cataloged OpenCodeInstruct Genetic-Instruct / OpenCodeReasoning) | — |
|---|
| Text conversion | Ready parquet; load_dataset('open-r1/codeforces-cots', 'solutions'). Default solutions ~1.89 GB — streaming recommended. Do not concat configs as extra n. | — |
|---|
| Collection method | Download | — |
|---|
| Static | Unknown (HF lastModified 2025-03-28; contests through 2025; one-shot). | — |
|---|
| Processed | Unknown | — |
|---|
| Summary | Train reasoning models on Codeforces tasks using DeepSeek-R1 CoT traces (C++ default; Python _py configs) | Mixture-of-Thoughts is a curated dataset of 350k verified reasoning traces distilled from [DeepSeek-R1](https://huggingface.co/deepseek-ai/DeepSeek-R1). The dataset spans tasks in mathematics, coding, and science, and is designed to teach language models to reason step-by-step. It was used in the Open R1 project to train [OpenR1-Distill-7B](https://huggingface.co/open-r1/OpenR1-Distill-7B), an SFT model that replicates the reasoning capabilities of [deepseek-ai/DeepSeek-R1-Distill-Qwen-7B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) from the same base model. |
|---|