| Kind | dataset | dataset |
|---|
| Published | 2026 | 2025 |
|---|
| License | apache-2.0 | apache-2.0 |
|---|
| License family | Permissive | Permissive |
|---|
| Access | free | free |
|---|
| Language codes | en, zh | en |
|---|
| Modalities | text | text |
|---|
| Size | 100K to 1M rows | 1M to 10M rows |
|---|
| Downloads (last month) | 985 | 914 |
|---|
| Likes | 297 | 128 |
|---|
| Last updated | 2026-04-19 | 2026-02-10 |
|---|
| Tasks | text-generation, question-answering | text-generation, question-answering |
|---|
| Formats | json | parquet |
|---|
| Scale | ~746,321 high-quality kept records (from ~1M raw traces); ~31.7 GB total size. | Hub/datasets-server default train 2,189,671 / 2 columns / 251 parquet shards / parquet 24,444,866,393 bytes (~24.44 GB) / in-memory 57,683,757,757 (~57.68 GB). usedStorage 24,444,866,393 bytes (~24.44 GB). YAML size_categories 1M<n<10M matches 2.19M. Card “2 million examples” undersells Hub n; pretty_name CodeX-5M-Thinking / YAML dataset_name Modotte/CodeX-5M-Thinking oversells n — catalog Hub 2,189,671, not 2M and not 5M. siblings 253 (README + gitattributes + data/shard_00000..00250.parquet). Hub overview 25.0K (24,999) downloads / 126 likes at check; API downloads 1,437. gated=false; private=false. |
|---|
| Format | JSONL (fields: id, conversations, input, output, domain, meta). | Parquet data/shard_00000.parquet … shard_00250.parquet (251 files). Columns input, output. Single default train. No val/test. |
|---|
| Type | Instruction / Chain-of-Thought (CoT) Dataset. | Synthetic coding SFT corpus / problem + <think> solution |
|---|
| Cost | Free | Free |
|---|
| Languages | Multilingual (Strong focus on English and Chinese). | English problem statements (card language:en). Independently inspected train 0–2 / 100 prompts are English contest statements; solutions are Python with <think> English. Card also claims Java / C++ / JavaScript coverage — per-language percents of the 2,189,671 Unknown without aggregating. Not independently LID-ed here. |
|---|
| Modality | Text-only. | Text-only. Hub modality:text. No images/audio. |
|---|
| Domain | STEM, Mathematics, PHD-level Science, General Knowledge. | synthetic coding SFT; contest programming; algorithms; step-by-step code reasoning |
|---|
| Time period | 2026 (Released April 2026) | Fully synthetic (no real-world dates). HF createdAt 2025-11-15T16:35:25Z; lastModified 2026-02-10T07:23:38Z. One-shot generated dump, not a live recrawl. Card bibtex year 2024 vs Hub created 2025-11 — catalog both. |
|---|
| Purpose | High-quality Supervised Fine-Tuning (SFT) and distillation of reasoning capabilities from the GLM-5.1 teacher model into smaller student models. | Ungated input/output coding dump with <think> traces for code-generation / reasoning SFT |
|---|
| Used for | Training "reasoning" models (like Qwen3.5-GLM5.1-Distill) to improve structured problem decomposition and multi-step logic. | None named beyond card fine-tune / benchmark claims. Hub overview 25.0K (24,999) downloads / 126 likes at check; API downloads 1,437. Distinct from already-cataloged OpenCodeReasoning / rStar-Coder / OpenCoder FineWeb Code Corpus / MathX-5M. Do not concat those or NVIDIA source slices as extra n. |
|---|
| Authors | Jackrong (Cleanup/Refinement); Original data by Kassadin88 (distilled from Zhipu AI's GLM-5.1). | Packager Parvesh Rawal / Modotte. Human vs synthetic: card fully synthetic (closed+open models) plus “expert-verified” / NVIDIA-sourced examples. No per-row author column. Unique-prompt histogram Unknown. |
|---|
| Bias | Highly structured, task-first reasoning traces; optimized for "distillation" rather than raw variety. | Card claimed mix Basic 30% / Intermediate 30% / Advanced 40% — not independently re-counted here. AtCoder/Codeforces-style contest priors on inspected rows (Takahashi eating contest; ice-cream tree coloring). Closed-model distill ToS. Card: many examples taken from NVIDIA existing datasets — possible overlap with already-cataloged OpenCodeReasoning / rStar-Coder; do not add those n. Distinct from already-cataloged MathX-5M (same Modotte lineup, different card). |
|---|
| Text quality | High (Cleaned to remove truncated, repetitive, or refusal-style answers). | Independently inspected train 0: AtCoder eating-contest binary-search solution with a working Python main(); train 1 a cycle-detection / Kahn topological-sort course-schedule sketch; train 2 a GCF/Euclid function with extra same-number / non-int guards. Residual: datasets-server statistics are PARTIAL 189,891 of 2,189,671 (~8.67%) — do not treat prefix histograms as the full dump; pretty_name 5M vs Hub 2.19M; card “2 million”; bibtex year 2024 vs created 2025; long <think> traces (PARTIAL output max 92,627 chars). Not independently re-executed on all 2.19M here. |
|---|
| Sample size | Large (0.75M+ long-form reasoning samples). | Single default train 2,189,671. 251 shards are the partition, not extra n. No Hub val/test. Do not add card 2M / pretty_name 5M or the 189,891 statistics prefix as extra unique n. Do not concat already-cataloged OpenCodeReasoning / rStar-Coder / MathX-5M as extra n of this card. |
|---|
| Long context | Very High (Math subset has a median output of 24k+ tokens). | Yes (long CoT). datasets-server PARTIAL 189,891-row prefix: input chars mean 1,361 / median 1,232 / min 33 / max 22,378; output mean 25,298 / median 21,584 / min 750 / max 92,627. Do not treat prefix as the full 2.19M. Exact full-dump token histogram Unknown without aggregating 2,189,671 rows. |
|---|
| Intermediate steps | Yes; uses explicit <think> ... </think> tags for hidden reasoning traces before the final answer. | Yes (synthetic generation; card: dedup / normalize / quality score / ranking / expert selection / pytest-style verify). Exact generator script not on this card. Independent of NVIDIA dumps except as acknowledged source mix. |
|---|
| Idea quality | Exceptional; focuses on task-first decomposition rather than just longer outputs. | High |
|---|
| Novelty | High (One of the first massive-scale open-source distillations of the GLM-5.1 reasoning logic). | High (public 2.19M thinking-code dump vs already-cataloged OpenCodeReasoning / rStar-Coder / MathX-5M; remaining dump leftover; partial NVIDIA source overlap) |
|---|
| Text conversion | High (SFT-ready unified schema). | Ready parquet; load_dataset('Modotte/CodeX-2M-Thinking', split='train', streaming=True). ~24.44 GB / 251 shards — streaming recommended. Do not concat card “2 million” or pretty_name 5M as the corpus n. Do not concat OpenCodeReasoning / rStar-Coder / MathX-5M as extra n. |
|---|
| Collection method | Direct download via Hugging Face. | Download |
|---|
| Static | Yes (Versioned release). | Unknown (HF lastModified 2026-02-10; frozen generated dump). |
|---|
| Processed | Yes (Filtered for quality, normalized reasoning wrappers, and deduplicated). | Unknown |
|---|
| Summary | This release was prepared from the original dataset published by **Kassadin88**. | src="https://cdn-uploads.huggingface.co/production/uploads/677fcdf29b9a9863eba3f29f/ZP4YDDIRewH5M-jKmE4Rt.png" |
|---|