EtashGuha commited on
Commit
0901058
·
verified ·
1 Parent(s): a9080b6

Upload configuration file

Browse files
config/load_in_code_stackexchange_codereview.yaml ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: cs_stack_exchange_0
3
+ config:
4
+ type: function
5
+ function: data_strategies.StackExchange.utils.analyze_post_history
6
+ function_config:
7
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
8
+ split_index: 0
9
+ split_factor: 15
10
+ - id: cs_stack_exchange_1
11
+ config:
12
+ type: function
13
+ function: data_strategies.StackExchange.utils.analyze_post_history
14
+ function_config:
15
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
16
+ split_index: 1
17
+ split_factor: 15
18
+ - id: cs_stack_exchange_2
19
+ config:
20
+ type: function
21
+ function: data_strategies.StackExchange.utils.analyze_post_history
22
+ function_config:
23
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
24
+ split_index: 2
25
+ split_factor: 15
26
+ - id: cs_stack_exchange_3
27
+ config:
28
+ type: function
29
+ function: data_strategies.StackExchange.utils.analyze_post_history
30
+ function_config:
31
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
32
+ split_index: 3
33
+ split_factor: 15
34
+ - id: cs_stack_exchange_4
35
+ config:
36
+ type: function
37
+ function: data_strategies.StackExchange.utils.analyze_post_history
38
+ function_config:
39
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
40
+ split_index: 4
41
+ split_factor: 15
42
+ - id: cs_stack_exchange_5
43
+ config:
44
+ type: function
45
+ function: data_strategies.StackExchange.utils.analyze_post_history
46
+ function_config:
47
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
48
+ split_index: 5
49
+ split_factor: 15
50
+ - id: cs_stack_exchange_6
51
+ config:
52
+ type: function
53
+ function: data_strategies.StackExchange.utils.analyze_post_history
54
+ function_config:
55
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
56
+ split_index: 6
57
+ split_factor: 15
58
+ - id: cs_stack_exchange_7
59
+ config:
60
+ type: function
61
+ function: data_strategies.StackExchange.utils.analyze_post_history
62
+ function_config:
63
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
64
+ split_index: 7
65
+ split_factor: 15
66
+ - id: cs_stack_exchange_8
67
+ config:
68
+ type: function
69
+ function: data_strategies.StackExchange.utils.analyze_post_history
70
+ function_config:
71
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
72
+ split_index: 8
73
+ split_factor: 15
74
+ - id: cs_stack_exchange_9
75
+ config:
76
+ type: function
77
+ function: data_strategies.StackExchange.utils.analyze_post_history
78
+ function_config:
79
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
80
+ split_index: 9
81
+ split_factor: 15
82
+ - id: cs_stack_exchange_10
83
+ config:
84
+ type: function
85
+ function: data_strategies.StackExchange.utils.analyze_post_history
86
+ function_config:
87
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
88
+ split_index: 10
89
+ split_factor: 15
90
+ - id: cs_stack_exchange_11
91
+ config:
92
+ type: function
93
+ function: data_strategies.StackExchange.utils.analyze_post_history
94
+ function_config:
95
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
96
+ split_index: 11
97
+ split_factor: 15
98
+ - id: cs_stack_exchange_12
99
+ config:
100
+ type: function
101
+ function: data_strategies.StackExchange.utils.analyze_post_history
102
+ function_config:
103
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
104
+ split_index: 12
105
+ split_factor: 15
106
+ - id: cs_stack_exchange_13
107
+ config:
108
+ type: function
109
+ function: data_strategies.StackExchange.utils.analyze_post_history
110
+ function_config:
111
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
112
+ split_index: 13
113
+ split_factor: 15
114
+ - id: cs_stack_exchange_14
115
+ config:
116
+ type: function
117
+ function: data_strategies.StackExchange.utils.analyze_post_history
118
+ function_config:
119
+ url: https://archive.org/download/stackexchange/codereview.stackexchange.com.7z
120
+ split_index: 14
121
+ split_factor: 15
122
+ - id: rename_task_column
123
+ config:
124
+ type: function
125
+ function: data_strategies.commons.force_rename_columns
126
+ function_config:
127
+ column_maps:
128
+ instruction: instruction_seed
129
+ input_ids:
130
+ - cs_stack_exchange_0
131
+ - cs_stack_exchange_1
132
+ - cs_stack_exchange_2
133
+ - cs_stack_exchange_3
134
+ - cs_stack_exchange_4
135
+ - cs_stack_exchange_5
136
+ - cs_stack_exchange_6
137
+ - cs_stack_exchange_7
138
+ - cs_stack_exchange_8
139
+ - cs_stack_exchange_9
140
+ - cs_stack_exchange_10
141
+ - cs_stack_exchange_11
142
+ - cs_stack_exchange_12
143
+ - cs_stack_exchange_13
144
+ - cs_stack_exchange_14
145
+ - id: sample_dataset_pre
146
+ config:
147
+ type: function
148
+ function: data_strategies.commons.uniform_sample_fixed
149
+ function_config:
150
+ num_samples: 1_100_000
151
+ input_ids:
152
+ - rename_task_column
153
+
154
+ - id: add_source_name
155
+ config:
156
+ type: function
157
+ function: data_strategies.commons.add_constant_columns
158
+ function_config:
159
+ _source: "stackexchange/codereview"
160
+ input_ids:
161
+ - sample_dataset_pre
162
+ - id: decontaminate
163
+ config:
164
+ type: cpu_function
165
+ sharded: true
166
+ num_shards: 8
167
+ num_cpus: 16
168
+ function: data_strategies._A1_Source.utils.decontaminate_fuzzy_w_ngram
169
+ function_config:
170
+ column: instruction_seed
171
+ eval_datasets:
172
+ - HuggingFaceH4/MATH-500
173
+ - Maxwell-Jia/AIME_2024
174
+ - AI-MO/aimo-validation-amc
175
+ - livecodebench/code_generation_lite
176
+ - mlfoundations-dev/AIME2025_combined
177
+ - cais/hle
178
+ - open-r1/codeforces
179
+ - Idavidrein/gpqa
180
+ - daman1209arora/jeebench
181
+ - mlfoundations-dev/mmlu_pro_eval_full
182
+ - Qwen/CodeElo
183
+ - open-r1/ioi
184
+ eval_columns:
185
+ - problem
186
+ - Problem
187
+ - problem
188
+ - question_content
189
+ - question
190
+ - question
191
+ - description
192
+ - Question
193
+ - question
194
+ - prompt
195
+ - description
196
+ - statement
197
+ eval_splits:
198
+ - test
199
+ - train
200
+ - train
201
+ - test
202
+ - train
203
+ - test
204
+ - test
205
+ - train
206
+ - test
207
+ - test
208
+ - test
209
+ - test
210
+ eval_subsets:
211
+ Idavidrein/gpqa: gpqa_diamond
212
+ similarity_threshold: 75.0
213
+ ngram_size: 13
214
+ input_ids:
215
+ - add_source_name
216
+ - id: sample_dataset
217
+ config:
218
+ type: high_memory_function
219
+ memory: 100
220
+ function: data_strategies.commons.uniform_sample_limited
221
+ function_config:
222
+ num_samples: 1_000_000
223
+ input_ids:
224
+ - decontaminate
225
+