zaydsyed commited on
Commit
d3b948b
·
verified ·
1 Parent(s): 311c6ac

Publish TactLM math data for private review

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: TactLM Math Reasoning Data
3
+ language:
4
+ - en
5
+ license:
6
+ - mit
7
+ - apache-2.0
8
+ task_categories:
9
+ - question-answering
10
+ tags:
11
+ - math
12
+ - reasoning
13
+ - reinforcement-learning
14
+ configs:
15
+ - config_name: curated
16
+ data_files:
17
+ - split: train
18
+ path: data/curated/train.jsonl
19
+ - split: validation
20
+ path: data/curated/validation.jsonl
21
+ - split: test
22
+ path: data/curated/test.jsonl
23
+ - config_name: fresh-multistep
24
+ data_files:
25
+ - split: test
26
+ path: data/fresh-multistep/test.jsonl
27
+ ---
28
+
29
+ # TactLM Math Reasoning Data
30
+
31
+ The questions used to train and evaluate [TactLM Math ProcessGRPO](https://huggingface.co/zaydsyed/TactLM-Math-ProcessGRPO-Qwen2.5-0.5B). The release has two subsets: the filtered training pool and its holdouts, and a separate generated test of multi-step arithmetic. Each row has a final answer. The step-credit rewards were computed during training and are **not** labels in this dataset.
32
+
33
+ | Subset | Split | Problems | Purpose |
34
+ | --- | --- | ---: | --- |
35
+ | `curated` | `train` | 8,478 | GRPO training |
36
+ | `curated` | `validation` | 380 | Checkpoint selection |
37
+ | `curated` | `test` | 510 | Held-out evaluation |
38
+ | `fresh-multistep` | `test` | 700 | Chained-operation evaluation |
39
+
40
+ ## How the questions were selected
41
+
42
+ The curated subset draws from the **training splits** of [MATH](https://huggingface.co/datasets/EleutherAI/hendrycks_math), [GSM8K](https://huggingface.co/datasets/openai/gsm8k), and selected sources in [NuminaMath-CoT](https://huggingface.co/datasets/AI-MO/NuminaMath-CoT), plus problems made by this project's dependency-graph generator. The pipeline kept questions with a single numeric answer, removed duplicates and questions requiring figures, and screened for overlap with evaluation sets using digit-masked 13-grams. It then selected questions the starting Qwen2.5-0.5B-Instruct model answered correctly in **1–7 of 8 attempts**. A blind solver checked each retained source answer; disagreements were sent to a second solver. The pool was split by topic, and the training split was capped so no topic dominated it. A separate 200-question hand audit found no wrong answer keys.
43
+
44
+ The generated rows are an exception to the solvability filter: they have `source: generated` and `hits: null`. There are **847** in train and **40** in validation. They require 2–4 chained operations and include a distractor sentence.
45
+
46
+ The `fresh-multistep` test was generated **after training** with an unused seed. It contains 100 questions at each depth from 2 through 8 operations. The generator constructs an arithmetic dependency graph, computes the answer from it, and writes the question in English. These questions were used for the published model's evaluation, so future work should not treat this public release as a new blind test.
47
+
48
+ ## Fields
49
+
50
+ `curated` rows have `id`, `problem`, `answer`, `source`, `subject`, `topic`, and `hits`. `answer` is a numeric string, sometimes a fraction. `hits` is the starting model's correct count out of eight attempts; it is null for generated rows. `subject` is populated for MATH rows. The `test` split is the exact 510-question set used by the evaluation harness.
51
+
52
+ `fresh-multistep` rows have `id`, `problem`, `answer`, and `ops`. `ops` is the number of arithmetic operations in the generated solution graph. The released file uses the generator's fixed seed `20261024`.
53
+
54
+ ```python
55
+ from datasets import load_dataset
56
+
57
+ train = load_dataset("zaydsyed/TactLM-Math-Reasoning-Data", "curated", split="train")
58
+ fresh = load_dataset("zaydsyed/TactLM-Math-Reasoning-Data", "fresh-multistep", split="test")
59
+ ```
60
+
61
+ While this repository is private, pass `token=True` to `load_dataset` after signing in.
62
+
63
+ ## Limits and provenance
64
+
65
+ This set was chosen for one small model's training run, not as a general math benchmark. The solvability band excludes questions that model never solved. Topic tags and answer checks were model-assisted; the 200-question audit is a sample, not a guarantee that every key is correct. The generated questions follow templates and should not be mistaken for independent human-written problems. The held-out and fresh sets are now disclosed alongside the training data; report comparisons against them with that context.
66
+
67
+ Questions from upstream datasets retain their original source in the `source` field. Licensing and citations are listed in [SOURCE-LICENSES.md](SOURCE-LICENSES.md). The dataset combines MIT-licensed and Apache-2.0-licensed sources; the license tags above describe the respective source material, not a replacement license for every row.
SOURCE-LICENSES.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sources and licenses
2
+
3
+ This release contains questions from several datasets. Their original licenses and attribution continue to apply to those rows. The `source` field identifies where each curated question came from.
4
+
5
+ | `source` | Original dataset | License stated on its dataset card |
6
+ | --- | --- | --- |
7
+ | `math` | [MATH, hosted by EleutherAI](https://huggingface.co/datasets/EleutherAI/hendrycks_math) | MIT |
8
+ | `gsm8k` | [GSM8K, OpenAI](https://huggingface.co/datasets/openai/gsm8k) | MIT |
9
+ | `numina:*` | [NuminaMath-CoT, Project Numina](https://huggingface.co/datasets/AI-MO/NuminaMath-CoT) | Apache 2.0 |
10
+ | `generated` | TactLM dependency-graph generator | MIT for these original generated questions |
11
+
12
+ The `fresh-multistep` questions were also made by the TactLM dependency-graph generator and are released under MIT. Refer to each linked source dataset for its full license and citation. This repository does not include upstream worked solutions: only question text, final numeric answers, and selection metadata.
13
+
14
+ ## Citations
15
+
16
+ - Hendrycks et al., *Measuring Mathematical Problem Solving With the MATH Dataset* (NeurIPS 2021).
17
+ - Cobbe et al., *Training Verifiers to Solve Math Word Problems* (2021), for GSM8K.
18
+ - Li et al., *NuminaMath* (2024), for NuminaMath-CoT.
data/curated/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/curated/train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/curated/validation.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/fresh-multistep/test.jsonl ADDED
The diff for this file is too large to render. See raw diff