Upload configuration file
Browse files
config/a1_math_automathtext.yaml
CHANGED
|
@@ -139,3 +139,30 @@ operators:
|
|
| 139 |
ngram_size: 13
|
| 140 |
input_ids:
|
| 141 |
- add_source_name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
ngram_size: 13
|
| 140 |
input_ids:
|
| 141 |
- add_source_name
|
| 142 |
+
- id: sample_dataset_final
|
| 143 |
+
config:
|
| 144 |
+
type: function
|
| 145 |
+
function: data_strategies.commons.uniform_sample_limited
|
| 146 |
+
function_config:
|
| 147 |
+
num_samples: 31_600 # 1.25% of 10000 target from stage 1
|
| 148 |
+
input_ids: ["decontaminate"]
|
| 149 |
+
- id: convert_reasoning_trace_to_final
|
| 150 |
+
config:
|
| 151 |
+
type: function
|
| 152 |
+
function: data_strategies.commons.convert_reasoning_trace_to_final
|
| 153 |
+
function_config:
|
| 154 |
+
reasoning_column: reasoning
|
| 155 |
+
solution_column: deepseek_solution
|
| 156 |
+
output_column: final_reasoning_trace
|
| 157 |
+
input_ids:
|
| 158 |
+
- sample_dataset_final
|
| 159 |
+
- id: convert_to_sharegpt
|
| 160 |
+
config:
|
| 161 |
+
type: function
|
| 162 |
+
function: data_strategies.commons.convert_instruction_response_to_sharegpt
|
| 163 |
+
function_config:
|
| 164 |
+
input_instruction_column: instruction_seed
|
| 165 |
+
input_response_column: final_reasoning_trace
|
| 166 |
+
output_sharegpt_column: conversations
|
| 167 |
+
input_ids:
|
| 168 |
+
- convert_reasoning_trace_to_final
|