| Kind | dataset | dataset | dataset |
|---|
| Published | 2025 | 2025 | 2024 |
|---|
| License | apache-2.0 | cc-by-4.0 | apache-2.0 |
|---|
| License family | Permissive | Permissive | Permissive |
|---|
| Access | free | free | free |
|---|
| Language codes | en | — | en |
|---|
| Modalities | image, text | code, text | text |
|---|
| Size | 1M to 10M rows | 100K to 1M rows | 100K to 1M rows |
|---|
| Downloads (last month) | 3,034 | 12,510 | 2,927 |
|---|
| Likes | 65 | 561 | 703 |
|---|
| Last updated | 2026-02-03 | 2025-05-04 | 2025-12-16 |
|---|
| Tasks | visual-question-answering, question-answering, text-generation | text-generation | question-answering, table-question-answering, text-generation |
|---|
| Formats | — | parquet | parquet |
|---|
| Scale | — | Card: 735,255 Python samples / 28,319 unique questions. YAML: split_0 567,850 / 28,108,469,190 bytes (~28.11 GB); split_1 167,405 / 4,722,811,278 bytes (~4.72 GB); combined dataset_size 32,831,280,468 bytes (~32.83 GB). Download: split_0 30 parquet ~242 MB each (~7.27 GB) + split_1 10 parquet ~140 MB each (~1.41 GB) ≈ 8.68 GB. size_categories 100K<n<1M. Paper (slightly larger construction set): 736,712 Python / 28,904 questions + 355,792 C++. datasets-server numRows 752,713 (viewer-partial; ~17k above the card 735,255). HF 13,691 downloads / 550 likes at check. usedStorage Unknown (not independently summed; YAML dataset_size ~32.83 GB). | Card: 105,851 records (100,000 train / 5,851 test); ~23M total tokens including ~12M SQL tokens; 100 distinct domains. Hub viewer matches 100.0K train + 5.9K test. Two snappy parquet files: train 32.4 MB + test 1.9 MB (~34.3 MB download). size_categories 100K<n<1M. 11 columns. Hub 96.7K downloads / 688 likes at check. |
|---|
| Format | — | parquet (id, input, output, source, license, dataset, split, difficulty, solution; split_1 adds index) | parquet (synthetic_text_to_sql_train.snappy.parquet / _test). Columns: id, domain, domain_description, sql_complexity, sql_complexity_description, sql_task_type, sql_task_type_description, sql_prompt, sql_context, sql, sql_explanation. |
|---|
| Type | — | Annotated competitive-code SFT corpus / R1 question–trace–solution | Synthetic text-to-SQL instruction corpus / code SFT |
|---|
| Cost | — | Free | Free |
|---|
| Languages | — | English problem statements + Python solutions (card). Paper also generated 355,792 C++ samples for IOI ablations — not in this HF repo. No LID table. | English 100% (card language:en) plus SQL. No LID table. Preview prompts/explanations in English; sql_context is SQL DDL/DML. |
|---|
| Modality | — | Text + Python source code | Text-only (English NL + SQL). |
|---|
| Domain | — | competitive programming; Python code reasoning SFT traces | text-to-SQL; synthetic code; 100 industry verticals; analytics/reporting, DDL, retrieval, DML |
|---|
| Time period | — | HF lastModified 2025-05-04. Paper 2025-04-02 (arXiv 2504.01943); card release 2025-04-04; Data Version 1.0. Teacher DeepSeek-R1 (2025). Seed questions from TACO/APPS/CodeContests/open-r1/codeforces (older contests). Discord posted 2025-11-17. | Fully synthetic (Gretel Navigator). Card/blog April 2024 release. HF createdAt 2024-03-21; lastModified 2025-12-16 (card/files refresh; not a live crawl). arXiv tag 2306.05685 is the LLM-as-a-judge method paper, not a dataset paper. |
|---|
| Purpose | — | Largest open reasoning-trace SFT dump for competitive coding; distill R1 coding CoT into student models without RL | Train and eval models that map English prompts plus CREATE/INSERT context to SQL, with complexity tags and natural-language explanations |
|---|
| Used for | — | OpenCodeReasoning-Nemotron 7B/14B/32B (Qwen2.5 SFT): paper 32B 61.8 LiveCodeBench pass@1 avg@64 / 24.6 CodeContests, beating same-size R1-Distill. OpenThoughts3-1.2M uses this as a code-question source (already cataloged). Hub 13,691 downloads / 550 likes at check. | Public SQL SFT/eval (card: largest synthetic text-to-SQL at April 2024 release). Hub 96.7K downloads / 688 likes at check. Discord posted the HF URL. |
|---|
| Authors | — | Human contest authors (CodeForces/CodeChef/AtCoder/AIZU/Codewars/GeeksForGeeks/HackerEarth/HackerRank/Kattis/LeetCode). Traces: DeepSeek-R1. NVIDIA (Ahmad / Narenthiran / Majumdar / Ficek / Jain / Huang / Noroozi / Ginsburg). | Gretel (Meyer, Emadi, Nathawani, Ramaswamy, Boyd, Van Segbroeck, Grossman, Mlocek, Newberry). All rows generated by Gretel Navigator; no human SQL authors. LLM-as-a-judge quality scores used GPT-4 on a 1,000-row sample vs b-mc2/sql-create-context. |
|---|
| Bias | — | CodeForces-heavy: card 10,069 questions / 386,948 samples (52.6% of samples, 35.6% of questions). Then CodeChef 3,796 q / 72,925 s; AIZU 2,123 / 62,476; HackerEarth 2,269 / 59,181; AtCoder 2,043 / 47,222. LeetCode only 777 / 10,525. Python-only on Hub. Multiple R1 samples per question (~26 per unique on the card). Paper: execution filtering hurt LiveCodeBench so they kept incorrect traces; instruction diversity over solution correctness. Decontaminated vs LiveCodeBench/CodeContests/HumanEval/MBPP (cosine 0.7 + Llama-3.3-70B/Qwen2.5-32B judges; 90 flagged, ≤0.3%, none paraphrases). | Synthetic schemas/prompts, not production warehouses. Card: 100 verticals (preview includes forestry, defense, public health). Complexity types include aggregation, single/multiple joins, subqueries, window functions, set operations — exact percents are figures on the card, not a table (Unknown). English-only NL. Tiny synthetic INSERT contexts, not multi-GB databases. |
|---|
| Text quality | — | R1 CoT with <think> tags; Tree-sitter syntax check; responses with code inside the thinking block dropped. Max generation 16k tokens (SGLang, T=0.6, top-p=0.95). Residual: unverified functional correctness (by design). split_1 input is "-" — recover the question from TACO/APPS via dataset/split/index. | Card: sqlglot + sqlvalidator parsability/validity checks on sql_context and sql. GPT-4 judge vs b-mc2/sql-create-context on 1k samples: +54.6% SQL-standards compliance, +34.5% SQL correctness, +8.5% instruction adherence (authors' numbers; not independently re-run). Preview SQL is short textbook-style. |
|---|
| Sample size | — | split_0 567,850 (questions inlined); split_1 167,405 (TACO/APPS index). Card source table: CodeForces 386,948; CodeChef 72,925; AIZU 62,476; HackerEarth 59,181; AtCoder 47,222; GeeksForGeeks 37,602; Codewars 34,326; Kattis 13,095; HackerRank 10,955; LeetCode 10,525. Single split name equals config name. | 100,000 train / 5,851 test. No extra configs. Complexity and task-type tags are columns, not splits. Domain count 100; per-domain counts Unknown (card figure only). |
|---|
| Long context | — | Yes (long R1 CoT; paper 16k max output; coding proofs/implementations) | No (short CREATE/INSERT context plus one query; not long documents). |
|---|
| Intermediate steps | — | Yes (exact-match question dedup across TACO/APPS/CodeContests/open-r1/codeforces; R1 multi-sample; think-tag + fenced-code + Tree-sitter filter; no execution filter in the released set) | Yes (Gretel Navigator synthesis; sqlglot/sqlvalidator parse checks; GPT-4 LLM-as-a-judge sample). Rubric on the repo: llm_as_a_judge_rubric.txt. |
|---|
| Idea quality | — | High | High |
|---|
| Novelty | — | High (largest open competitive-coding reasoning-trace dump at release) | Medium (large public synthetic SQL dump with tagged complexity; Spider/sql-create-context already existed) |
|---|
| Text conversion | — | Ready parquet. load_dataset("nvidia/OpenCodeReasoning", "split_0"|"split_1"). split_1 needs BAAI/TACO and codeparrot/apps to fill input. | Ready parquet; load_dataset('gretelai/synthetic_text_to_sql'). ~34.3 MB download. |
|---|
| Collection method | — | Download | Download |
|---|
| Static | — | Unknown (HF lastModified 2025-05-04; Data Version 1.0 2025-04-04; one-shot) | Unknown (HF lastModified 2025-12-16; synthetic one-shot dump, not a live generator). |
|---|
| Processed | — | Unknown | Unknown |
|---|
| Summary | [](https://arxiv.org/abs/2601.xxxxx) | OpenCodeReasoning is the largest reasoning-based synthetic dataset to date for coding, comprises 735,255 samples in Python across 28,319 unique competitive programming | designed and generated using [Gretel Navigator](https://gretel.ai/gretel-navigator), and released under Apache 2.0. |
|---|