ryanmarten commited on
Commit
1371bb6
·
verified ·
1 Parent(s): 2eec69c

Automatic dcft datacuration framework upload for recursive_test

Browse files
config/WizardLM/evol_instruct_test.yaml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: load_alpaca
3
+ config:
4
+ type: hf_source
5
+ dataset: yahma/alpaca-cleaned
6
+ split: train
7
+ columns:
8
+ - instruction
9
+ - output
10
+ num_truncate: 10
11
+
12
+ - id: instruction_generation
13
+ config:
14
+ type: function
15
+ sharded: true
16
+ function: data_strategies.WizardLM.utils.instruction_generation
17
+ function_config:
18
+ input_column: instruction
19
+ output_column: evol_instruction
20
+ input_ids:
21
+ - load_alpaca
22
+
23
+ - id: dedup_evol_instructions
24
+ config:
25
+ type: function
26
+ function: data_strategies.WizardLM.utils.dedup
27
+ function_config:
28
+ input_column: evol_instruction
29
+ input_ids:
30
+ - instruction_generation
31
+
32
+ - id: annotate
33
+ config:
34
+ type: function
35
+ sharded: true
36
+ function: data_strategies.WizardLM.utils.annotate
37
+ function_config:
38
+ input_column: evol_instruction
39
+ output_column: completion
40
+ input_ids:
41
+ - dedup_evol_instructions
42
+
43
+ - id: rename_prompt
44
+ config:
45
+ type: function
46
+ sharded: true
47
+ function: data_strategies.WizardLM.utils.force_rename_column
48
+ function_config:
49
+ old_name: evol_instruction
50
+ new_name: prompt
51
+ input_ids:
52
+ - annotate
53
+
54
+ - id: remove_other_columns
55
+ config:
56
+ type: function
57
+ sharded: true
58
+ function: data_strategies.WizardLM.utils.remove_other_columns
59
+ function_config:
60
+ columns_to_keep:
61
+ - prompt
62
+ - completion
63
+ input_ids:
64
+ - rename_prompt
65
+