Upload configuration file
Browse files- config/a1_math_metamath_aime.yaml +100 -99
config/a1_math_metamath_aime.yaml
CHANGED
|
@@ -42,6 +42,7 @@ operators:
|
|
| 42 |
detailed_answer_column: detailed_answer
|
| 43 |
output_numerical_answer_column: answer
|
| 44 |
model: gpt-4o-mini
|
|
|
|
| 45 |
input_ids:
|
| 46 |
- rename_column_math
|
| 47 |
|
|
@@ -61,114 +62,114 @@ operators:
|
|
| 61 |
input_ids:
|
| 62 |
- extract_math_answer
|
| 63 |
|
| 64 |
-
- id: add_column_math
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
|
| 73 |
-
- id: generate_backward_questions
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
|
| 86 |
-
- id: self_verify
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
|
| 98 |
-
- id: fobar
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
|
| 105 |
-
- id: solve_inverse_questions
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
|
| 119 |
-
- id: rename_columns_inverse
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
|
| 130 |
-
- id: rephrase_questions
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
|
| 142 |
-
- id: solve_rephrased_questions
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
|
| 155 |
-
- id: rename_columns_rephrased
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
|
| 166 |
-
- id: mix_rephrased_and_inverse
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
|
| 173 |
# - id: keep_prompt_and_completion
|
| 174 |
# config:
|
|
|
|
| 42 |
detailed_answer_column: detailed_answer
|
| 43 |
output_numerical_answer_column: answer
|
| 44 |
model: gpt-4o-mini
|
| 45 |
+
n_repeat: 2
|
| 46 |
input_ids:
|
| 47 |
- rename_column_math
|
| 48 |
|
|
|
|
| 62 |
input_ids:
|
| 63 |
- extract_math_answer
|
| 64 |
|
| 65 |
+
# - id: add_column_math
|
| 66 |
+
# config:
|
| 67 |
+
# type: function
|
| 68 |
+
# function: data_strategies.commons.add_constant_columns
|
| 69 |
+
# function_config:
|
| 70 |
+
# dataset: math
|
| 71 |
+
# input_ids:
|
| 72 |
+
# - generate_math_problems
|
| 73 |
|
| 74 |
+
# - id: generate_backward_questions
|
| 75 |
+
# config:
|
| 76 |
+
# type: completions
|
| 77 |
+
# require_all_responses: False
|
| 78 |
+
# map: metamath_inverse_question
|
| 79 |
+
# map_config:
|
| 80 |
+
# question_column: question
|
| 81 |
+
# output_inverse_question_column: inverse_question
|
| 82 |
+
# output_inverse_answer_column: inverse_answer
|
| 83 |
+
# model: gpt-4o-mini
|
| 84 |
+
# input_ids:
|
| 85 |
+
# - add_column_math
|
| 86 |
|
| 87 |
+
# - id: self_verify
|
| 88 |
+
# config:
|
| 89 |
+
# type: completions
|
| 90 |
+
# require_all_responses: False
|
| 91 |
+
# map: metamath_self_verification
|
| 92 |
+
# map_config:
|
| 93 |
+
# question_column: inverse_question
|
| 94 |
+
# answer_column: answer
|
| 95 |
+
# model: gpt-4o-mini
|
| 96 |
+
# input_ids:
|
| 97 |
+
# - generate_backward_questions
|
| 98 |
|
| 99 |
+
# - id: fobar
|
| 100 |
+
# config:
|
| 101 |
+
# type: function
|
| 102 |
+
# function: data_strategies.MetaMath.utils.fobar
|
| 103 |
+
# input_ids:
|
| 104 |
+
# - generate_backward_questions
|
| 105 |
|
| 106 |
+
# - id: solve_inverse_questions
|
| 107 |
+
# config:
|
| 108 |
+
# type: completions
|
| 109 |
+
# require_all_responses: False
|
| 110 |
+
# map: metamath_solve_inverse
|
| 111 |
+
# map_config:
|
| 112 |
+
# inverse_question_column: inverse_question
|
| 113 |
+
# inverse_answer_column: inverse_answer
|
| 114 |
+
# output_predicted_answer_column: predicted_answer
|
| 115 |
+
# model: gpt-4o-mini
|
| 116 |
+
# input_ids:
|
| 117 |
+
# - self_verify
|
| 118 |
+
# - fobar
|
| 119 |
|
| 120 |
+
# - id: rename_columns_inverse
|
| 121 |
+
# config:
|
| 122 |
+
# type: function
|
| 123 |
+
# function: data_strategies.commons.force_rename_columns
|
| 124 |
+
# function_config:
|
| 125 |
+
# column_maps:
|
| 126 |
+
# inverse_question: instruction
|
| 127 |
+
# predicted_answer: completion
|
| 128 |
+
# input_ids:
|
| 129 |
+
# - solve_inverse_questions
|
| 130 |
|
| 131 |
+
# - id: rephrase_questions
|
| 132 |
+
# config:
|
| 133 |
+
# type: completions
|
| 134 |
+
# require_all_responses: False
|
| 135 |
+
# map: metamath_rephrase_question
|
| 136 |
+
# map_config:
|
| 137 |
+
# question_column: question
|
| 138 |
+
# output_rephrased_question_column: rephrased_question
|
| 139 |
+
# model: gpt-4o-mini
|
| 140 |
+
# input_ids:
|
| 141 |
+
# - add_column_math
|
| 142 |
|
| 143 |
+
# - id: solve_rephrased_questions
|
| 144 |
+
# config:
|
| 145 |
+
# type: completions
|
| 146 |
+
# require_all_responses: False
|
| 147 |
+
# map: metamath_solve_rephrased
|
| 148 |
+
# map_config:
|
| 149 |
+
# rephrased_question_column: rephrased_question
|
| 150 |
+
# answer_column: answer
|
| 151 |
+
# output_predicted_answer_column: predicted_answer
|
| 152 |
+
# model: gpt-4o-mini
|
| 153 |
+
# input_ids:
|
| 154 |
+
# - rephrase_questions
|
| 155 |
|
| 156 |
+
# - id: rename_columns_rephrased
|
| 157 |
+
# config:
|
| 158 |
+
# type: function
|
| 159 |
+
# function: data_strategies.commons.force_rename_columns
|
| 160 |
+
# function_config:
|
| 161 |
+
# column_maps:
|
| 162 |
+
# rephrased_question: instruction
|
| 163 |
+
# predicted_answer: completion
|
| 164 |
+
# input_ids:
|
| 165 |
+
# - solve_rephrased_questions
|
| 166 |
|
| 167 |
+
# - id: mix_rephrased_and_inverse
|
| 168 |
+
# config:
|
| 169 |
+
# type: mix
|
| 170 |
+
# input_ids:
|
| 171 |
+
# - rename_columns_inverse
|
| 172 |
+
# - rename_columns_rephrased
|
| 173 |
|
| 174 |
# - id: keep_prompt_and_completion
|
| 175 |
# config:
|