zsprague commited on
Commit
76a47c1
·
verified ·
1 Parent(s): 980a28c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +107 -173
README.md CHANGED
@@ -1,175 +1,109 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: question
5
- dtype: string
6
- - name: metadata
7
- dtype: string
8
- - name: task_source
9
- dtype: string
10
- - name: formatted_prompt
11
- list:
12
- - name: content
13
- dtype: string
14
- - name: role
15
- dtype: string
16
- - name: response
17
- list: string
18
- - name: formatted_prompt__metadata
19
- list:
20
- - name: endpoint_type
21
- dtype: string
22
- - name: litellm_function
23
- dtype: string
24
- - name: model
25
- dtype: string
26
- - name: raw_prompt
27
- list:
28
- - name: content
29
- dtype: string
30
- - name: role
31
- dtype: string
32
- - name: raw_system_prompt
33
- dtype: 'null'
34
- - name: request_payload
35
- struct:
36
- - name: api_base
37
- dtype: string
38
- - name: extra_body
39
- struct:
40
- - name: chat_template_kwargs
41
- struct:
42
- - name: enable_thinking
43
- dtype: bool
44
- - name: max_tokens
45
- dtype: int64
46
- - name: messages
47
- list:
48
- - name: content
49
- dtype: string
50
- - name: role
51
- dtype: string
52
- - name: model
53
- dtype: string
54
- - name: stream
55
- dtype: bool
56
- - name: temperature
57
- dtype: float64
58
- - name: timeout
59
- dtype: float64
60
- - name: top_p
61
- dtype: float64
62
- - name: response__metadata
63
- list:
64
- - name: cost
65
- dtype: float64
66
- - name: finish_reason
67
- dtype: string
68
- - name: input_tokens
69
- dtype: int64
70
- - name: model
71
- dtype: string
72
- - name: output_tokens
73
- dtype: int64
74
- - name: raw_response
75
- struct:
76
- - name: choices
77
- list:
78
- - name: finish_reason
79
- dtype: string
80
- - name: index
81
- dtype: int64
82
- - name: message
83
- struct:
84
- - name: content
85
- dtype: string
86
- - name: function_call
87
- dtype: 'null'
88
- - name: provider_specific_fields
89
- struct:
90
- - name: reasoning
91
- dtype: 'null'
92
- - name: refusal
93
- dtype: 'null'
94
- - name: role
95
- dtype: string
96
- - name: tool_calls
97
- dtype: 'null'
98
- - name: provider_specific_fields
99
- struct:
100
- - name: seed
101
- dtype: 'null'
102
- - name: created
103
- dtype: int64
104
- - name: id
105
- dtype: string
106
- - name: metadata
107
- struct:
108
- - name: weight_version
109
- dtype: string
110
- - name: model
111
- dtype: string
112
- - name: object
113
- dtype: string
114
- - name: prompt
115
- list: 'null'
116
- - name: service_tier
117
- dtype: 'null'
118
- - name: system_fingerprint
119
- dtype: 'null'
120
- - name: usage
121
- struct:
122
- - name: completion_tokens
123
- dtype: int64
124
- - name: completion_tokens_details
125
- dtype: 'null'
126
- - name: prompt_tokens
127
- dtype: int64
128
- - name: prompt_tokens_details
129
- dtype: 'null'
130
- - name: total_tokens
131
- dtype: int64
132
- - name: warnings
133
- list:
134
- - name: message
135
- dtype: string
136
- - name: response__extractions
137
- list:
138
- list: string
139
- - name: response__extractions_metadata
140
- list:
141
- list:
142
- - name: end_index
143
- dtype: int64
144
- - name: end_phrase
145
- dtype: string
146
- - name: start_index
147
- dtype: int64
148
- - name: start_phrase
149
- dtype: string
150
- - name: eval_correct
151
- list:
152
- list: bool
153
- - name: eval_correct__metadata
154
- list:
155
- list:
156
- - name: answer_block
157
- dtype: string
158
- - name: error
159
- dtype: string
160
- - name: final_answer
161
- dtype: float64
162
- - name: is_correct
163
- dtype: bool
164
- splits:
165
- - name: train
166
- num_bytes: 306524
167
- num_examples: 10
168
- download_size: 139005
169
- dataset_size: 306524
170
- configs:
171
- - config_name: default
172
- data_files:
173
- - split: train
174
- path: data/train-*
175
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ tags:
4
+ - t1_synthesize_knowledge
5
+ - structured_reasoning
6
+ - countdown
7
+ - comparison
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
+
10
+ # t1-structured-reasoning-full-kimi-k2-instruct-0905
11
+
12
+ Structured reasoning evaluation: instead of injecting synthesized facts, this uses a
13
+ **static system prompt** that teaches the model a heuristic search FORMAT with explicit
14
+ structural markers ([STEP], [PRUNE], [BACKTRACK], [REVIEW OPTIONS], [SOLUTION FOUND]).
15
+
16
+ Inspired by HandCraftedCountdownSearch — models SFT'd on structured search traces
17
+ significantly outperform free-form CoT. This tests whether prompt-time format instruction
18
+ alone can capture some of that benefit.
19
+
20
+ ## Performance Comparison
21
+
22
+ ![Comparison Chart](figures/comparison_chart.png)
23
+
24
+ | Metric | Base | Structured | Delta |
25
+ |--------|------|------------|-------|
26
+ | pass@1 | 0.9000 (90.0%) | 0.3000 (30.0%) | -0.6000 (-60.0%) |
27
+
28
+
29
+ ## Experimental Details
30
+
31
+ | Parameter | Value |
32
+ |-----------|-------|
33
+ | Inference model | `together_ai/moonshotai/Kimi-K2-Instruct-0905` |
34
+ | Prompt style | `full` |
35
+ | Temperature | 0.7 |
36
+ | Top-p | 0.95 |
37
+ | Max tokens | 65536 |
38
+ | Samples per problem | 1 |
39
+ | Enable thinking | True |
40
+ | Total problems | 10 |
41
+ | Base eval source | `t1-base-eval-together_ai-qwen-qwen3-235b-a22b-thinkin-12arg` |
42
+
43
+ ## System Prompt Used (full style)
44
+
45
+ ```
46
+ You are solving a countdown arithmetic problem. You must find an expression using the given numbers (each exactly once) that equals the target.
47
+
48
+ REASON USING STRUCTURED HEURISTIC SEARCH. Do not just guess — systematically search for the answer using the format below. This is critical: use the exact markers shown to organize your reasoning.
49
+
50
+ === REASONING FORMAT ===
51
+
52
+ Use these markers to structure every step of your thinking:
53
+
54
+ [STEP N: COMBINE] — Try combining two numbers with an operation. Show: a OP b = result. State remaining numbers and how far from target.
55
+
56
+ [PRUNE] — BEFORE trying an operation, check if it's useful. Skip it if:
57
+ - Division doesn't produce an integer
58
+ - The result moves AWAY from target (current < target? don't subtract/divide. current > target? don't add/multiply)
59
+ Say what you're skipping and why.
60
+
61
+ [BACKTRACK] — Current path is stuck or getting worse. State why (too high? too low? no numbers left?) and go back to try a different combination.
62
+
63
+ [REVIEW OPTIONS] — When stuck, list ALL remaining possible combinations, score each by |result - target|, and pick the best one to try next.
64
+
65
+ [SOLUTION FOUND] — You hit the target! Verify: recompute the expression, confirm each number is used exactly once, then give the answer.
66
+
67
+ === KEY HEURISTIC ===
68
+
69
+ DIRECTIONAL SEARCH: At every step, check if your current value is above or below the target.
70
+ - Below target → only try + and * (go UP)
71
+ - Above target → only try - and / (go DOWN)
72
+ This cuts your search space in half and prevents wasted exploration.
73
+
74
+ === WORKED EXAMPLE ===
75
+
76
+ Target: 23, Numbers: [4, 7, 3]
77
+
78
+ [STEP 1: COMBINE]
79
+ Let me scan first moves. Best candidates by closeness to 23:
80
+ 4 * 7 = 28 (distance 5) ← closest
81
+ 4 + 7 = 11 (distance 12)
82
+ 7 * 3 = 21 (distance 2) ← very close!
83
+ 7 + 3 = 10 (distance 13)
84
+ Try: 7 * 3 = 21. Remaining: [4]. Current: 21, need 23.
85
+
86
+ [STEP 2: COMBINE]
87
+ Current 21 < target 23, so only try + and *.
88
+ 21 + 4 = 25 (distance 2)
89
+ 21 * 4 = 84 (distance 61)
90
+ [PRUNE] 21 * 4 = 84 — way t...
91
+ ```
92
+
93
+ ## Dataset Info
94
+
95
+ - **Rows**: Structured reasoning evaluation results (one row per problem)
96
+ - **Columns**: question, metadata, task_source, formatted_prompt, response, eval_correct, and associated metadata
97
+
98
+ ## Usage
99
+
100
+ ```python
101
+ from datasets import load_dataset
102
+
103
+ dataset = load_dataset("reasoning-degeneration-dev/t1-structured-reasoning-full-kimi-k2-instruct-0905", split="train")
104
+ print(f"Loaded {len(dataset)} rows")
105
+ ```
106
+
107
+ ---
108
+
109
+ *This dataset is tracked in [reasoning-degeneration-dev/PROJECT-MANIFEST](https://huggingface.co/datasets/reasoning-degeneration-dev/PROJECT-MANIFEST)*