EtashGuha commited on
Commit
a9c188f
·
verified ·
1 Parent(s): 79790b3

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/seed_math_filtering.yaml +168 -0
config/seed_math_filtering.yaml ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: load_tiger_math
3
+ config:
4
+ type: load_preexisting
5
+ framework_name: seed_math_tiger_math
6
+ - id: sample_tiger_math
7
+ config:
8
+ type: function
9
+ function: data_strategies.commons.uniform_sample_limited
10
+ function_config:
11
+ num_samples: 3
12
+ input_ids:
13
+ - load_tiger_math
14
+ - id: keep_only_tiger_math
15
+ config:
16
+ type: function
17
+ function: data_strategies.commons.keep_only_columns
18
+ function_config:
19
+ columns_to_keep:
20
+ - conversations
21
+ input_ids:
22
+ - sample_tiger_math
23
+ - id: add_id_tiger_math
24
+ config:
25
+ type: function
26
+ function: data_strategies.commons.add_constant_columns
27
+ function_config:
28
+ source: tiger_math
29
+ input_ids:
30
+ - keep_only_tiger_math
31
+ - id: load_tiger_lab_math
32
+ config:
33
+ type: load_preexisting
34
+ framework_name: seed_math_tiger_lab_math
35
+ - id: sample_tiger_lab_math
36
+ config:
37
+ type: function
38
+ function: data_strategies.commons.uniform_sample_limited
39
+ function_config:
40
+ num_samples: 3
41
+ input_ids:
42
+ - load_tiger_lab_math
43
+ - id: keep_only_tiger_lab_math
44
+ config:
45
+ type: function
46
+ function: data_strategies.commons.keep_only_columns
47
+ function_config:
48
+ columns_to_keep:
49
+ - conversations
50
+ input_ids:
51
+ - sample_tiger_lab_math
52
+ - id: add_id_tiger_lab_math
53
+ config:
54
+ type: function
55
+ function: data_strategies.commons.add_constant_columns
56
+ function_config:
57
+ source: tiger_lab_math
58
+ input_ids:
59
+ - keep_only_tiger_lab_math
60
+
61
+ - id: load_automathtext
62
+ config:
63
+ type: load_preexisting
64
+ framework_name: seed_math_automathtext
65
+ - id: sample_automathtext
66
+ config:
67
+ type: function
68
+ function: data_strategies.commons.uniform_sample_limited
69
+ function_config:
70
+ num_samples: 3
71
+ input_ids:
72
+ - load_automathtext
73
+ - id: keep_only_automathtext
74
+ config:
75
+ type: function
76
+ function: data_strategies.commons.keep_only_columns
77
+ function_config:
78
+ columns_to_keep:
79
+ - conversations
80
+ input_ids:
81
+ - sample_automathtext
82
+ - id: add_id_automathtext
83
+ config:
84
+ type: function
85
+ function: data_strategies.commons.add_constant_columns
86
+ function_config:
87
+ source: automathtext
88
+ input_ids:
89
+ - keep_only_automathtext
90
+
91
+ - id: load_nvidia_math
92
+ config:
93
+ type: load_preexisting
94
+ framework_name: seed_math_nvidia_math
95
+ - id: sample_nvidia_math
96
+ config:
97
+ type: function
98
+ function: data_strategies.commons.uniform_sample_limited
99
+ function_config:
100
+ num_samples: 3
101
+ input_ids:
102
+ - load_nvidia_math
103
+ - id: keep_only_nvidia_math
104
+ config:
105
+ type: function
106
+ function: data_strategies.commons.keep_only_columns
107
+ function_config:
108
+ columns_to_keep:
109
+ - conversations
110
+ input_ids:
111
+ - sample_nvidia_math
112
+ - id: add_id_nvidia_math
113
+ config:
114
+ type: function
115
+ function: data_strategies.commons.add_constant_columns
116
+ function_config:
117
+ source: nvidia_math
118
+ input_ids:
119
+ - keep_only_nvidia_math
120
+
121
+ - id: load_open2math
122
+ config:
123
+ type: load_preexisting
124
+ framework_name: seed_math_open2math
125
+ - id: sample_open2math
126
+ config:
127
+ type: function
128
+ function: data_strategies.commons.uniform_sample_limited
129
+ function_config:
130
+ num_samples: 3
131
+ input_ids:
132
+ - load_open2math
133
+ - id: keep_only_open2math
134
+ config:
135
+ type: function
136
+ function: data_strategies.commons.keep_only_columns
137
+ function_config:
138
+ columns_to_keep:
139
+ - conversations
140
+ input_ids:
141
+ - sample_open2math
142
+ - id: add_id_open2math
143
+ config:
144
+ type: function
145
+ function: data_strategies.commons.add_constant_columns
146
+ function_config:
147
+ source: open2math
148
+ input_ids:
149
+ - keep_only_open2math
150
+ - id: load_all
151
+ config:
152
+ type: mix
153
+ input_ids:
154
+ - add_id_open2math
155
+ - add_id_tiger_lab_math
156
+ - add_id_tiger_math
157
+ - add_id_automathtext
158
+ - add_id_nvidia_math
159
+ - id: convert_to_instruction_response
160
+ config:
161
+ type: function
162
+ function: data_strategies.commons.convert_sharegpt_to_instruction_response
163
+ function_config:
164
+ input_sharegpt_column: conversations
165
+ output_instruction_column: instruction
166
+ output_response_column: response
167
+ input_ids:
168
+ - load_all