EtashGuha commited on
Commit
27c100b
·
verified ·
1 Parent(s): 00bb738

Upload configuration file

Browse files
config/evolinstruct_seeding_stackexchange_codegolf.yaml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: load_stackexchange_codegolf
3
+ config:
4
+ type: load_preexisting
5
+ framework_name: stackexchange_code_golf_reorg_cache
6
+ - id: evolution_prompt
7
+ config:
8
+ type: function
9
+ function: data_strategies.EvolInstruct.utils.prompts_for_evolving_instructions_no_input
10
+ function_config:
11
+ input_instruction_column: instruction
12
+ output_prompt_column: instruction_evolution_prompt
13
+ input_ids:
14
+ - load_stackexchange_codegolf
15
+ - id: evolve_instruction
16
+ input_ids:
17
+ - evolution_prompt
18
+ config:
19
+ type: completions
20
+ map: chat
21
+ map_config:
22
+ user_message_column: instruction_evolution_prompt
23
+ output_column: evolved_instruction
24
+ model: gpt-4o-mini
25
+ top_p: 0.95
26
+ batch: False
27
+
28
+ - id: annotate_instruction
29
+ input_ids:
30
+ - evolve_instruction
31
+ config:
32
+ type: completions
33
+ map: chat
34
+ map_config:
35
+ user_message_column: evolved_instruction
36
+ output_column: completion
37
+ model: gpt-4o-mini
38
+ top_p: 0.95
39
+ batch: False
40
+
41
+ - id: select_columns
42
+ config:
43
+ type: function
44
+ function: data_strategies.commons.select_columns
45
+ function_config:
46
+ columns:
47
+ - evolved_instruction
48
+ - completion
49
+ input_ids:
50
+ - annotate_instruction
51
+
52
+ - id: to_sharegpt
53
+ config:
54
+ type: function
55
+ function: data_strategies.commons.convert_instruction_response_to_sharegpt
56
+ function_config:
57
+ input_instruction_column: evolved_instruction
58
+ input_response_column: completion
59
+ output_sharegpt_column: conversations
60
+ input_ids:
61
+ - select_columns