Upload configuration file
Browse files
config/herorun1_code_combine.yaml
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
|
| 3 |
+
- id: load_hf_0K_25K
|
| 4 |
+
config:
|
| 5 |
+
type: hf_source
|
| 6 |
+
dataset: mlfoundations-dev/herorun1_code_0-25000
|
| 7 |
+
split: train
|
| 8 |
+
- id: load_hf_25K_30K
|
| 9 |
+
config:
|
| 10 |
+
type: hf_source
|
| 11 |
+
dataset: mlfoundations-dev/herorun1_code-test_25K_30K
|
| 12 |
+
split: train
|
| 13 |
+
- id: load_hf_50K_150K
|
| 14 |
+
config:
|
| 15 |
+
type: hf_source
|
| 16 |
+
dataset: mlfoundations-dev/herorun1_code-test_50k_150K
|
| 17 |
+
split: train
|
| 18 |
+
- id: load_hf_150K_250K
|
| 19 |
+
config:
|
| 20 |
+
type: hf_source
|
| 21 |
+
dataset: mlfoundations-dev/herorun1_code-test_150K_250K
|
| 22 |
+
split: train
|
| 23 |
+
- id: load_hf_350K_450K
|
| 24 |
+
config:
|
| 25 |
+
type: hf_source
|
| 26 |
+
dataset: mlfoundations-dev/herorun1_code-test_350K_450K
|
| 27 |
+
split: train
|
| 28 |
+
- id: load_hf_250K_350K
|
| 29 |
+
config:
|
| 30 |
+
type: hf_source
|
| 31 |
+
dataset: mlfoundations-dev/herorun1_code-test_250K_350K
|
| 32 |
+
split: train
|
| 33 |
+
- id: convert_reasoning_trace_to_final
|
| 34 |
+
config:
|
| 35 |
+
type: function
|
| 36 |
+
function: data_strategies.commons.convert_reasoning_trace_to_final
|
| 37 |
+
function_config:
|
| 38 |
+
reasoning_column: deepseek_reasoning
|
| 39 |
+
solution_column: deepseek_solution
|
| 40 |
+
output_column: final_reasoning_trace
|
| 41 |
+
input_ids:
|
| 42 |
+
- load_hf_0K_25K
|
| 43 |
+
- load_hf_25K_30K
|
| 44 |
+
- load_hf_50K_150K
|
| 45 |
+
- load_hf_150K_250K
|
| 46 |
+
- load_hf_250K_350K
|
| 47 |
+
- load_hf_350K_450K
|
| 48 |
+
|
| 49 |
+
# - id: drop_columns
|
| 50 |
+
# config:
|
| 51 |
+
# type: function
|
| 52 |
+
# function: data_strategies.commons.keep_only_columns
|
| 53 |
+
# function_config:
|
| 54 |
+
# columns_to_keep:
|
| 55 |
+
# - instruction_seed
|
| 56 |
+
# - final_reasoning_trace
|
| 57 |
+
# input_ids:
|
| 58 |
+
# - convert_reasoning_trace_to_final
|
| 59 |
+
# - id: merge_together
|
| 60 |
+
# config:
|
| 61 |
+
# type: generic_resource_function
|
| 62 |
+
# memory: 500
|
| 63 |
+
# num_cpus: 80
|
| 64 |
+
# function: data_strategies.TestTime.generator.merge_duplicate_rows
|
| 65 |
+
# function_config:
|
| 66 |
+
# diff_columns:
|
| 67 |
+
# - final_reasoning_trace
|
| 68 |
+
# input_ids:
|
| 69 |
+
# - drop_columns
|
| 70 |
+
|
| 71 |
+
# - id: majority_gpt_verification
|
| 72 |
+
# config:
|
| 73 |
+
# type: completions
|
| 74 |
+
# map: math_same
|
| 75 |
+
# map_config:
|
| 76 |
+
# response_column: final_reasoning_trace
|
| 77 |
+
# math_column: final_reasoning_trace
|
| 78 |
+
# question_column: instruction_seed
|
| 79 |
+
# output_column: correct_majority_indices
|
| 80 |
+
# ending_characters: 1000
|
| 81 |
+
# num_responses: 3
|
| 82 |
+
# require_all_responses: False
|
| 83 |
+
# model: gpt-4o-mini
|
| 84 |
+
# temperature: 1.0
|
| 85 |
+
# input_ids:
|
| 86 |
+
# - merge_together
|
| 87 |
+
# - id: majority_gpt_verification_extraction
|
| 88 |
+
# config:
|
| 89 |
+
# type: function
|
| 90 |
+
# function: data_strategies.MultipleSamples.utils.code_same_verification
|
| 91 |
+
# function_config:
|
| 92 |
+
# verification_column: correct_majority_indices
|
| 93 |
+
# code_answers_column: final_reasoning_trace
|
| 94 |
+
# output_column: verified_final_reasoning_trace
|
| 95 |
+
# input_ids:
|
| 96 |
+
# - majority_gpt_verification
|
| 97 |
+
# - id: convert_to_sharegpt
|
| 98 |
+
# config:
|
| 99 |
+
# type: function
|
| 100 |
+
# function: data_strategies.commons.convert_instruction_response_to_sharegpt
|
| 101 |
+
# function_config:
|
| 102 |
+
# input_instruction_column: instruction_seed
|
| 103 |
+
# input_response_column: verified_final_reasoning_trace
|
| 104 |
+
# output_sharegpt_column: conversations
|
| 105 |
+
# input_ids:
|
| 106 |
+
# - majority_gpt_verification_extraction
|
| 107 |
+
|
| 108 |
+
|