experiment_metadata dict | is_correct bool 1
class | predicted_answer stringlengths 1 6 | problem_id stringlengths 17 17 | question stringlengths 72 553 | reasoning_trace stringlengths 924 3.51k | reference_answer stringlengths 1 7 | schema_version stringclasses 1
value | segmentation_valid bool 1
class | semantic_state_validation dict | state_count int64 9 78 | states listlengths 9 78 | trace_id stringlengths 54 54 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
{
"evaluation_status": "scored",
"experiment_name": "qwen3-4b-gsm8k-expanded-cot-week2",
"experiment_timestamp_utc": "2026-10-10T05:21:06.413549+00:00",
"finish_reason": "eos",
"generation_config": {
"do_sample": false,
"max_new_tokens": 1024,
"model_id": "Qwen/Qwen3-4B",
"precision": "float16... | true | 72 | gsm8k-train-00000 | Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May? | <think>
Okay, let's see. Natalia sold clips to 48 friends in April. Then in May, she sold half as many as in April. So I need to find out how many she sold in May first. Half of 48 would be 24, right? Because 48 divided by 2 is 24. So in May, she sold 24 clips.
Now, to find the total number of clips sold in both month... | 72 | 1.0 | true | {
"is_usable_for_week3": true,
"is_valid": true,
"issues": [],
"problem_id": "gsm8k-train-00000",
"state_count": 24,
"trace_id": "89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00000",
"usable_state_count": 24
} | 24 | [
{
"end_char": 24,
"is_final_state": false,
"problem_id": "gsm8k-train-00000",
"representation": {
"hidden_size": 2560,
"is_final_state": false,
"layer": -1,
"pooled_token_count": 6,
"pooling": "mean",
"problem_id": "gsm8k-train-00000",
"resolved_layer_index"... | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00000 |
{
"evaluation_status": "scored",
"experiment_name": "qwen3-4b-gsm8k-expanded-cot-week2",
"experiment_timestamp_utc": "2026-10-10T05:21:06.413549+00:00",
"finish_reason": "eos",
"generation_config": {
"do_sample": false,
"max_new_tokens": 1024,
"model_id": "Qwen/Qwen3-4B",
"precision": "float16... | true | 500 | gsm8k-train-00041 | Rachel and Sara want to attend a beauty and modeling contest. They both want to buy new pairs of shoes and dresses. Sara buys a pair of shoes which costs $50 and a dress which costs $200. How much should Rachel budget if she wants to spend twice as much as what Sara spent on the pair of shoes and dress? | <think>
Okay, let's see. Rachel and Sara want to buy shoes and dresses for a contest. Sara bought shoes for $50 and a dress for $200. The question is asking how much Rachel should budget if she wants to spend twice as much as Sara spent on the shoes and dress.
First, I need to figure out how much Sara spent in total. ... | 500 | 1.0 | true | {
"is_usable_for_week3": true,
"is_valid": true,
"issues": [],
"problem_id": "gsm8k-train-00041",
"state_count": 28,
"trace_id": "89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00041",
"usable_state_count": 28
} | 28 | [
{
"end_char": 24,
"is_final_state": false,
"problem_id": "gsm8k-train-00041",
"representation": {
"hidden_size": 2560,
"is_final_state": false,
"layer": -1,
"pooled_token_count": 6,
"pooling": "mean",
"problem_id": "gsm8k-train-00041",
"resolved_layer_index"... | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00041 |
{
"evaluation_status": "scored",
"experiment_name": "qwen3-4b-gsm8k-expanded-cot-week2",
"experiment_timestamp_utc": "2026-10-10T05:21:06.413549+00:00",
"finish_reason": "eos",
"generation_config": {
"do_sample": false,
"max_new_tokens": 1024,
"model_id": "Qwen/Qwen3-4B",
"precision": "float16... | true | 300 | gsm8k-train-00044 | James is a first-year student at a University in Chicago. He has a budget of $1000 per semester. He spends 30% of his money on food, 15% on accommodation, 25% on entertainment, and the rest on coursework materials. How much money does he spend on coursework materials? | <think>
Okay, let's see. James has a budget of $1000 per semester. He spends different percentages on various things: 30% on food, 15% on accommodation, 25% on entertainment, and the rest on coursework materials. I need to find out how much he spends on coursework materials.
First, I should figure out what percentage ... | 300 | 1.0 | true | {
"is_usable_for_week3": true,
"is_valid": true,
"issues": [],
"problem_id": "gsm8k-train-00044",
"state_count": 43,
"trace_id": "89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00044",
"usable_state_count": 43
} | 43 | [
{
"end_char": 24,
"is_final_state": false,
"problem_id": "gsm8k-train-00044",
"representation": {
"hidden_size": 2560,
"is_final_state": false,
"layer": -1,
"pooled_token_count": 6,
"pooling": "mean",
"problem_id": "gsm8k-train-00044",
"resolved_layer_index"... | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00044 |
{
"evaluation_status": "scored",
"experiment_name": "qwen3-4b-gsm8k-expanded-cot-week2",
"experiment_timestamp_utc": "2026-10-10T05:21:06.413549+00:00",
"finish_reason": "eos",
"generation_config": {
"do_sample": false,
"max_new_tokens": 1024,
"model_id": "Qwen/Qwen3-4B",
"precision": "float16... | true | 45 | gsm8k-train-00056 | Leo's assignment was divided into three parts. He finished the first part of his assignment in 25 minutes. It took him twice as long to finish the second part. If he was able to finish his assignment in 2 hours, how many minutes did Leo finish the third part of the assignment? | <think>
Okay, let's see. Leo has an assignment divided into three parts. He finished the first part in 25 minutes. The second part took him twice as long as the first. Then, he finished the entire assignment in 2 hours. The question is asking how many minutes he spent on the third part.
First, I need to convert all th... | 45 | 1.0 | true | {
"is_usable_for_week3": true,
"is_valid": true,
"issues": [],
"problem_id": "gsm8k-train-00056",
"state_count": 43,
"trace_id": "89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00056",
"usable_state_count": 43
} | 43 | [
{
"end_char": 24,
"is_final_state": false,
"problem_id": "gsm8k-train-00056",
"representation": {
"hidden_size": 2560,
"is_final_state": false,
"layer": -1,
"pooled_token_count": 6,
"pooling": "mean",
"problem_id": "gsm8k-train-00056",
"resolved_layer_index"... | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00056 |
{
"evaluation_status": "scored",
"experiment_name": "qwen3-4b-gsm8k-expanded-cot-week2",
"experiment_timestamp_utc": "2026-10-10T05:21:06.413549+00:00",
"finish_reason": "eos",
"generation_config": {
"do_sample": false,
"max_new_tokens": 1024,
"model_id": "Qwen/Qwen3-4B",
"precision": "float16... | true | 15 | gsm8k-train-00062 | There are 290 liters of oil in 24 cans. If 10 of the cans are holding 8 liters each, how much oil is each of the remaining cans holding? | <think>
Okay, let's see. There's a problem here about oil in cans. Let me try to figure it out step by step. So, the problem says there are 290 liters of oil in 24 cans. Then, 10 of the cans are holding 8 liters each. The question is asking how much oil each of the remaining cans is holding.
First, I need to understan... | 15 | 1.0 | true | {
"is_usable_for_week3": true,
"is_valid": true,
"issues": [],
"problem_id": "gsm8k-train-00062",
"state_count": 46,
"trace_id": "89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00062",
"usable_state_count": 46
} | 46 | [
{
"end_char": 24,
"is_final_state": false,
"problem_id": "gsm8k-train-00062",
"representation": {
"hidden_size": 2560,
"is_final_state": false,
"layer": -1,
"pooled_token_count": 6,
"pooling": "mean",
"problem_id": "gsm8k-train-00062",
"resolved_layer_index"... | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00062 |
{
"evaluation_status": "scored",
"experiment_name": "qwen3-4b-gsm8k-expanded-cot-week2",
"experiment_timestamp_utc": "2026-10-10T05:21:06.413549+00:00",
"finish_reason": "eos",
"generation_config": {
"do_sample": false,
"max_new_tokens": 1024,
"model_id": "Qwen/Qwen3-4B",
"precision": "float16... | true | 3 | gsm8k-train-00073 | It is Roger’s turn to provide a snack for the baseball team after the game and he has decided to bring trail mix. The trail mix comes in packs of 6 individual pouches. Roger has 13 members on his baseball team, plus 3 coaches and 2 helpers. How many packs of trail mix does he need to buy? | <think>
Okay, let's see. Roger needs to provide trail mix for his baseball team and some helpers. The trail mix comes in packs of 6 individual pouches. First, I need to figure out how many people there are in total that need trail mix.
So, the problem says there are 13 team members, plus 3 coaches and 2 helpers. Let m... | 3 | 1.0 | true | {
"is_usable_for_week3": true,
"is_valid": true,
"issues": [],
"problem_id": "gsm8k-train-00073",
"state_count": 44,
"trace_id": "89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00073",
"usable_state_count": 44
} | 44 | [
{
"end_char": 24,
"is_final_state": false,
"problem_id": "gsm8k-train-00073",
"representation": {
"hidden_size": 2560,
"is_final_state": false,
"layer": -1,
"pooled_token_count": 6,
"pooling": "mean",
"problem_id": "gsm8k-train-00073",
"resolved_layer_index"... | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00073 |
{
"evaluation_status": "scored",
"experiment_name": "qwen3-4b-gsm8k-expanded-cot-week2",
"experiment_timestamp_utc": "2026-10-10T05:21:06.413549+00:00",
"finish_reason": "eos",
"generation_config": {
"do_sample": false,
"max_new_tokens": 1024,
"model_id": "Qwen/Qwen3-4B",
"precision": "float16... | true | 85 | gsm8k-train-00077 | A boxer weighs 97 kg at 4 months from a fight. He is on a diet that allows him to lose 3 kg per month until the day of the fight. How much will he weigh on the day of the fight? | <think>
Okay, let's see. The problem is about a boxer who weighs 97 kg and is on a diet to lose weight before a fight. The question is asking how much he'll weigh on the day of the fight.
First, I need to understand the details. The boxer starts at 97 kg, and he has 4 months until the fight. His diet allows him to los... | 85 | 1.0 | true | {
"is_usable_for_week3": true,
"is_valid": true,
"issues": [],
"problem_id": "gsm8k-train-00077",
"state_count": 35,
"trace_id": "89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00077",
"usable_state_count": 35
} | 35 | [
{
"end_char": 24,
"is_final_state": false,
"problem_id": "gsm8k-train-00077",
"representation": {
"hidden_size": 2560,
"is_final_state": false,
"layer": -1,
"pooled_token_count": 6,
"pooling": "mean",
"problem_id": "gsm8k-train-00077",
"resolved_layer_index"... | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00077 |
{"evaluation_status":"scored","experiment_name":"qwen3-4b-gsm8k-expanded-cot-week2","experiment_time(...TRUNCATED) | true | 90 | gsm8k-train-00084 | "Hans booked a room in a hotel. The hotel has 10 floors with 10 identical rooms on each floor. Becau(...TRUNCATED) | "<think>\nOkay, let's see. Hans booked a room in a hotel. The hotel has 10 floors, each with 10 iden(...TRUNCATED) | 90 | 1.0 | true | {"is_usable_for_week3":true,"is_valid":true,"issues":[],"problem_id":"gsm8k-train-00084","state_coun(...TRUNCATED) | 37 | [{"end_char":24,"is_final_state":false,"problem_id":"gsm8k-train-00084","representation":{"hidden_si(...TRUNCATED) | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00084 |
{"evaluation_status":"scored","experiment_name":"qwen3-4b-gsm8k-expanded-cot-week2","experiment_time(...TRUNCATED) | true | 25 | gsm8k-train-00102 | "Ellie has found an old bicycle in a field and thinks it just needs some oil to work well again. Sh(...TRUNCATED) | "<think>\nOkay, let's see. Ellie needs to fix a bicycle. The problem says she needs 10ml of oil for (...TRUNCATED) | 25 | 1.0 | true | {"is_usable_for_week3":true,"is_valid":true,"issues":[],"problem_id":"gsm8k-train-00102","state_coun(...TRUNCATED) | 24 | [{"end_char":24,"is_final_state":false,"problem_id":"gsm8k-train-00102","representation":{"hidden_si(...TRUNCATED) | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00102 |
{"evaluation_status":"scored","experiment_name":"qwen3-4b-gsm8k-expanded-cot-week2","experiment_time(...TRUNCATED) | true | 15 | gsm8k-train-00114 | "Ed has 2 dogs, 3 cats and twice as many fish as cats and dogs combined. How many pets does Ed have (...TRUNCATED) | "<think>\nOkay, let's see. Ed has some pets, and I need to find out the total number. The problem sa(...TRUNCATED) | 15 | 1.0 | true | {"is_usable_for_week3":true,"is_valid":true,"issues":[],"problem_id":"gsm8k-train-00114","state_coun(...TRUNCATED) | 35 | [{"end_char":24,"is_final_state":false,"problem_id":"gsm8k-train-00114","representation":{"hidden_si(...TRUNCATED) | 89393b69-3b45-4d49-ae10-4f153989ee4b:gsm8k-train-00114 |
Dataset Card for PSSN-sementic-state-math-problems
Dataset Details
Dataset Description
PSSN-sementic-state-math-problems is a research dataset that pairs grade-school math word problems with Qwen3-4B generated reasoning traces, rule-based semantic-state segments, validation reports, and one hidden-state vector per retained semantic state. It was prepared to support later research on state-level reasoning interventions. It is not a standalone benchmark and does not include state usefulness or skip labels.
- Curated by: PSSN research project; Hugging Face maintainer: ramitha2002 (individual name and affiliation not provided)
- Funded by: Not specified
- Shared by: ramitha2002
- Language(s): English
- License: Other / derivative license not separately determined. The upstream GSM8K dataset identifies its license as MIT. This card does not assign a separate license to the combined data and generated content; review applicable source/model terms before redistribution.
Dataset Sources
- Repository: https://huggingface.co/datasets/ramitha2002/pssn-sementic-state-math-problems
- Source dataset: https://huggingface.co/datasets/openai/gsm8k
- Paper: https://arxiv.org/abs/2110.14168
- Demo: None
Uses
Direct Use
Research on reasoning-trace segmentation, state-level representations, and the preparation of inputs for controlled reasoning-state interventions. It can also be used to inspect how an automatic segmentation and validation pipeline behaves on model-generated GSM8K training examples.
Out-of-Scope Use
Do not use this release to claim general GSM8K accuracy, official test-set performance, human-validated reasoning quality, or that a state is useful, redundant, or safe to skip. The dataset contains only traces selected by correctness and structural-quality filters. Its examples are not independent of the GSM8K training split.
Dataset Structure
The repository stores each artifact run under a timestamped folder in runs/. The inspected release is runs/20261010T043425396959Z/ and contains:
- semantic_states.jsonl: 48 JSONL records, one per retained math problem and generated trace.
- semantic_state_metadata.json: schema, source file hashes, runtime/model configuration, and provenance.
- semantic_state_summary.json: inclusion, exclusion, state, token, and vector-dimension counts.
- state_vectors.npy: FP32 matrix with shape 1845 × 2560, one vector per retained state.
There are no train/validation/test splits in this release. Every included question came from GSM8K's original training split. Keep all states from a problem together when constructing later evaluation splits.
Each JSONL record contains:
- Problem/trace fields: schema_version, problem_id, trace_id, question, reference_answer, predicted_answer, is_correct, reasoning_trace, and state_count.
- State-quality fields: segmentation_valid and semantic_state_validation.
- states: an ordered array of semantic states, each with state_id, state_index, text, start_char, end_char, token_count, is_final_state, problem_id, and trace_id.
- Each state's representation object contains vector_index, vector_file, layer, resolved_layer_index, pooling, hidden_size, pooled_token_count, token_count, and trace/state identifiers.
- experiment_metadata: baseline generation and run metadata.
The state vector for a record is found by loading state_vectors.npy and selecting the row at representation.vector_index. In the uploaded copy, vector_file is the relative filename state_vectors.npy within the timestamped run folder. The vectors summarize Qwen hidden states; they are not labels or probabilities.
Dataset Creation
Curation Rationale
The dataset was assembled as an intermediate research resource for studying reasoning at the semantic-state level. It preserves links among a source question, its generated trace, contiguous trace spans, quality reports, and vector rows so downstream state-level analyses can be traced back to their original example.
Source Data
The source questions and reference solutions come from the main configuration of openai/gsm8k. The inspected run sampled 100 examples from the 7,473-row training split with seed 42. The official GSM8K test split was not used. The generated assistant traces were produced with Qwen/Qwen3-4B.
Data Collection and Processing
- Generate one response for each selected question using a fixed chain-of-thought prompt, thinking enabled, greedy decoding, and a maximum of 1,024 generated tokens.
- Save all 100 raw attempts, including truncated and failed-to-parse outputs, with token counts, completion reason, latency, memory metrics, and generation metadata.
- Score extracted final answers against GSM8K reference answers using normalized numeric exact match. Outputs stopped at the token cap are left unscored.
- Segment 66 completed, parseable, correct traces into ordered, contiguous text spans. State text is preserved with character offsets and Qwen tokenizer counts. A separately marked terminal answer is represented as the final state.
- Validate each whole state sequence. Exclude a trace if it has an error-level issue; retain long-state warnings for review.
- Extract one contextual mean-pooled final-layer vector per retained state and write vectors separately from the JSONL.
- Assemble the final records and verify that the state-to-vector index covers all matrix rows.
Measured counts for this release: 100 attempted generations; 67 reached EOS; 33 stopped at the token limit; 66 produced correct extracted answers; one EOS output had no extracted answer; 66 traces entered segmentation; 48 passed state-quality validation; 1,845 states and vectors are included. Thus all records in this curated release are correct by the selection rule; this does not mean model accuracy was 100%.
Generation and processing used Python 3.13.15, PyTorch 2.11.0+cu130, Transformers 5.18.0, Datasets 4.8.5, and a Colab Tesla T4 GPU. Model weights used FP16. The model and tokenizer snapshot was recorded as 1cfa9a7208912126459214e8b04321603b3df60c for representation extraction. The original baseline run did not record a resolved model revision, so the recovered representation revision should not be assumed to prove the exact baseline weight revision.
Who are the Source Data Producers?
The source math questions and solutions were created for GSM8K by the dataset's original contributors. The added reasoning traces were generated by Qwen3-4B. Semantic-state boundaries, correctness checks, and state-quality reports were produced by the project's software pipeline; no human annotator identities or demographic information are recorded.
Annotations
Annotation Process
The release contains programmatically extracted correctness fields, algorithmic semantic-state boundaries, and automatic quality-validation reports. Correctness is derived from final-answer comparison to the GSM8K reference answer. State boundaries follow the documented deterministic segmentation rules. The validator records issues but does not edit states. No human annotation round or inter-annotator agreement study is included.
Who are the Annotators?
No human annotators are recorded for this release. The added labels and state boundaries are software-generated. The underlying GSM8K annotation process is described by the original dataset authors.
Personal and Sensitive Information
The dataset contains math problems and model-generated text. No personal or sensitive information is expected in the released fields, but no dedicated privacy audit is documented. The dataset includes the original GSM8K problem and solution content; consult the upstream dataset terms.
Bias, Risks, and Limitations
- The sample is small: 48 retained problem/trace records. The 1,845 state vectors are nested within those 48 examples and are not 1,845 independent math problems.
- All questions come from the GSM8K training split. These results do not measure performance on the held-out GSM8K test split or other populations.
- Only completed, parseable, correct traces that pass state validation are included. This creates selection bias and removes many generation failures and incorrect answers from the final file.
- In the collection run, 33 of 100 outputs reached the 1,024-token cap; one additional EOS output had no extracted final answer.
- Segmentation is deterministic but heuristic. Exact offsets and structural checks do not show that boundaries match human judgments of reasoning units.
- The validation policy rejects states under three tokenizer tokens, requires at least two usable states per trace, and retains states over 512 tokens with a warning. Two retained traces have long-state warnings.
- The vectors encode hidden states from a specific model snapshot and extraction procedure. They are not directly comparable across models, revisions, layers, tokenizers, or pooling methods.
- No usefulness, redundancy, skip-safety, Black Hole, or Wormhole labels are present. No intervention experiment or token-saving result is included.
- Run metadata retains local source paths as provenance; those paths may not exist for users downloading the Hub copy. Use the relative vector filename and the bundled metadata hashes.
Recommendations
Use this release for pipeline development and exploratory analysis. Report the 48-problem selection and its filtering procedure. For evaluation, construct problem-level splits before analysis and keep every state from each problem in the same split. Do not report the curated dataset's all-correct composition as an accuracy estimate. Validate semantic boundaries and any future skip labels with separate experiments and human review where appropriate.
Citation
Please cite both the original GSM8K paper and this dataset repository. No PSSN paper citation is available yet.
BibTeX (GSM8K):
@article{cobbe2021training,
title={Training Verifiers to Solve Math Word Problems},
author={Cobbe, Karl and Kosaraju, Vineet and Bavarian, Mohammad and Chen, Mark and Jun, Heewoo and Kaiser, Lukasz and Plappert, Matthias and Tworek, Jerry and Hilton, Jacob and Nakano, Reiichiro and Hesse, Christopher and Schulman, John},
journal={arXiv preprint arXiv:2110.14168},
year={2021}
}
APA (GSM8K):
Cobbe, K., Kosaraju, V., Bavarian, M., Chen, M., Jun, H., Kaiser, L., Plappert, M., Tworek, J., Hilton, J., Nakano, R., Hesse, C., & Schulman, J. (2021). Training verifiers to solve math word problems. arXiv:2110.14168.
Glossary
- Trace: The complete generated assistant response for one question.
- Semantic state: A contiguous text span intended to represent one reasoning action or sub-goal.
- Final state: The distinct terminal-answer span, when an explicit final-answer marker is present. It is not simply any last reasoning step.
- Vector index: The row number linking a state to its vector in state_vectors.npy.
- Week-3-ready: A whole state sequence that passes the project's configured quality checks.
Dataset Card Authors
Prepared for the PSSN project. Hugging Face maintainer: ramitha2002. Individual author name and institutional affiliation were not provided.
Dataset Card Contact
Use the Hugging Face account ramitha2002 for dataset questions.
- Downloads last month
- 8