Upload configuration file
Browse files
config/a1_science_kaggle_llm.yaml
CHANGED
|
@@ -97,13 +97,21 @@ operators:
|
|
| 97 |
ngram_size: 13
|
| 98 |
input_ids:
|
| 99 |
- add_source_name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
- id: sample_dataset
|
| 101 |
config:
|
| 102 |
type: function
|
| 103 |
-
function: data_strategies.commons.
|
| 104 |
function_config:
|
| 105 |
num_samples: 31_600 # 1.25% of 10000 target from stage 1
|
| 106 |
-
input_ids: ["
|
| 107 |
- id: convert_reasoning_trace_to_final
|
| 108 |
config:
|
| 109 |
type: function
|
|
@@ -123,4 +131,20 @@ operators:
|
|
| 123 |
input_response_column: final_reasoning_trace
|
| 124 |
output_sharegpt_column: conversations
|
| 125 |
input_ids:
|
| 126 |
-
- convert_reasoning_trace_to_final
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
ngram_size: 13
|
| 98 |
input_ids:
|
| 99 |
- add_source_name
|
| 100 |
+
- id: remove_duplicates
|
| 101 |
+
config:
|
| 102 |
+
type: function
|
| 103 |
+
function: data_strategies._A1_Source.utils.remove_duplicates
|
| 104 |
+
function_config:
|
| 105 |
+
column_name: instruction_seed
|
| 106 |
+
input_ids:
|
| 107 |
+
- decontaminate
|
| 108 |
- id: sample_dataset
|
| 109 |
config:
|
| 110 |
type: function
|
| 111 |
+
function: data_strategies.commons.upsample_dataset
|
| 112 |
function_config:
|
| 113 |
num_samples: 31_600 # 1.25% of 10000 target from stage 1
|
| 114 |
+
input_ids: ["remove_duplicates"]
|
| 115 |
- id: convert_reasoning_trace_to_final
|
| 116 |
config:
|
| 117 |
type: function
|
|
|
|
| 131 |
input_response_column: final_reasoning_trace
|
| 132 |
output_sharegpt_column: conversations
|
| 133 |
input_ids:
|
| 134 |
+
- convert_reasoning_trace_to_final
|
| 135 |
+
- id: rename_task_column_final
|
| 136 |
+
config:
|
| 137 |
+
type: function
|
| 138 |
+
function: data_strategies.commons.force_rename_columns
|
| 139 |
+
function_config:
|
| 140 |
+
column_maps:
|
| 141 |
+
id: kaggle_id
|
| 142 |
+
prompt: kaggle_prompt
|
| 143 |
+
A: kaggle_A
|
| 144 |
+
B: kaggle_B
|
| 145 |
+
C: kaggle_C
|
| 146 |
+
D: kaggle_D
|
| 147 |
+
E: kaggle_E
|
| 148 |
+
answer: kaggle_answer
|
| 149 |
+
input_ids:
|
| 150 |
+
- convert_to_sharegpt
|