Upload configuration file
Browse files
config/herorun1_code_combine.yaml
CHANGED
|
@@ -51,95 +51,34 @@ operators:
|
|
| 51 |
- load_hf_150K_250K
|
| 52 |
- load_hf_250K_350K
|
| 53 |
- load_hf_350K_450K
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
# - fuzzy_dedup
|
| 86 |
-
# - id: drop_columns
|
| 87 |
-
# config:
|
| 88 |
-
# type: function
|
| 89 |
-
# function: data_strategies.commons.keep_only_columns
|
| 90 |
-
# function_config:
|
| 91 |
-
# columns_to_keep:
|
| 92 |
-
# - instruction_seed
|
| 93 |
-
# - final_reasoning_trace
|
| 94 |
-
# input_ids:
|
| 95 |
-
# - convert_reasoning_trace_to_final
|
| 96 |
-
# - id: merge_together
|
| 97 |
-
# config:
|
| 98 |
-
# type: generic_resource_function
|
| 99 |
-
# memory: 500
|
| 100 |
-
# num_cpus: 80
|
| 101 |
-
# function: data_strategies.TestTime.generator.merge_duplicate_rows
|
| 102 |
-
# function_config:
|
| 103 |
-
# diff_columns:
|
| 104 |
-
# - final_reasoning_trace
|
| 105 |
-
# input_ids:
|
| 106 |
-
# - drop_columns
|
| 107 |
-
|
| 108 |
-
# - id: majority_gpt_verification
|
| 109 |
-
# config:
|
| 110 |
-
# type: completions
|
| 111 |
-
# map: math_same
|
| 112 |
-
# map_config:
|
| 113 |
-
# response_column: final_reasoning_trace
|
| 114 |
-
# math_column: final_reasoning_trace
|
| 115 |
-
# question_column: instruction_seed
|
| 116 |
-
# output_column: correct_majority_indices
|
| 117 |
-
# ending_characters: 1000
|
| 118 |
-
# num_responses: 3
|
| 119 |
-
# require_all_responses: False
|
| 120 |
-
# model: gpt-4o-mini
|
| 121 |
-
# temperature: 1.0
|
| 122 |
-
# input_ids:
|
| 123 |
-
# - merge_together
|
| 124 |
-
# - id: majority_gpt_verification_extraction
|
| 125 |
-
# config:
|
| 126 |
-
# type: function
|
| 127 |
-
# function: data_strategies.MultipleSamples.utils.code_same_verification
|
| 128 |
-
# function_config:
|
| 129 |
-
# verification_column: correct_majority_indices
|
| 130 |
-
# code_answers_column: final_reasoning_trace
|
| 131 |
-
# output_column: verified_final_reasoning_trace
|
| 132 |
-
# input_ids:
|
| 133 |
-
# - majority_gpt_verification
|
| 134 |
-
# - id: convert_to_sharegpt
|
| 135 |
-
# config:
|
| 136 |
-
# type: function
|
| 137 |
-
# function: data_strategies.commons.convert_instruction_response_to_sharegpt
|
| 138 |
-
# function_config:
|
| 139 |
-
# input_instruction_column: instruction_seed
|
| 140 |
-
# input_response_column: verified_final_reasoning_trace
|
| 141 |
-
# output_sharegpt_column: conversations
|
| 142 |
-
# input_ids:
|
| 143 |
-
# - majority_gpt_verification_extraction
|
| 144 |
-
|
| 145 |
-
|
|
|
|
| 51 |
- load_hf_150K_250K
|
| 52 |
- load_hf_250K_350K
|
| 53 |
- load_hf_350K_450K
|
| 54 |
+
- id: fuzzy_dedup
|
| 55 |
+
config:
|
| 56 |
+
type: cpu_function
|
| 57 |
+
num_cpus: 80
|
| 58 |
+
function: data_strategies.DeepSeekR1.utils.fuzzy_dedup
|
| 59 |
+
function_config:
|
| 60 |
+
column: problem
|
| 61 |
+
similarity_threshold: 95.0
|
| 62 |
+
input_ids:
|
| 63 |
+
- convert_reasoning_trace_to_final
|
| 64 |
+
- id: convert_to_sharegpt
|
| 65 |
+
config:
|
| 66 |
+
type: function
|
| 67 |
+
function: data_strategies.commons.convert_instruction_response_to_sharegpt
|
| 68 |
+
function_config:
|
| 69 |
+
input_instruction_column: problem
|
| 70 |
+
input_response_column: final_reasoning_trace
|
| 71 |
+
output_sharegpt_column: conversations
|
| 72 |
+
input_ids:
|
| 73 |
+
- fuzzy_dedup
|
| 74 |
+
- id: drop_columns
|
| 75 |
+
config:
|
| 76 |
+
type: function
|
| 77 |
+
function: data_strategies.commons.keep_only_columns
|
| 78 |
+
function_config:
|
| 79 |
+
columns_to_keep:
|
| 80 |
+
- conversations
|
| 81 |
+
- source
|
| 82 |
+
- id
|
| 83 |
+
input_ids:
|
| 84 |
+
- convert_to_sharegpt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|