neginr commited on
Commit
888b595
·
verified ·
1 Parent(s): da9e56f

Automatic dcft datacuration framework upload for oh-dcft-v1.3_no-curation_gpt-4o-mini_scale_8x

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