Datasets:
Shorter card; label scheme up front
Browse files24 unmodified lines252627282930313233343536373839404142434445464748495051525354555657585960616263646566672 unmodified lines70717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714824 unmodified linespath: data/train-*.parquet---# Annotated Long-CoT Math 71K: Every Paragraph of 71,194 Reasoning Traces Labeled**A chain-of-thought dataset built for studying reasoning, not just training on it: every paragraph of 71,194 long mathreasoning traces (40,009 problems, all verified correct) is labeled with its role — main path, abandoned attempt, dead end,or post-answer checking — and with what the model is doing there.**Each trace comes from **Qwen3.8-27B in thinking mode** (an open model on par with Claude Opus 4.6 — e.g. 75 vs 73/100 oncoding in [OpenCode's comparison](https://opencode.ai/zh/data/compare/alibaba/qwen3-8-27b/anthropic/claude-opus-4-6)).Each paragraph is labeled with **which path it belongs to** — the reasoning the answer is built on, a path that was tried anddropped, or work done after the answer was already reached — and **what the model is doing** there (setup, plan, recall,compute, explore, verify, monitor, consolidate, answer).Long-CoT data is usually plain text: you can see that a model thought for ten thousand tokens, but not which of them theanswer rests on. ThoughtAtlas adds that map, so the same traces can be used as-is for SFT / distillation, or sliced bystructure for research on how reasoning traces are learned.This is the full corpus behind [ThoughtAtlas-1K](https://huggingface.co/datasets/SeaFill2025/ThoughtAtlas-1K) (same schema,same labeling procedure, plus a few extra fields).- Project page: https://seafill.info/ThoughtAtlas/- Blog: https://seafill.info/ThoughtAtlas/blog/## At a glance| | Traces | Problems | Median tokens | Traces with a dropped path | Share of thinking on dropped paths | Share after the answer ||---|---|---|---|---|---|---|| Easy | 28,121 | 28,121 | 1,791 | 20% | 3% | 37% || Medium | 38,019 | 8,690 | 4,117 | 50% | 11% | 33% || Hard | 5,054 | 3,198 | 5,494 | 65% | 17% | 30% || **All** | **71,194** | **40,009** | **2,935** | **39%** | **8%** | **34%** |Difficulty is the teacher's own accuracy over 8 samples (easy = 8/8; hard = at most 3/8). Easy problems contribute one traceeach; medium and hard problems contribute all their correct traces (up to 8). Sources: olympiads 38,838 · DeepMath 22,310 ·cn_contest 5,516 · AoPS forum 4,224 · AMC/AIME 306. Shares are by characters of the thinking.Function labels over all paragraphs: compute 37% · verify 19% · explore 10% · plan 8% · setup 8% · consolidate 7% ·monitor 6% · answer 3% · recall 2%.## Quick start2 unmodified linesds = load_dataset("SeaFill2025/Annotated-Long-CoT-Math-71K", split="train")ex = ds[0]thinking = "".join(ex["thinking_paragraphs"]) # the full thinking, exactly as generatedsft_text = f"<think>\n{thinking.strip()}\n</think>\n\n{ex['final_response']}" # ready for long-CoT SFT# paragraphs on the main path (what the final answer is built on)main = {i for n in ex["nodes"] if n["path"] == "M" for i in range(n["p_start"], n["p_end"] + 1)}main_paragraphs = [p for i, p in enumerate(ex["thinking_paragraphs"]) if i in main]# e.g. only hard problems, or only traces that explored and dropped somethinghard = ds.filter(lambda x: x["difficulty"] == "hard")explored = ds.filter(lambda x: x["exploration_share"] > 0)```## Fields| Field | Content ||---|---|| `traj_id`, `problem_id` | Trace id (`<problem id>_<sample index>`) and problem id || `source` | Problem source (olympiads, deepmath, cn_contest, aops_forum, amc_aime) || `problem`, `gold_answer` | Math problem and reference answer || `teacher_answer`, `is_correct` | Answer extracted from the teacher's response, and whether it matches (always true here) || `difficulty`, `teacher_accuracy` | easy / medium / hard, and the teacher's accuracy over 8 samples || `length_bin`, `n_tokens`, `n_paragraphs` | short (<3k) / mid (3k–10k) / long (>10k) tokens; token and paragraph counts || `thinking_paragraphs` | The full thinking, split into paragraphs (joining them gives the original text) || `final_response` | The written solution after the thinking || `nodes` | Labeled spans: `p_start`, `p_end` (paragraph range), `label` (function), `path`, `deps` (earlier nodes used), `branch`, `flags` || `answer_paragraph` | Paragraph where the final answer is first reached || `main_path_uses` | Paragraphs the final derivation relies on || `method` | One-line summary of the approach on the main path || `outline` | Segment-level map (long traces only): `p_start`, `p_end`, `path`, `summary` || `exploration_share`, `abandoned_share`, `deadend_share`, `post_answer_share` | Fraction of the thinking (by characters) on each kind of path || `has_meta_flag` | The annotator flagged at least one paragraph that talks about hidden settings or instructions (3.3%) |**Paths:** `M` main path (what the final derivation uses, plus setup / restating / planning before the answer) · `A`explicitly abandoned (given up, or a wrong computation later redone) · `D` dead end (explored before the answer but neverused) · `P` post-answer (re-checks, alternative proofs, write-up planning after the answer was first reached).**Function labels:** `SU` setup · `PL` plan · `RC` recall · `CP` compute · `EX` explore · `VF` verify · `MB` monitor (doubt,noticing an error, deciding to go back) · `CS` consolidate · `AN` answer. **Flags:** `E` math error · `R` redundant · `L`mentions hidden settings or meta instructions.## How it was madeProblems come from NuminaMath-1.5 and DeepMath-103K, deduplicated and decontaminated against common math benchmarks(MATH-500, AIME 2024–2026, AMC 2023 and 2025, HMMT 2025–2026, BeyondAIME, MATH-Beyond). Traces were generated with Qwen3.8-27B (thinking mode, temperature 1.0,top-p 0.95, top-k 20, 16k-token cap) and graded with math-verify; only correct, complete traces are included.Labels were produced by Qwen3.8-27B-FP8 in thinking mode: short traces (≤ 50 paragraphs) in one pass; long traces are firstoutlined as a whole (where the answer is reached, which paragraphs it relies on, a segment-level map) and then labeled in40-paragraph chunks with that map in view, followed by consistency checks. 24 traces whose labels could not be parsed wereremoved.**Quality check.** Before labeling at scale, the procedure was checked against an independent annotator, GPT-6.1 Sol, on 100pilot traces with the same scheme. The version used here agreed best with the reference: paragraph-level F1 of 0.73 on whichsteps were dropped before the answer (0.86 on short traces, about 0.67 on medium and long ones). Part of the remaining gap isgenuine ambiguity.All labels are model annotations, not human annotations. Paths are the most reliable part; the split between `A` and `D` andthe function labels are best treated as approximate.## Citation```bibtex@misc{li2026annotatedlongcot71k,title = {Annotated Long-CoT Math 71K: Every Paragraph of 71,194 Reasoning Traces Labeled},author = {Li, Hongyang and Hong, Kyungmin and Li, Xiao andWu, Caesar and Bouvry, Pascal and{SeaFill Open-Source Team}},year = {2026},month = nov,publisher = {Hugging Face},howpublished = {\url{https://huggingface.co/datasets/SeaFill2025/Annotated-Long-CoT-Math-71K}},note = {Project page: \url{https://seafill.info/ThoughtAtlas/}}}```SeaFill Open-Source Team · University of Luxembourg24 unmodified lines25262728293031323334353637383940414243444546474849505152532 unmodified lines565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610724 unmodified linespath: data/train-*.parquet---# Annotated Long-CoT Math 71K**71,194 long math reasoning traces (40,009 problems, all verified correct), with every paragraph of the thinking labeled.**Traces come from Qwen3.8-27B in thinking mode. Built for studying chain-of-thought, and usable as-is for long-CoT SFT.## The labelsEach paragraph gets a **path** (where it sits on the way to the answer) and a **function** (what the model is doing).| Path | Meaning ||---|---|| `M` main path | What the final derivation uses, plus setup / restating / planning before the answer || `A` abandoned | Explicitly given up, or a wrong computation later redone || `D` dead end | Explored before the answer but never used || `P` post-answer | Re-checks, alternative proofs, write-up planning after the answer was first reached || Function | | Function | ||---|---|---|---|| `SU` setup | `PL` plan | `RC` recall | `CP` compute || `EX` explore | `VF` verify | `MB` monitor (doubt, noticing an error, going back) | `CS` consolidate || `AN` answer | | | |**Flags:** `E` math error · `R` redundant · `L` mentions hidden settings or meta instructions.## Quick start2 unmodified linesds = load_dataset("SeaFill2025/Annotated-Long-CoT-Math-71K", split="train")ex = ds[0]for n in ex["nodes"]: # labeled spans of paragraphstext = "".join(ex["thinking_paragraphs"][n["p_start"]:n["p_end"] + 1])print(n["path"], n["label"], text[:80])sft_text = f"<think>\n{''.join(ex['thinking_paragraphs']).strip()}\n</think>\n\n{ex['final_response']}"```## Fields| Field | Content ||---|---|| `problem`, `gold_answer`, `teacher_answer` | Problem, reference answer, teacher's answer || `thinking_paragraphs`, `final_response` | Full thinking split into paragraphs; the written solution after it || `nodes` | Labeled spans: `p_start`, `p_end`, `path`, `label` (function), `deps` (earlier nodes used), `flags` || `answer_paragraph`, `main_path_uses` | Where the answer is first reached; paragraphs the final derivation relies on || `exploration_share`, `post_answer_share` (+ `abandoned_share`, `deadend_share`) | Share of the thinking (by characters) on each path || `method`, `outline` | One-line approach summary; segment-level map for long traces || `difficulty`, `teacher_accuracy`, `source`, `n_tokens`, `length_bin` | Easy / medium / hard by teacher accuracy over 8 samples, and metadata |## At a glance| | Traces | Median tokens | Traces with a dropped path | Thinking after the answer ||---|---|---|---|---|| Easy | 28,121 | 1,791 | 20% | 37% || Medium | 38,019 | 4,117 | 50% | 33% || Hard | 5,054 | 5,494 | 65% | 30% |## How it was madeProblems: NuminaMath-1.5 and DeepMath-103K, deduplicated and decontaminated against MATH-500, AIME 2024–2026, AMC 2023/2025,HMMT 2025–2026, BeyondAIME and MATH-Beyond. Traces: Qwen3.8-27B, thinking mode, temperature 1.0, 16k-token cap, graded withmath-verify. Labels: Qwen3.8-27B-FP8 in thinking mode; long traces are outlined first, then labeled in 40-paragraph chunks.Checked against GPT-6.1 Sol on 100 pilot traces (paragraph-level F1 0.73 for dropped-before-answer steps). Labels are modelannotations: paths are the most reliable part; `A` vs `D` and function labels are approximate.Full corpus behind [ThoughtAtlas-1K](https://huggingface.co/datasets/SeaFill2025/ThoughtAtlas-1K) (same schema).Project page: https://seafill.info/ThoughtAtlas/## Citation```bibtex@misc{li2026annotatedlongcot71k,title = {Annotated Long-CoT Math 71K},author = {Li, Hongyang and Hong, Kyungmin and Li, Xiao and Wu, Caesar and Bouvry, Pascal and {SeaFill Open-Source Team}},year = {2026},publisher = {Hugging Face},howpublished = {\url{https://huggingface.co/datasets/SeaFill2025/Annotated-Long-CoT-Math-71K}}}```
README.md+45-86