EtashGuha commited on
Commit
7e45921
·
verified ·
1 Parent(s): 21cc33d

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/herorun3_math.yaml +51 -50
config/herorun3_math.yaml CHANGED
@@ -20,16 +20,6 @@ operators:
20
  source: "automath"
21
  input_ids:
22
  - drop_columns_automath_1000000
23
- - id: classify_automath
24
- config:
25
- type: fasttext
26
- num_cpus: 32
27
- hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_math_best_s1
28
- input_column: instruction_seed
29
- target_label: "__label__QA_doc"
30
- top_percentage_ranking: 10
31
- input_ids:
32
- - add_source_automath
33
  - id: fuzzy_dedup_automath
34
  config:
35
  type: cpu_function
@@ -39,7 +29,17 @@ operators:
39
  column: instruction_seed
40
  similarity_threshold: 90.0
41
  input_ids:
42
- - classify_automath
 
 
 
 
 
 
 
 
 
 
43
  - id: sample_dataset_automath
44
  config:
45
  type: function
@@ -72,16 +72,6 @@ operators:
72
  source: "nvidia_math"
73
  input_ids:
74
  - drop_columns_nvidia_math_exploit
75
- - id: classify_nvidia_math
76
- config:
77
- type: fasttext
78
- num_cpus: 32
79
- hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_math_best_s1
80
- input_column: instruction_seed
81
- target_label: "__label__QA_doc"
82
- top_percentage_ranking: 10
83
- input_ids:
84
- - add_source_nvidia_math
85
  - id: fuzzy_dedup_nvidia_math
86
  config:
87
  type: cpu_function
@@ -91,7 +81,17 @@ operators:
91
  column: instruction_seed
92
  similarity_threshold: 90.0
93
  input_ids:
94
- - classify_nvidia_math
 
 
 
 
 
 
 
 
 
 
95
  - id: sample_dataset_nvidia_math
96
  config:
97
  type: function
@@ -99,7 +99,7 @@ operators:
99
  function_config:
100
  num_samples: 37_500
101
  input_ids:
102
- - fuzzy_dedup_nvidia_math
103
 
104
 
105
  - id: seed_math_tiger_lab_math_exploit
@@ -123,16 +123,6 @@ operators:
123
  source: "tiger_lab_math"
124
  input_ids:
125
  - drop_columns_tiger_lab_math_exploit
126
- - id: classify_tiger_lab_math
127
- config:
128
- type: fasttext
129
- num_cpus: 32
130
- hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_math_best_s1
131
- input_column: instruction_seed
132
- target_label: "__label__QA_doc"
133
- top_percentage_ranking: 10
134
- input_ids:
135
- - add_source_tiger_lab_math
136
  - id: fuzzy_dedup_tiger_lab_math
137
  config:
138
  type: cpu_function
@@ -142,15 +132,25 @@ operators:
142
  column: instruction_seed
143
  similarity_threshold: 90.0
144
  input_ids:
145
- - classify_tiger_lab_math
 
 
 
 
 
 
 
 
 
 
146
  - id: sample_dataset_tiger_lab_math
147
  config:
148
  type: function
149
  function: data_strategies.commons.uniform_sample_fixed
150
  function_config:
151
- num_samples: 200_000
152
  input_ids:
153
- - fuzzy_dedup_tiger_lab_math
154
 
155
 
156
  - id: seed_math_tiger_math_exploit
@@ -174,16 +174,6 @@ operators:
174
  source: "tiger_math"
175
  input_ids:
176
  - drop_columns_tiger_math_exploit
177
- - id: classify_tiger_math
178
- config:
179
- type: fasttext
180
- num_cpus: 32
181
- hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_math_best_s1
182
- input_column: instruction_seed
183
- target_label: "__label__QA_doc"
184
- top_percentage_ranking: 10
185
- input_ids:
186
- - add_source_tiger_math
187
  - id: fuzzy_dedup_tiger_math
188
  config:
189
  type: cpu_function
@@ -193,15 +183,26 @@ operators:
193
  column: instruction_seed
194
  similarity_threshold: 90.0
195
  input_ids:
196
- - classify_tiger_math
 
 
 
 
 
 
 
 
 
 
 
197
  - id: sample_dataset_tiger_math
198
  config:
199
  type: function
200
  function: data_strategies.commons.uniform_sample_fixed
201
  function_config:
202
- num_samples: 200_000
203
  input_ids:
204
- - fuzzy_dedup_tiger_math
205
 
206
  - id: mix_datasets
207
  config:
@@ -209,7 +210,7 @@ operators:
209
  input_ids:
