EtashGuha commited on
Commit
f213969
·
verified ·
1 Parent(s): d8cb108

Upload configuration file

Browse files
config/train_fasttext_classifier_seed_code_best_mix.yaml ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: load_stackexchange_codegolf
3
+ config:
4
+ type: load_preexisting
5
+ framework_name: stackexchange_code_golf_reorg_cache
6
+ - id: rename_task_column_stackexchange_codegolf
7
+ config:
8
+ type: function
9
+ function: data_strategies.commons.force_rename_columns
10
+ function_config:
11
+ column_maps:
12
+ instruction: question
13
+ input_ids:
14
+ - load_stackexchange_codegolf
15
+
16
+ - id: load_codefeedback
17
+ config:
18
+ type: load_preexisting
19
+ framework_name: codefeedback
20
+ - id: rename_task_column_codefeedback
21
+ config:
22
+ type: function
23
+ function: data_strategies.commons.force_rename_columns
24
+ function_config:
25
+ column_maps:
26
+ instruction_seed: question
27
+ input_ids:
28
+ - load_codefeedback
29
+
30
+ - id: hf_source_codeforces
31
+ config:
32
+ type: hf_source
33
+ dataset: open-r1/codeforces
34
+ split: train
35
+ - id: rename_task_column_codeforces
36
+ config:
37
+ type: function
38
+ function: data_strategies.commons.force_rename_columns
39
+ function_config:
40
+ column_maps:
41
+ description: question
42
+ input_ids:
43
+ - hf_source_codeforces
44
+
45
+ - id: remove_nones_codeforces
46
+ config:
47
+ type: function
48
+ function: data_strategies.commons.remove_nones
49
+ function_config:
50
+ column: question
51
+ input_ids:
52
+ - rename_task_column_codeforces
53
+
54
+ - id: hf_source_ioi
55
+ config:
56
+ type: hf_source
57
+ dataset: open-r1/ioi
58
+ split: train
59
+ - id: rename_task_column_ioi
60
+ config:
61
+ type: function
62
+ function: data_strategies.commons.force_rename_columns
63
+ function_config:
64
+ column_maps:
65
+ statement: question
66
+ input_ids:
67
+ - hf_source_ioi
68
+
69
+ - id: load_sharegpt_code
70
+ config:
71
+ type: load_preexisting
72
+ framework_name: share_gpt_code
73
+ - id: rename_task_column_share_gpt_code
74
+ config:
75
+ type: function
76
+ function: data_strategies.commons.force_rename_columns
77
+ function_config:
78
+ column_maps:
79
+ instruction_seed: question
80
+ input_ids:
81
+ - load_sharegpt_code
82
+
83
+
84
+
85
+ - id: keep_only_columns
86
+ config:
87
+ type: function
88
+ sharded: true
89
+ function: data_strategies.commons.keep_only_columns
90
+ function_config:
91
+ columns_to_keep:
92
+ - question
93
+ input_ids:
94
+ - rename_task_column_stackexchange_codegolf
95
+ - rename_task_column_codefeedback
96
+ - remove_nones_codeforces
97
+ - rename_task_column_ioi
98
+ - rename_task_column_share_gpt_code
99
+
100
+ - id: hf_source_bad_seed_code_reflect
101
+ config:
102
+ type: load_preexisting
103
+ framework_name: reflection
104
+ - id: hf_source_bad_seed_code_octo
105
+ config:
106
+ type: load_preexisting
107
+ framework_name: octopack_sft
108
+ - id: rename_task_column
109
+ config:
110
+ type: function
111
+ function: data_strategies.commons.force_rename_columns
112
+ function_config:
113
+ column_maps:
114
+ instruction_seed: question
115
+ input_ids:
116
+ - hf_source_bad_seed_code_octo
117
+ - hf_source_bad_seed_code_reflect
118
+ - id: train_fasttext_classifier
119
+ config:
120
+ type: train_fasttext
121
+ text_column: question
122
+ positive_input_ids:
123
+ - keep_only_columns
124
+ negative_input_ids:
125
+ - rename_task_column
126
+ dim: 256
127
+ epoch: 3
128
+ lr: 0.1
129
+ word_ngrams: 2
130
+ min_count: 3
131
+ hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_code_best_mix
132
+ input_ids:
133
+ - keep_only_columns
134
+ - rename_task_column