Upload configuration file
Browse files- config/S1_4o_mini.yaml +29 -0
config/S1_4o_mini.yaml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: load_hf_source
|
| 3 |
+
config:
|
| 4 |
+
type: hf_source
|
| 5 |
+
dataset: mlfoundations-dev/s1K_reformat
|
| 6 |
+
split: train
|
| 7 |
+
- id: annotate_instruction
|
| 8 |
+
config:
|
| 9 |
+
type: completions
|
| 10 |
+
map: chat
|
| 11 |
+
require_all_responses: false
|
| 12 |
+
map_config:
|
| 13 |
+
user_message_column: question
|
| 14 |
+
output_column: 4o_completion
|
| 15 |
+
model: gpt-4o-mini
|
| 16 |
+
top_p: 0.95
|
| 17 |
+
batch: false
|
| 18 |
+
input_ids:
|
| 19 |
+
- load_hf_source
|
| 20 |
+
- id: convert_to_sharegpt
|
| 21 |
+
config:
|
| 22 |
+
type: function
|
| 23 |
+
function: data_strategies.commons.convert_instruction_response_to_sharegpt
|
| 24 |
+
function_config:
|
| 25 |
+
input_instruction_column: question
|
| 26 |
+
input_response_column: 4o_completion
|
| 27 |
+
output_sharegpt_column: conversations
|
| 28 |
+
input_ids:
|
| 29 |
+
- annotate_instruction
|