210
  - sample_dataset_automath
211
  - sample_dataset_nvidia_math
212
- # - sample_dataset_tiger_lab_math
213
  # - sample_dataset_tiger_math
214
 
215
  # - id: decontaminate
 
20
  source: "automath"
21
  input_ids:
22
  - drop_columns_automath_1000000
 
 
 
 
 
 
 
 
 
 
23
  - id: fuzzy_dedup_automath
24
  config:
25
  type: cpu_function
 
29
  column: instruction_seed
30
  similarity_threshold: 90.0
31
  input_ids:
32
+ - add_source_automath
33
+ - id: classify_automath
34
+ config:
35
+ type: fasttext
36
+ num_cpus: 32
37
+ hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_math_best_s1
38
+ input_column: instruction_seed
39
+ target_label: "__label__QA_doc"
40
+ top_percentage_ranking: 10
41
+ input_ids:
42
+ - fuzzy_dedup_automath
43
  - id: sample_dataset_automath
44
  config:
45
  type: function
 
72
  source: "nvidia_math"
73
  input_ids:
74
  - drop_columns_nvidia_math_exploit
 
 
 
 
 
 
 
 
 
 
75
  - id: fuzzy_dedup_nvidia_math
76
  config:
77
  type: cpu_function
 
81
  column: instruction_seed
82
  similarity_threshold: 90.0
83
  input_ids:
84
+ - add_source_nvidia_math
85
+ - id: classify_nvidia_math
86
+ config:
87
+ type: fasttext
88
+ num_cpus: 32
89
+ hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_math_best_s1
90
+ input_column: instruction_seed
91
+ target_label: "__label__QA_doc"
92
+ top_percentage_ranking: 10
93
+ input_ids:
94
+ - fuzzy_dedup_nvidia_math
95
  - id: sample_dataset_nvidia_math
96
  config:
97
  type: function
 
99
  function_config:
100
  num_samples: 37_500
101
  input_ids:
102
+ - classify_nvidia_math
103
 
104
 
105
  - id: seed_math_tiger_lab_math_exploit
 
123
  source: "tiger_lab_math"
124
  input_ids:
125
  - drop_columns_tiger_lab_math_exploit
 
 
 
 
 
 
 
 
 
 
126
  - id: fuzzy_dedup_tiger_lab_math
127
  config:
128
  type: cpu_function
 
132
  column: instruction_seed
133
  similarity_threshold: 90.0
134
  input_ids:
135
+ - add_source_tiger_lab_math
136
+ - id: classify_tiger_lab_math
137
+ config:
138
+ type: fasttext
139
+ num_cpus: 32
140
+ hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_math_best_s1
141
+ input_column: instruction_seed
142
+ target_label: "__label__QA_doc"
143
+ top_percentage_ranking: 10
144
+ input_ids:
145
+ - fuzzy_dedup_tiger_lab_math
146
  - id: sample_dataset_tiger_lab_math
147
  config:
148
  type: function
149
  function: data_strategies.commons.uniform_sample_fixed
150
  function_config:
151
+ num_samples: 37_500
152
  input_ids:
153
+ - classify_tiger_lab_math
154
 
155
 
156
  - id: seed_math_tiger_math_exploit
 
174
  source: "tiger_math"
175
  input_ids:
176
  - drop_columns_tiger_math_exploit
 
 
 
 
 
 
 
 
 
 
177
  - id: fuzzy_dedup_tiger_math
178
  config:
179
  type: cpu_function
 
183
  column: instruction_seed
184
  similarity_threshold: 90.0
185
  input_ids:
186
+ - add_source_tiger_math
187
+ - id: classify_tiger_math
188
+ config:
189
+ type: fasttext
190
+ num_cpus: 32
191
+ hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_math_best_s1
192
+ input_column: instruction_seed
193
+ target_label: "__label__QA_doc"
194
+ top_percentage_ranking: 10
195
+ input_ids:
196
+ - fuzzy_dedup_tiger_math
197
+
198
  - id: sample_dataset_tiger_math
199
  config:
200
  type: function
201
  function: data_strategies.commons.uniform_sample_fixed
202
  function_config:
203
+ num_samples: 37_500
204
  input_ids:
205
+ - classify_tiger_math
206
 
207
  - id: mix_datasets
208
  config:
 
210
  input_ids:
211
  - sample_dataset_automath
212
  - sample_dataset_nvidia_math
213
+ - sample_dataset_tiger_lab_math
214
  # - sample_dataset_tiger_math
215
 
216
  # - id: decontaminate