mapama247 commited on
Commit
efcbbb2
·
1 Parent(s): d2c27b1

upload ipc_level1_F model

Browse files
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "../models/roberta-large/",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 2,
9
+ "finetuning_task": "ipc1",
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "id2label": {
15
+ "0": "01",
16
+ "1": "02",
17
+ "2": "03",
18
+ "3": "04",
19
+ "4": "15",
20
+ "5": "16",
21
+ "6": "17",
22
+ "7": "21",
23
+ "8": "22",
24
+ "9": "23",
25
+ "10": "24",
26
+ "11": "25",
27
+ "12": "26",
28
+ "13": "27",
29
+ "14": "28",
30
+ "15": "41",
31
+ "16": "42",
32
+ "17": "99"
33
+ },
34
+ "initializer_range": 0.02,
35
+ "intermediate_size": 4096,
36
+ "label2id": {
37
+ "01": 0,
38
+ "02": 1,
39
+ "03": 2,
40
+ "04": 3,
41
+ "15": 4,
42
+ "16": 5,
43
+ "17": 6,
44
+ "21": 7,
45
+ "22": 8,
46
+ "23": 9,
47
+ "24": 10,
48
+ "25": 11,
49
+ "26": 12,
50
+ "27": 13,
51
+ "28": 14,
52
+ "41": 15,
53
+ "42": 16,
54
+ "99": 17
55
+ },
56
+ "layer_norm_eps": 1e-05,
57
+ "max_position_embeddings": 514,
58
+ "model_type": "roberta",
59
+ "num_attention_heads": 16,
60
+ "num_hidden_layers": 24,
61
+ "pad_token_id": 1,
62
+ "position_embedding_type": "absolute",
63
+ "problem_type": "multi_label_classification",
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.9.2",
66
+ "type_vocab_size": 1,
67
+ "use_cache": true,
68
+ "vocab_size": 50265
69
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d310d7bc7dd5359978436660ff9e735faa514fce78bbd55b73622aa8f2ae41b5
3
+ size 1421676909
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4e90f1345986502ffb3f500ea6d1b484187c5f83a6f051ae2d30f98cc82db9a
3
+ size 15523
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "special_tokens_map_file": null, "name_or_path": "../models/roberta-large/", "tokenizer_class": "RobertaTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8743931388563246,
3
+ "best_model_checkpoint": "./output//roberta-large_ipc1_F_5_32_5e-6_0.01_0.06_07-08-22_05-58/checkpoint-32000",
4
+ "epoch": 0.3952569169960474,
5
+ "global_step": 34000,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.02,
12
+ "learning_rate": 3.87506781368674e-07,
13
+ "loss": 0.3599,
14
+ "step": 2000
15
+ },
16
+ {
17
+ "epoch": 0.02,
18
+ "eval_accuracy": 0.18268015170670038,
19
+ "eval_f1": 0.2879298505097459,
20
+ "eval_loss": 0.18576645851135254,
21
+ "eval_roc_auc": 0.5853077432536982,
22
+ "eval_runtime": 4288.9545,
23
+ "eval_samples_per_second": 33.197,
24
+ "eval_steps_per_second": 2.075,
25
+ "step": 2000
26
+ },
27
+ {
28
+ "epoch": 0.05,
29
+ "learning_rate": 7.75013562737348e-07,
30
+ "loss": 0.1408,
31
+ "step": 4000
32
+ },
33
+ {
34
+ "epoch": 0.05,
35
+ "eval_accuracy": 0.6640609636184858,
36
+ "eval_f1": 0.7541285724569866,
37
+ "eval_loss": 0.09878645837306976,
38
+ "eval_roc_auc": 0.8278381936603927,
39
+ "eval_runtime": 4292.1595,
40
+ "eval_samples_per_second": 33.172,
41
+ "eval_steps_per_second": 2.073,
42
+ "step": 4000
43
+ },
44
+ {
45
+ "epoch": 0.07,
46
+ "learning_rate": 1.1625203441060218e-06,
47
+ "loss": 0.0906,
48
+ "step": 6000
49
+ },
50
+ {
51
+ "epoch": 0.07,
52
+ "eval_accuracy": 0.737512291052114,
53
+ "eval_f1": 0.8112492470949709,
54
+ "eval_loss": 0.07406309992074966,
55
+ "eval_roc_auc": 0.875046712248869,
56
+ "eval_runtime": 4294.249,
57
+ "eval_samples_per_second": 33.156,
58
+ "eval_steps_per_second": 2.072,
59
+ "step": 6000
60
+ },
61
+ {
62
+ "epoch": 0.09,
63
+ "learning_rate": 1.550027125474696e-06,
64
+ "loss": 0.0713,
65
+ "step": 8000
66
+ },
67
+ {
68
+ "epoch": 0.09,
69
+ "eval_accuracy": 0.7628459053237814,
70
+ "eval_f1": 0.8287656289334564,
71
+ "eval_loss": 0.06319486349821091,
72
+ "eval_roc_auc": 0.8866137099850818,
73
+ "eval_runtime": 4295.6601,
74
+ "eval_samples_per_second": 33.145,
75
+ "eval_steps_per_second": 2.072,
76
+ "step": 8000
77
+ },
78
+ {
79
+ "epoch": 0.12,
80
+ "learning_rate": 1.93753390684337e-06,
81
+ "loss": 0.0627,
82
+ "step": 10000
83
+ },
84
+ {
85
+ "epoch": 0.12,
86
+ "eval_accuracy": 0.7722924568057311,
87
+ "eval_f1": 0.8382658540559053,
88
+ "eval_loss": 0.058036886155605316,
89
+ "eval_roc_auc": 0.8947882381464809,
90
+ "eval_runtime": 4290.269,
91
+ "eval_samples_per_second": 33.187,
92
+ "eval_steps_per_second": 2.074,
93
+ "step": 10000
94
+ },
95
+ {
96
+ "epoch": 0.14,
97
+ "learning_rate": 2.3250406882120437e-06,
98
+ "loss": 0.0585,
99
+ "step": 12000
100
+ },
101
+ {
102
+ "epoch": 0.14,
103
+ "eval_accuracy": 0.7790420002809383,
104
+ "eval_f1": 0.8449722285551912,
105
+ "eval_loss": 0.054601434618234634,
106
+ "eval_roc_auc": 0.900479073554457,
107
+ "eval_runtime": 4292.2273,
108
+ "eval_samples_per_second": 33.172,
109
+ "eval_steps_per_second": 2.073,
110
+ "step": 12000
111
+ },
112
+ {
113
+ "epoch": 0.16,
114
+ "learning_rate": 2.712547469580718e-06,
115
+ "loss": 0.0542,
116
+ "step": 14000
117
+ },
118
+ {
119
+ "epoch": 0.16,
120
+ "eval_accuracy": 0.7874280095519034,
121
+ "eval_f1": 0.8536010998335779,
122
+ "eval_loss": 0.05090392753481865,
123
+ "eval_roc_auc": 0.9065922703600303,
124
+ "eval_runtime": 4293.5118,
125
+ "eval_samples_per_second": 33.162,
126
+ "eval_steps_per_second": 2.073,
127
+ "step": 14000
128
+ },
129
+ {
130
+ "epoch": 0.19,
131
+ "learning_rate": 3.100054250949392e-06,
132
+ "loss": 0.052,
133
+ "step": 16000
134
+ },
135
+ {
136
+ "epoch": 0.19,
137
+ "eval_accuracy": 0.7909889029358056,
138
+ "eval_f1": 0.8566962061823234,
139
+ "eval_loss": 0.05001804977655411,
140
+ "eval_roc_auc": 0.9095118884122836,
141
+ "eval_runtime": 4295.395,
142
+ "eval_samples_per_second": 33.147,
143
+ "eval_steps_per_second": 2.072,
144
+ "step": 16000
145
+ },
146
+ {
147
+ "epoch": 0.21,
148
+ "learning_rate": 3.487561032318066e-06,
149
+ "loss": 0.0505,
150
+ "step": 18000
151
+ },
152
+ {
153
+ "epoch": 0.21,
154
+ "eval_accuracy": 0.7934822306503723,
155
+ "eval_f1": 0.8588736803762056,
156
+ "eval_loss": 0.0483463890850544,
157
+ "eval_roc_auc": 0.9101339626012807,
158
+ "eval_runtime": 4294.2134,
159
+ "eval_samples_per_second": 33.156,
160
+ "eval_steps_per_second": 2.072,
161
+ "step": 18000
162
+ },
163
+ {
164
+ "epoch": 0.23,
165
+ "learning_rate": 3.87506781368674e-06,
166
+ "loss": 0.0496,
167
+ "step": 20000
168
+ },
169
+ {
170
+ "epoch": 0.23,
171
+ "eval_accuracy": 0.7956946200309032,
172
+ "eval_f1": 0.8605352183127327,
173
+ "eval_loss": 0.04739997163414955,
174
+ "eval_roc_auc": 0.9099304679611407,
175
+ "eval_runtime": 4298.5202,
176
+ "eval_samples_per_second": 33.123,
177
+ "eval_steps_per_second": 2.07,
178
+ "step": 20000
179
+ },
180
+ {
181
+ "epoch": 0.26,
182
+ "learning_rate": 4.262574595055414e-06,
183
+ "loss": 0.0489,
184
+ "step": 22000
185
+ },
186
+ {
187
+ "epoch": 0.26,
188
+ "eval_accuracy": 0.7958912768647282,
189
+ "eval_f1": 0.8615685152480835,
190
+ "eval_loss": 0.04697679355740547,
191
+ "eval_roc_auc": 0.9107013229700466,
192
+ "eval_runtime": 4299.3608,
193
+ "eval_samples_per_second": 33.117,
194
+ "eval_steps_per_second": 2.07,
195
+ "step": 22000
196
+ },
197
+ {
198
+ "epoch": 0.28,
199
+ "learning_rate": 4.650081376424087e-06,
200
+ "loss": 0.047,
201
+ "step": 24000
202
+ },
203
+ {
204
+ "epoch": 0.28,
205
+ "eval_accuracy": 0.7968815844922039,
206
+ "eval_f1": 0.8662429018314002,
207
+ "eval_loss": 0.045747920870780945,
208
+ "eval_roc_auc": 0.9202107490921341,
209
+ "eval_runtime": 4298.6579,
210
+ "eval_samples_per_second": 33.122,
211
+ "eval_steps_per_second": 2.07,
212
+ "step": 24000
213
+ },
214
+ {
215
+ "epoch": 0.3,
216
+ "learning_rate": 4.997600755885568e-06,
217
+ "loss": 0.0469,
218
+ "step": 26000
219
+ },
220
+ {
221
+ "epoch": 0.3,
222
+ "eval_accuracy": 0.8009551903357213,
223
+ "eval_f1": 0.8666653592720427,
224
+ "eval_loss": 0.04524701461195946,
225
+ "eval_roc_auc": 0.915663430411922,
226
+ "eval_runtime": 4298.4038,
227
+ "eval_samples_per_second": 33.124,
228
+ "eval_steps_per_second": 2.07,
229
+ "step": 26000
230
+ },
231
+ {
232
+ "epoch": 0.33,
233
+ "learning_rate": 4.972866280479058e-06,
234
+ "loss": 0.0458,
235
+ "step": 28000
236
+ },
237
+ {
238
+ "epoch": 0.33,
239
+ "eval_accuracy": 0.801559207753898,
240
+ "eval_f1": 0.869541226037224,
241
+ "eval_loss": 0.043748680502176285,
242
+ "eval_roc_auc": 0.919819594006768,
243
+ "eval_runtime": 4302.7264,
244
+ "eval_samples_per_second": 33.091,
245
+ "eval_steps_per_second": 2.068,
246
+ "step": 28000
247
+ },
248
+ {
249
+ "epoch": 0.35,
250
+ "learning_rate": 4.948131805072547e-06,
251
+ "loss": 0.045,
252
+ "step": 30000
253
+ },
254
+ {
255
+ "epoch": 0.35,
256
+ "eval_accuracy": 0.8011167298777918,
257
+ "eval_f1": 0.8685897435897435,
258
+ "eval_loss": 0.04380137473344803,
259
+ "eval_roc_auc": 0.9187617147650531,
260
+ "eval_runtime": 4304.499,
261
+ "eval_samples_per_second": 33.077,
262
+ "eval_steps_per_second": 2.067,
263
+ "step": 30000
264
+ },
265
+ {
266
+ "epoch": 0.37,
267
+ "learning_rate": 4.923397329666036e-06,
268
+ "loss": 0.044,
269
+ "step": 32000
270
+ },
271
+ {
272
+ "epoch": 0.37,
273
+ "eval_accuracy": 0.8065528866413822,
274
+ "eval_f1": 0.8743931388563246,
275
+ "eval_loss": 0.042223840951919556,
276
+ "eval_roc_auc": 0.9221526483236073,
277
+ "eval_runtime": 4303.0647,
278
+ "eval_samples_per_second": 33.088,
279
+ "eval_steps_per_second": 2.068,
280
+ "step": 32000
281
+ },
282
+ {
283
+ "epoch": 0.4,
284
+ "learning_rate": 4.8986628542595245e-06,
285
+ "loss": 0.0435,
286
+ "step": 34000
287
+ },
288
+ {
289
+ "epoch": 0.4,
290
+ "eval_accuracy": 0.8098117713161961,
291
+ "eval_f1": 0.8743206079011508,
292
+ "eval_loss": 0.042016852647066116,
293
+ "eval_roc_auc": 0.9207942735325755,
294
+ "eval_runtime": 4360.5908,
295
+ "eval_samples_per_second": 32.652,
296
+ "eval_steps_per_second": 2.041,
297
+ "step": 34000
298
+ }
299
+ ],
300
+ "max_steps": 430100,
301
+ "num_train_epochs": 5,
302
+ "total_flos": 1.013996137611264e+18,
303
+ "trial_name": null,
304
+ "trial_params": null
305
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfaf5488385767f5528ab77b13ee423a9a311a2700f88b57c84255addc6bd079
3
+ size 2735
vocab.json ADDED
The diff for this file is too large to render. See raw diff