simplemath-cot
收藏资源简介:
SimpleMath-100k CoT 是一个链式思维(Chain-of-Thought, CoT)扩展数据集,基于 ProCreations/SimpleMath 数据集构建。该数据集包含 100,000 个代数/算术问题,每个问题均附带一段简短、编号的推理步骤(Step 1: … Step 2: …),用于引导语言模型从问题陈述逐步推导至正确答案。数据集的行数不超过 100,000 行,生成失败或输出无法解析的行会被自动丢弃。数据格式为 JSONL,每行是一个 JSON 对象,包含一个 'text' 字段,该字段由指令(Instruction)和响应(Response)组成,其中响应部分包含编号的推理步骤和最终答案。推理步骤由 Qwen3.8-27B 模型生成,并经过后处理以去除格式噪声、强制顺序编号,并将输出限制在 1,000 字符以内。数据集的语言为英语,采用 MIT 许可证。该数据集适用于数学文字题解答、链式思维推理训练、指令微调等任务。
SimpleMath-100k CoT is a Chain-of-Thought (CoT) extended dataset built upon the ProCreations/SimpleMath dataset. It contains 100,000 algebraic/arithmetic problems, each accompanied by a short, numbered reasoning step (Step 1: … Step 2: …) to guide the language model from problem statement to correct answer step by step. The data format is JSONL, with each line being a JSON object containing a text field composed of an Instruction and a Response, where the response includes numbered reasoning steps and the final answer. The reasoning steps are generated by the Qwen3.8-27B model and post-processed to remove formatting noise, enforce sequential numbering, and limit the output to 1,000 characters. The dataset is in English, licensed under MIT, and is suitable for tasks such as math word problem solving, chain-of-thought reasoning training, and instruction fine-tuning.
🧮 SimpleMath-100k CoT 数据集概述
基本信息
| 属性 | 内容 |
|---|---|
| 数据集名称 | SimpleMath-100k CoT |
| 任务类型 | 数学应用题求解(CoT 增强) |
| 规模 | 最多 100,000 行(生成失败或无法解析的行会被静默丢弃) |
| 语言 | 英语 |
| 许可证 | MIT |
| 来源数据集 | ProCreations/SimpleMath |
| 生成模型 | Qwen3.8-27B(通过 Ollama) |
数据集描述
该数据集是 ProCreations/SimpleMath 的思维链(Chain-of-Thought, CoT)扩展版本。数据集中每个代数/算术问题都配有一组简短的、带编号的推理步骤(如 Step 1: ... Step 2: ...),帮助语言模型从问题描述逐步推理到已知正确答案。
推理轨迹由 Qwen3.8-27B 模型生成,并经过后处理以去除格式噪声、强制步骤编号顺序,并将输出长度限制在 1,000 字符以内,以便适配短上下文训练场景。
数据格式
数据文件为 JSONL 格式,每个样本是一个 JSON 对象,示例结构如下:
jsonl { "text": "Instruction: Solve 3x + 7 = 22.
Response: <think>Step 1: Subtract 7 from both sides: 3x = 15. Step 2: Divide both sides by 3: x = 5. </think>5" }
后处理规则
| 问题类型 | 处理方式 |
|---|---|
杂散字符(*、"、×、÷) |
替换或移除(×→x,÷→/) |
| 非顺序编号(如数学中混入杂散数字) | 仅接受延续 1 → 2 → 3 序列的标记,乱序数字被忽略 |
| 输出中未找到顺序编号步骤 | 该行从最终文件丢弃 |
| 超过 1,000 字符 | 从结尾丢弃整个步骤(不会在句子中间截断) |
| 完全无法解析或空输出 | 该行从最终文件丢弃 |
许可证说明
- 商业用途:✅ 允许
- 上游问题与答案:MIT © ProCreations
- 生成的推理轨迹:MIT © AlexFromApex
- 生成模型权重:受 Qwen3.8-27B 许可证约束(Apache 2.0)
引用信息
使用该数据集时,建议同时引用源数据集和本 CoT 扩展版本,具体引用格式参见数据集详情页。





