Upload configuration file
Browse files
config/codeevolinstruct_seeding_stackexchange_codegolf.yaml
CHANGED
|
@@ -13,17 +13,9 @@ operators:
|
|
| 13 |
output_prompt_column: instruction_evolution_prompt
|
| 14 |
input_ids:
|
| 15 |
- load_stackexchange_codegolf
|
| 16 |
-
- id: sample_dataset
|
| 17 |
-
config:
|
| 18 |
-
type: function
|
| 19 |
-
function: data_strategies.commons.uniform_sample_limited
|
| 20 |
-
function_config:
|
| 21 |
-
num_samples: 150 # 1.25% of 12000 target from stage 1
|
| 22 |
-
input_ids:
|
| 23 |
-
- evolution_prompt
|
| 24 |
- id: evolve_instruction
|
| 25 |
input_ids:
|
| 26 |
-
-
|
| 27 |
config:
|
| 28 |
type: completions
|
| 29 |
map: chat
|
|
@@ -32,6 +24,7 @@ operators:
|
|
| 32 |
output_column: evolved_instruction
|
| 33 |
model: gpt-4o-mini
|
| 34 |
top_p: 0.95
|
|
|
|
| 35 |
- id: annotate_instruction
|
| 36 |
input_ids:
|
| 37 |
- evolve_instruction
|
|
@@ -44,6 +37,7 @@ operators:
|
|
| 44 |
output_column: completion
|
| 45 |
model: gpt-4o-mini
|
| 46 |
top_p: 0.95
|
|
|
|
| 47 |
- id: select_columns
|
| 48 |
config:
|
| 49 |
type: function
|
|
|
|
| 13 |
output_prompt_column: instruction_evolution_prompt
|
| 14 |
input_ids:
|
| 15 |
- load_stackexchange_codegolf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
- id: evolve_instruction
|
| 17 |
input_ids:
|
| 18 |
+
- evolution_prompt
|
| 19 |
config:
|
| 20 |
type: completions
|
| 21 |
map: chat
|
|
|
|
| 24 |
output_column: evolved_instruction
|
| 25 |
model: gpt-4o-mini
|
| 26 |
top_p: 0.95
|
| 27 |
+
batch: True
|
| 28 |
- id: annotate_instruction
|
| 29 |
input_ids:
|
| 30 |
- evolve_instruction
|
|
|
|
| 37 |
output_column: completion
|
| 38 |
model: gpt-4o-mini
|
| 39 |
top_p: 0.95
|
| 40 |
+
batch: True
|
| 41 |
- id: select_columns
|
| 42 |
config:
|
| 43 |
type: function
|