Upload configuration file
Browse files
config/multiple_samples_ground_truth_openr1_clean.yaml
CHANGED
|
@@ -44,8 +44,6 @@ operators:
|
|
| 44 |
- id: ground_truth_verification
|
| 45 |
config:
|
| 46 |
type: function
|
| 47 |
-
sharded: true
|
| 48 |
-
num_shards: 32
|
| 49 |
function: data_strategies.MultipleSamples.utils.ground_truth_verification_patch
|
| 50 |
function_config:
|
| 51 |
response_column: generation
|
|
@@ -53,36 +51,13 @@ operators:
|
|
| 53 |
output_column: verified_generation
|
| 54 |
input_ids:
|
| 55 |
- merge_together
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
# input_ids:
|
| 67 |
-
# - ground_truth_verification
|
| 68 |
-
# - id: remove_columns
|
| 69 |
-
# config:
|
| 70 |
-
# type: function
|
| 71 |
-
# sharded: true
|
| 72 |
-
# num_shards: 32
|
| 73 |
-
# function: data_strategies.commons.remove_columns
|
| 74 |
-
# function_config:
|
| 75 |
-
# columns:
|
| 76 |
-
# - _majority_responses
|
| 77 |
-
# input_ids:
|
| 78 |
-
# - convert_to_sharegpt
|
| 79 |
-
# - id: load_preexisting_all_proofs
|
| 80 |
-
# config:
|
| 81 |
-
# type: load_preexisting
|
| 82 |
-
# framework_name: open_r1_hf_get_all_proofs
|
| 83 |
-
# - id: mix
|
| 84 |
-
# config:
|
| 85 |
-
# type: mix
|
| 86 |
-
# input_ids:
|
| 87 |
-
# - load_preexisting_all_proofs
|
| 88 |
-
# - convert_to_sharegpt
|
|
|
|
| 44 |
- id: ground_truth_verification
|
| 45 |
config:
|
| 46 |
type: function
|
|
|
|
|
|
|
| 47 |
function: data_strategies.MultipleSamples.utils.ground_truth_verification_patch
|
| 48 |
function_config:
|
| 49 |
response_column: generation
|
|
|
|
| 51 |
output_column: verified_generation
|
| 52 |
input_ids:
|
| 53 |
- merge_together
|
| 54 |
+
- id: convert_to_sharegpt
|
| 55 |
+
config:
|
| 56 |
+
type: function
|
| 57 |
+
function: data_strategies.commons.convert_instruction_response_to_sharegpt
|
| 58 |
+
function_config:
|
| 59 |
+
input_instruction_column: problem
|
| 60 |
+
input_response_column: verified_generation
|
| 61 |
+
output_sharegpt_column: conversations
|
| 62 |
+
input_ids:
|
| 63 |
+
- ground_truth_verification
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|