--- license: cc-by-sa-4.0 language: - en pretty_name: "Zenyx Code Distill" size_categories: - 1K

4,758 Competitive-Programming Solutions with Long Chain-of-Thought

DeepSeek-V4.1-Flash Reasoning Traces • Python • CC-BY-SA-4.0

--- ## 🧭 The Zenyx Dataset Family: Which Dataset Should You Use? Every Zenyx dataset lives under [`Arko007`](https://huggingface.co/Arko007) and follows one convention: a `messages` column holding a JSON string of chat turns (roles `system`, `user`, `assistant`, `tool`), optional `tools`, and a `src` tag naming the family. The tables below route you to the right repo. ### 🧱 General SFT and training collections | Dataset | Format | Volume | What it is | Best suited for | | :--- | :--- | :--- | :--- | :--- | | [**`Arko007/zenyx-sft-v2`**](https://huggingface.co/datasets/Arko007/zenyx-sft-v2) | Clean Parquet (train + validation) | 191,002 conversations, ~29.1M tokens | 45 domains of multi-turn, agentic, coding and reasoning chat; audited and de-duplicated | Standard supervised fine-tuning | | [**`Arko007/Zenyx-100M-SFT-synth`**](https://huggingface.co/datasets/Arko007/Zenyx-100M-SFT-synth) | JSONL + Parquet archive | 209k accepted + 114k rejected rows, ~41M tokens | Raw generation traces and the log of every rejected row | Studying synthetic-data pipelines and failure modes | | [**`Arko007/Zenyx-100M-SFT-data`**](https://huggingface.co/datasets/Arko007/Zenyx-100M-SFT-data) | Pre-tokenised NumPy `.npz` shards (+ Parquet view) | 149,571 sequences of 2,049 tokens (208.2M trained tokens) | 15-source mixture, already tokenised, with loss masks | Zero-overhead GPU training of Zenyx-100M | | [**`Arko007/zenyx-curated`**](https://huggingface.co/datasets/Arko007/zenyx-curated) | Parquet, 38 families | 2,520,243 rows | Filtered, de-duplicated, script-checked public and Zenyx-made sources | Building your own SFT mix family by family | | [**`Arko007/zenyx-v3-synthetic-sft-v4`**](https://huggingface.co/datasets/Arko007/zenyx-v3-synthetic-sft-v4) | JSONL shards | 101,523 samples | Distilled reasoning, code and math dialogues from five public sources | Reasoning-heavy SFT | | [**`Arko007/zenyx-v2-SFT-dataset`**](https://huggingface.co/datasets/Arko007/zenyx-v2-SFT-dataset) | Parquet, one config per source | about 187M rows (14 source sets) | Raw Nemotron SFT / RL, Cascade and math collections used for Zenyx V2 | Large-scale research on source data | ### 🎯 Instruction following, behaviour and constraints | Dataset | Format | Volume | What it is | Best suited for | | :--- | :--- | :--- | :--- | :--- | | [**`Arko007/zenyx-instruct-exact`**](https://huggingface.co/datasets/Arko007/zenyx-instruct-exact) | Parquet, 33 configs | ~250M templated rows | Rule-based exact-instruction data; every answer computed by code | Exact counts, formats, letters, multi-question, follow-ups, rules that persist | | [**`Arko007/zenyx-exact-mix`**](https://huggingface.co/datasets/Arko007/zenyx-exact-mix) | Parquet, 5 group configs | 1,183,373 rows, ~180M tokens | Trainer-ready, de-duplicated subset of zenyx-instruct-exact | Dropping the exact-instruction data straight into a training mix | | [**`Arko007/zenyx-constraint-write`**](https://huggingface.co/datasets/Arko007/zenyx-constraint-write) | Parquet + JSONL | 394,998 rows, ~98.1M tokens | Exact-rule writing: word lengths, letter counts, lipograms, acrostics | Controllable, rule-exact text generation | | [**`Arko007/zenyx-haiku-opus`**](https://huggingface.co/datasets/Arko007/zenyx-haiku-opus) | Parquet, 4 configs + raw JSONL | weak_games 2,496 / rest 14,843 / opus 40 / train 16,836 rows | Hand-written and solver-made behaviour data from Claude Haiku and Opus, in one repo | Calibration, tool recovery, games, multi-turn behaviour | | [**`Arko007/zenyx-false-belief`**](https://huggingface.co/datasets/Arko007/zenyx-false-belief) | Parquet | 7,194 rows (v2) | Correcting false beliefs and false premises kindly, with true facts | Honesty and theory-of-mind behaviour | | [**`Arko007/zenyx-frontier-handwritten`**](https://huggingface.co/datasets/Arko007/zenyx-frontier-handwritten) | JSONL, several rounds | about 15,000 multi-turn rows | Hand-written and repaired multi-turn dialogues in 55 reasoning domains | High-density multi-turn and tool arbitration supervision | ### 🛠️ Agents, tools and conversation | Dataset | Format | Volume | What it is | Best suited for | | :--- | :--- | :--- | :--- | :--- | | [**`Arko007/zenyx-agentic-loops`**](https://huggingface.co/datasets/Arko007/zenyx-agentic-loops) | JSONL (accepted + rejects) | simulated-tool rollouts, counts in `status/` | Tool-use loops with executed simulated tools and verified rollouts | Agent-loop behaviour: errors, empty results, asking, confirming, polling | | [**`Arko007/zenyx-spark-r11`**](https://huggingface.co/datasets/Arko007/zenyx-spark-r11) | Parquet, 8 families | 462,033 rows | Round-11 families: celebrity facts, dates, comprehension, slang, greetings, needle retrieval, STEM, code translation | Short, factual and conversational behaviour | | [**`Arko007/zenyx-spark-r11-calib`**](https://huggingface.co/datasets/Arko007/zenyx-spark-r11-calib) | JSONL | 836 accepted rows | Small calibration run of the round-11 generators | Diagnostics only | | [**`Arko007/zenyx-r11-extra`**](https://huggingface.co/datasets/Arko007/zenyx-r11-extra) | Parquet, 3 folders | 95,334 rows | Math with executed code, casual chat and roleplay, rebuilt from three public sources | Tool-augmented math and conversational variety | ### 🔢 Reasoning, arithmetic and puzzles | Dataset | Format | Volume | What it is | Best suited for | | :--- | :--- | :--- | :--- | :--- | | [**`Arko007/zenyx-arithmetic-100m`**](https://huggingface.co/datasets/Arko007/zenyx-arithmetic-100m) | Parquet, 21 shards | 100,000,000 rows | Exact integer arithmetic with verified step-by-step scratchpads | Teaching procedures instead of guessed results | | [**`Arko007/zenyx-arc-synth`**](https://huggingface.co/datasets/Arko007/zenyx-arc-synth) | Parquet (train + validation) | 597,098 + 2,000 tasks | Programmatically generated ARC-style grid puzzles, correct by construction | Spatial and inductive reasoning | ### 🎯 Quick navigation * **Standard fine-tuning on clean chat, agent and coding data** → [`zenyx-sft-v2`](https://huggingface.co/datasets/Arko007/zenyx-sft-v2) * **A big, mixable pool, chosen family by family** → [`zenyx-curated`](https://huggingface.co/datasets/Arko007/zenyx-curated) * **Exact counts, formats, letters, several questions in one prompt, one-word follow-ups, rules that must persist** → [`zenyx-instruct-exact`](https://huggingface.co/datasets/Arko007/zenyx-instruct-exact) (everything) or [`zenyx-exact-mix`](https://huggingface.co/datasets/Arko007/zenyx-exact-mix) (trainer-ready subset) * **Rule-exact writing (letter counts, lipograms, acrostics)** → [`zenyx-constraint-write`](https://huggingface.co/datasets/Arko007/zenyx-constraint-write) * **Calibration, tool recovery, games and multi-turn behaviour from Claude** → [`zenyx-haiku-opus`](https://huggingface.co/datasets/Arko007/zenyx-haiku-opus) * **Agent loops with executed tools** → [`zenyx-agentic-loops`](https://huggingface.co/datasets/Arko007/zenyx-agentic-loops) * **Arithmetic procedures at scale** → [`zenyx-arithmetic-100m`](https://huggingface.co/datasets/Arko007/zenyx-arithmetic-100m); **grid reasoning** → [`zenyx-arc-synth`](https://huggingface.co/datasets/Arko007/zenyx-arc-synth) * **Pre-tokenised shards for the Zenyx-100M trainer** → [`Zenyx-100M-SFT-data`](https://huggingface.co/datasets/Arko007/Zenyx-100M-SFT-data) The models these datasets were built for: [`Arko007/Zenyx-100M-Base`](https://huggingface.co/Arko007/Zenyx-100M-Base) (Zenyx-Mini, about 151M parameters). ### 📚 Knowledge, STEM, code and specialised data (added 30 Nov 2026) | Dataset | Size | | :--- | :--- | | [**`Arko007/zenyx-camel-gsm8k`**](https://huggingface.co/datasets/Arko007/zenyx-camel-gsm8k) | 6,504 rows | | [**`Arko007/zenyx-camel-science`**](https://huggingface.co/datasets/Arko007/zenyx-camel-science) | 59,710 rows | | [**`Arko007/zenyx-code-distill`**](https://huggingface.co/datasets/Arko007/zenyx-code-distill) *(📍 You are here)* | 4,758 rows | | [**`Arko007/zenyx-conceptnet-mcq`**](https://huggingface.co/datasets/Arko007/zenyx-conceptnet-mcq) | 158,148 rows | | [**`Arko007/zenyx-cs-theory`**](https://huggingface.co/datasets/Arko007/zenyx-cs-theory) | 175,847 rows | | [**`Arko007/zenyx-cs-theory-calib`**](https://huggingface.co/datasets/Arko007/zenyx-cs-theory-calib) | calibration run | | [**`Arko007/zenyx-dolly-hhrlhf`**](https://huggingface.co/datasets/Arko007/zenyx-dolly-hhrlhf) | 38,832 rows | | [**`Arko007/zenyx-everything-instruct`**](https://huggingface.co/datasets/Arko007/zenyx-everything-instruct) | 120,000 rows | | [**`Arko007/zenyx-flan-medical`**](https://huggingface.co/datasets/Arko007/zenyx-flan-medical) | 5,802 rows | | [**`Arko007/zenyx-flan-supp`**](https://huggingface.co/datasets/Arko007/zenyx-flan-supp) | 365,558 rows | | [**`Arko007/zenyx-grounded-facts`**](https://huggingface.co/datasets/Arko007/zenyx-grounded-facts) | 100,542 rows | | [**`Arko007/zenyx-hand-written`**](https://huggingface.co/datasets/Arko007/zenyx-hand-written) | 12,564 rows | | [**`Arko007/zenyx-infinity-instruct`**](https://huggingface.co/datasets/Arko007/zenyx-infinity-instruct) | 195,212 rows | | [**`Arko007/zenyx-mmlu-pro-train`**](https://huggingface.co/datasets/Arko007/zenyx-mmlu-pro-train) | 13,962 rows | | [**`Arko007/zenyx-riddlesense`**](https://huggingface.co/datasets/Arko007/zenyx-riddlesense) | 9,058 rows | | [**`Arko007/zenyx-rule-scope`**](https://huggingface.co/datasets/Arko007/zenyx-rule-scope) | 8,324 rows | | [**`Arko007/zenyx-s1-synth`**](https://huggingface.co/datasets/Arko007/zenyx-s1-synth) | 31,641 rows | | [**`Arko007/zenyx-skills-md`**](https://huggingface.co/datasets/Arko007/zenyx-skills-md) | 6,700 rows | | [**`Arko007/zenyx-squality`**](https://huggingface.co/datasets/Arko007/zenyx-squality) | 2,540 rows | | [**`Arko007/zenyx-summary-mapreduce`**](https://huggingface.co/datasets/Arko007/zenyx-summary-mapreduce) | 17,206 rows | | [**`Arko007/zenyx-swallow-code-v2`**](https://huggingface.co/datasets/Arko007/zenyx-swallow-code-v2) | 847,259 docs | | [**`Arko007/zenyx-swallow-math-v2`**](https://huggingface.co/datasets/Arko007/zenyx-swallow-math-v2) | 2,652,627 docs | | [**`Arko007/zenyx-swallow-stem`**](https://huggingface.co/datasets/Arko007/zenyx-swallow-stem) | 256,554 rows | | [**`Arko007/zenyx-terminal-tasks`**](https://huggingface.co/datasets/Arko007/zenyx-terminal-tasks) | 3,728 rows | | [**`Arko007/zenyx-toolground`**](https://huggingface.co/datasets/Arko007/zenyx-toolground) | 60,000 rows | | [**`Arko007/zenyx-unified-mcqa`**](https://huggingface.co/datasets/Arko007/zenyx-unified-mcqa) | 177,706 rows | | [**`Arko007/zenyx-v3-greetings`**](https://huggingface.co/datasets/Arko007/zenyx-v3-greetings) | 117,280 rows | | [**`Arko007/zenyx-bench-mc-answers`**](https://huggingface.co/datasets/Arko007/zenyx-bench-mc-answers) | 26,460 rows | | [**`Arko007/zenyx-run-assets`**](https://huggingface.co/datasets/Arko007/zenyx-run-assets) | notebooks | --- ## 📖 Dataset Overview Competitive-programming prompts answered by DeepSeek-V4.1-Flash with a long reasoning trace in `...` followed by one closed Python code block. Converted from [`Jackrong/DeepSeek-V4.1-Flash-Nemotron-Competitive-Coding-Distill`](https://huggingface.co/datasets/Jackrong/DeepSeek-V4.1-Flash-Nemotron-Competitive-Coding-Distill) (source commit `3b7e0189`). ## 📊 At a Glance | Metric | Value | | :--- | :--- | | **Rows** | 4,758 | | **Files** | 5 Parquet files | | **Estimated tokens** | about 39.3M (characters / 3.2) | | **Source rows** | 6,095 read, 4,758 kept | | **Dropped** | 1,336 rows longer than 98,000 characters; 1 row without a closed code block | | **Language** | English prompts, Python solutions | ## 🛠️ How It Was Built * Read the upstream dataset, which pairs Nemotron competitive-coding prompts (CodeContests and `open-r1/codeforces` problems) with DeepSeek-V4.1-Flash reasoning (max-effort chain of thought). * Wrote the prompt as the `user` turn and `` trace plus final answer as the `assistant` turn; required exactly one closed ```python block. * Dropped rows longer than 98,000 characters (too long for the 32k-token training windows). * Audit of every dropped id is in `audit/dropped.jsonl`. ## 📚 Sources and Licences | Source | Upstream licence | Used for | | :--- | :--- | :--- | | [`Jackrong/DeepSeek-V4.1-Flash-Nemotron-Competitive-Coding-Distill`](https://huggingface.co/datasets/Jackrong/DeepSeek-V4.1-Flash-Nemotron-Competitive-Coding-Distill) | CC-BY-SA-4.0 and Apache-2.0 (as stated on the card) | prompts, reasoning traces, solutions | ## ⚠️ Notes and Limits * **The solutions were not executed.** The upstream card says no tests are shipped, and nothing here re-runs them; some solutions will be wrong. * Average completion length upstream is about 17k tokens, so rows are long. * Share-alike: derivatives must keep CC-BY-SA-4.0. ## 🧩 Data Format Every row is one chat conversation. | Column | Type | Meaning | | :--- | :--- | :--- | | `messages` | string (JSON) | list of turns `{"role": "system" \| "user" \| "assistant" \| "tool", "content": ...}` | | `tools` | string (JSON) | tool specifications for the row, empty string when the row uses no tools | | `src` | string | `/` tag of the generator or source split the row came from | | `meta` | string (JSON) | row-level details (ids, categories, upstream metadata) | ## 🚀 Quick Start ```python import json from datasets import load_dataset ds = load_dataset("Arko007/zenyx-code-distill", split="train") row = ds[0] for turn in json.loads(row["messages"]): print(turn["role"], ":", turn["content"][:200]) ``` --- ## License and citation CC-BY-SA-4.0, following the source card (which lists CC-BY-SA-4.0 and Apache-2.0). ```bibtex @dataset{zenyx_code_distill_2026, author = {Arko and Zenyx AI Contributors}, title = {Zenyx Code Distill}, year = {2026}, publisher = {Hugging Face}, howpublished = {\url{https://huggingface.co/datasets/Arko007/zenyx-code-distill}} } ```