EtashGuha commited on
Commit
38d04a8
·
verified ·
1 Parent(s): dc2fe1c

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/a1_math_metamath.yaml +88 -92
config/a1_math_metamath.yaml CHANGED
@@ -244,95 +244,91 @@ operators:
244
  invalid_finish_reasons: ['content_filter']
245
  input_ids:
246
  - sample_dataset_pre
247
- # - id: decontaminate
248
- # config:
249
- # type: cpu_function
250
- # sharded: false
251
- # num_cpus: 32
252
- # function: data_strategies._A1_Source.utils.decontaminate_fuzzy_w_ngram
253
- # function_config:
254
- # column: instruction_seed
255
- # eval_datasets:
256
- # - HuggingFaceH4/MATH-500
257
- # - Maxwell-Jia/AIME_2024
258
- # - AI-MO/aimo-validation-amc
259
- # - livecodebench/code_generation_lite
260
- # - mlfoundations-dev/AIME2025_combined
261
- # - mlfoundations-dev/cais-hle-multipleChoice-noImage
262
- # - open-r1/codeforces
263
- # - Idavidrein/gpqa
264
- # - daman1209arora/jeebench\
265
- # eval_columns:
266
- # - problem
267
- # - Problem
268
- # - problem
269
- # - question_content
270
- # - question
271
- # - question
272
- # - description
273
- # - Question
274
- # - question
275
- # eval_splits:
276
- # - test
277
- # - train
278
- # - train
279
- # - test
280
- # - train
281
- # - test
282
- # - test
283
- # - train
284
- # - test
285
- # eval_subsets:
286
- # Idavidrein/gpqa: gpqa_diamond
287
- # similarity_threshold: 80.0
288
- # ngram_size: 13
289
- # input_ids:
290
- # - rename_task_column_final
291
- # - id: sample_dataset_final
292
- # config:
293
- # type: function
294
- # function: data_strategies.commons.uniform_sample_fixed
295
- # function_config:
296
- # num_samples: 31_600 # 1.25% of 10000 target from stage 1
297
- # input_ids:
298
- # - decontaminate
299
-
300
- # - id: annotate_r1
301
- # config:
302
- # type: completions
303
- # require_all_responses: False
304
- # map: deepseek_reasoner
305
- # map_config:
306
- # input_problem_column: instruction_seed
307
- # model: deepseek-reasoner
308
- # batch: false
309
- # temperature: 1.0
310
- # require_all_responses: false
311
- # backend: openai
312
- # backend_params:
313
- # max_requests_per_minute: 500
314
- # max_tokens_per_minute: 1_000_000_000
315
- # base_url: "https://api.deepseek.com/"
316
- # invalid_finish_reasons: ['content_filter']
317
- # input_ids:
318
- # - sample_dataset_final
319
- # - id: convert_reasoning_trace_to_final
320
- # config:
321
- # type: function
322
- # function: data_strategies.commons.convert_reasoning_trace_to_final
323
- # function_config:
324
- # reasoning_column: reasoning
325
- # solution_column: deepseek_solution
326
- # output_column: final_reasoning_trace
327
- # input_ids:
328
- # - annotate_r1
329
- # - id: convert_to_sharegpt
330
- # config:
331
- # type: function
332
- # function: data_strategies.commons.convert_instruction_response_to_sharegpt
333
- # function_config:
334
- # input_instruction_column: instruction_seed
335
- # input_response_column: final_reasoning_trace
336
- # output_sharegpt_column: conversations
337
- # input_ids:
338
- # - convert_reasoning_trace_to_final
 
244
  invalid_finish_reasons: ['content_filter']
245
  input_ids:
246
  - sample_dataset_pre
247
+ - id: add_source_name
248
+ config:
249
+ type: function
250
+ function: data_strategies.commons.add_constant_columns
251
+ function_config:
252
+ source: "MetaMath"
253
+ input_ids:
254
+ - annotate_r1
255
+ - id: decontaminate
256
+ config:
257
+ type: cpu_function
258
+ sharded: false
259
+ num_cpus: 32
260
+ function: data_strategies._A1_Source.utils.decontaminate_fuzzy_w_ngram
261
+ function_config:
262
+ column: instruction_seed
263
+ eval_datasets:
264
+ - HuggingFaceH4/MATH-500
265
+ - Maxwell-Jia/AIME_2024
266
+ - AI-MO/aimo-validation-amc
267
+ - livecodebench/code_generation_lite
268
+ - mlfoundations-dev/AIME2025_combined
269
+ - cais/hle
270
+ - open-r1/codeforces
271
+ - Idavidrein/gpqa
272
+ - daman1209arora/jeebench
273
+ - mlfoundations-dev/mmlu_pro_eval_full
274
+ - Qwen/CodeElo
275
+ - open-r1/ioi
276
+ eval_columns:
277
+ - problem
278
+ - Problem
279
+ - problem
280
+ - question_content
281
+ - question
282
+ - question
283
+ - description
284
+ - Question
285
+ - question
286
+ - prompt
287
+ - description
288
+ - statement
289
+ eval_splits:
290
+ - test
291
+ - train
292
+ - train
293
+ - test
294
+ - train
295
+ - test
296
+ - test
297
+ - train
298
+ - test
299
+ - test
300
+ - test
301
+ - test
302
+ eval_subsets:
303
+ Idavidrein/gpqa: gpqa_diamond
304
+ similarity_threshold: 75.0
305
+ ngram_size: 13
306
+ input_ids:
307
+ - add_source_name
308
+ - id: sample_dataset
309
+ config:
310
+ type: function
311
+ function: data_strategies.commons.uniform_sample_limited
312
+ function_config:
313
+ num_samples: 31_600 # 1.25% of 10000 target from stage 1
314
+ input_ids: ["decontaminate"]
315
+ - id: convert_reasoning_trace_to_final
316
+ config:
317
+ type: function
318
+ function: data_strategies.commons.convert_reasoning_trace_to_final
319
+ function_config:
320
+ reasoning_column: reasoning
321
+ solution_column: deepseek_solution
322
+ output_column: final_reasoning_trace
323
+ input_ids:
324
+ - sample_dataset
325
+ - id: convert_to_sharegpt
326
+ config:
327
+ type: function
328
+ function: data_strategies.commons.convert_instruction_response_to_sharegpt
329
+ function_config:
330
+ input_instruction_column: instruction_seed
331
+ input_response_column: final_reasoning_trace
332
+ output_sharegpt_column: conversations
333
+ input_ids:
334
+ - convert_reasoning_trace_to_final