Upload configuration file
Browse files
config/multiple_samples_ground_truth_openr1_clean.yaml
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: load_preexisting
|
| 3 |
+
config:
|
| 4 |
+
type: load_preexisting
|
| 5 |
+
framework_name: base_open_r1_clean
|
| 6 |
+
- id: expand_generation
|
| 7 |
+
config:
|
| 8 |
+
type: function
|
| 9 |
+
function: data_strategies.OpenR1_MultipleSamples.utils.apply_expand_generation
|
| 10 |
+
input_ids:
|
| 11 |
+
- load_preexisting
|
| 12 |
+
- id: remove_columns
|
| 13 |
+
config:
|
| 14 |
+
type: function
|
| 15 |
+
function: data_strategies.commons.remove_columns
|
| 16 |
+
function_config:
|
| 17 |
+
columns:
|
| 18 |
+
- generations
|
| 19 |
+
input_ids:
|
| 20 |
+
- expand_generation
|
| 21 |
+
- id: dedup_topics
|
| 22 |
+
config:
|
| 23 |
+
type: function
|
| 24 |
+
function: data_strategies.commons.dedup_on_columns_fix
|
| 25 |
+
function_config:
|
| 26 |
+
dedup_columns:
|
| 27 |
+
- problem
|
| 28 |
+
input_ids:
|
| 29 |
+
- load_preexisting
|
| 30 |
+
- id: select_rows_without_proof
|
| 31 |
+
config:
|
| 32 |
+
type: function
|
| 33 |
+
sharded: true
|
| 34 |
+
num_shards: 10
|
| 35 |
+
function: data_strategies.commons.select_rows_without
|
| 36 |
+
function_config:
|
| 37 |
+
conditions:
|
| 38 |
+
answer: "proof"
|
| 39 |
+
input_ids:
|
| 40 |
+
- dedup_topics
|
| 41 |
+
- id: merge_together
|
| 42 |
+
config:
|
| 43 |
+
type: high_memory_function
|
| 44 |
+
memory: 500
|
| 45 |
+
function: data_strategies.TestTime.generator.merge_duplicate_rows
|
| 46 |
+
function_config:
|
| 47 |
+
diff_columns:
|
| 48 |
+
- generation
|
| 49 |
+
- correct
|
| 50 |
+
- judge_reasoning
|
| 51 |
+
input_ids:
|
| 52 |
+
- select_rows_without_proof
|
| 53 |
+
# - id: ground_truth_verification
|
| 54 |
+
# config:
|
| 55 |
+
# type: function
|
| 56 |
+
# sharded: true
|
| 57 |
+
# num_shards: 32
|
| 58 |
+
# function: data_strategies.MultipleSamples.utils.ground_truth_verification_patch
|
| 59 |
+
# function_config:
|
| 60 |
+
# response_column: generation
|
| 61 |
+
# solution_column: solution
|
| 62 |
+
# output_column: verified_generation
|
| 63 |
+
# input_ids:
|
| 64 |
+
# - merge_together
|
| 65 |
+
# - id: convert_to_sharegpt
|
| 66 |
+
# config:
|
| 67 |
+
# type: function
|
| 68 |
+
# sharded: true
|
| 69 |
+
# num_shards: 32
|
| 70 |
+
# function: data_strategies.commons.convert_instruction_response_to_sharegpt
|
| 71 |
+
# function_config:
|
| 72 |
+
# input_instruction_column: problem
|
| 73 |
+
# input_response_column: verified_generation
|
| 74 |
+
# output_sharegpt_column: conversations
|
| 75 |
+
# input_ids:
|
| 76 |
+
# - ground_truth_verification
|
| 77 |
+
# - id: remove_columns
|
| 78 |
+
# config:
|
| 79 |
+
# type: function
|
| 80 |
+
# sharded: true
|
| 81 |
+
# num_shards: 32
|
| 82 |
+
# function: data_strategies.commons.remove_columns
|
| 83 |
+
# function_config:
|
| 84 |
+
# columns:
|
| 85 |
+
# - _majority_responses
|
| 86 |
+
# input_ids:
|
| 87 |
+
# - convert_to_sharegpt
|
| 88 |
+
# - id: load_preexisting_all_proofs
|
| 89 |
+
# config:
|
| 90 |
+
# type: load_preexisting
|
| 91 |
+
# framework_name: open_r1_hf_get_all_proofs
|
| 92 |
+
# - id: mix
|
| 93 |
+
# config:
|
| 94 |
+
# type: mix
|
| 95 |
+
# input_ids:
|
| 96 |
+
# - load_preexisting_all_proofs
|
| 97 |
+
# - convert_to_sharegpt
|