EtashGuha commited on
Commit
89d7c1e
·
verified ·
1 Parent(s): c4bfed7

Upload configuration file

Browse files
Files changed (1) hide show
  1. 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
- config:
66
- type: function
67
- function: data_strategies.commons.add_constant_columns
68
- function_config:
69
- dataset: math
70
- input_ids:
71
- - generate_math_problems
72
 
73
- - id: generate_backward_questions
74
- config:
75
- type: completions
76
- require_all_responses: False
77
- map: metamath_inverse_question
78
- map_config:
79
- question_column: question
80
- output_inverse_question_column: inverse_question
81
- output_inverse_answer_column: inverse_answer
82
- model: gpt-4o-mini
83
- input_ids:
84
- - add_column_math
85
 
86
- - id: self_verify
87
- config:
88
- type: completions
89
- require_all_responses: False
90
- map: metamath_self_verification
91
- map_config:
92
- question_column: inverse_question
93
- answer_column: answer
94
- model: gpt-4o-mini
95
- input_ids:
96
- - generate_backward_questions
97
 
98
- - id: fobar
99
- config:
100
- type: function
101
- function: data_strategies.MetaMath.utils.fobar
102
- input_ids:
103
- - generate_backward_questions
104
 
105
- - id: solve_inverse_questions
106
- config:
107
- type: completions
108
- require_all_responses: False
109
- map: metamath_solve_inverse
110
- map_config:
111
- inverse_question_column: inverse_question
112
- inverse_answer_column: inverse_answer
113
- output_predicted_answer_column: predicted_answer
114
- model: gpt-4o-mini
115
- input_ids:
116
- - self_verify
117
- - fobar
118
 
119
- - id: rename_columns_inverse
120
- config:
121
- type: function
122
- function: data_strategies.commons.force_rename_columns
123
- function_config:
124
- column_maps:
125
- inverse_question: instruction
126
- predicted_answer: completion
127
- input_ids:
128
- - solve_inverse_questions
129
 
130
- - id: rephrase_questions
131
- config:
132
- type: completions
133
- require_all_responses: False
134
- map: metamath_rephrase_question
135
- map_config:
136
- question_column: question
137
- output_rephrased_question_column: rephrased_question
138
- model: gpt-4o-mini
139
- input_ids:
140
- - add_column_math
141
 
142
- - id: solve_rephrased_questions
143
- config:
144
- type: completions
145
- require_all_responses: False
146
- map: metamath_solve_rephrased
147
- map_config:
148
- rephrased_question_column: rephrased_question
149
- answer_column: answer
150
- output_predicted_answer_column: predicted_answer
151
- model: gpt-4o-mini
152
- input_ids:
153
- - rephrase_questions
154
 
155
- - id: rename_columns_rephrased
156
- config:
157
- type: function
158
- function: data_strategies.commons.force_rename_columns
159
- function_config:
160
- column_maps:
161
- rephrased_question: instruction
162
- predicted_answer: completion
163
- input_ids:
164
- - solve_rephrased_questions
165
 
166
- - id: mix_rephrased_and_inverse
167
- config:
168
- type: mix
169
- input_ids:
170
- - rename_columns_inverse
171
- - rename_columns_rephrased
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: