batterydata commited on
Commit
4626c75
1 Parent(s): d0a75ca

best model for abstract classification

Browse files
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/projects/SolarWindowsADSP/shu/models/bert-base-cased/",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "battery",
14
+ "1": "non-battery"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "battery": 0,
20
+ "non-battery": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.17.0.dev0",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 28996
35
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a87a5f97d17b6a39623c0204590bfa6781d7dcca9633f8bd839eceaac312f6e
3
+ size 866620625
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f5b8097353d85b71e8373a8f69d5937dda80122421540f59c482d09640b4904
3
+ size 433336585
rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48225eadc49ab1cda5970a5a4d1cf8ef703fa1fb3cfc36ba64f756fe844c699f
3
+ size 14657
rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:863514a0afcc7d93329c2746671590bc76e4ece2a1abf8292e1fa1e71a698093
3
+ size 14657
rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d8df8afce13aff4512b62ede8166ec297b5d9282519ae3fb1006821cba2cc45
3
+ size 14657
rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d65f66be970c9a45a77b93c591ab523893bedc958bff9778f6901b65d76b805
3
+ size 14657
rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7cbc70667960c4194883950b1760e2977f007af770035715970aa02af45d98a
3
+ size 14657
rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf159ea6e0fac1488c2e4100a7cd2b3cfc0e322e99f763a23c6758901e0ff9c1
3
+ size 14657
rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3df6362339c747632e928b8bdc27c4c23f53b99ace032db21a0330e27e8cf276
3
+ size 14657
rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee833a095df9ad7d852d429115c48b72c81cdcd6bf29e26fb493ee0def0e157c
3
+ size 14657
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca89161521062c38293010541a650d165968d386559fdfd06aefb263e8958d78
3
+ size 623
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "name_or_path": "/projects/SolarWindowsADSP/shu/models/bert-base-cased/", "tokenizer_class": "BertTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 15.0,
5
+ "global_step": 15315,
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.49,
12
+ "learning_rate": 1.9347045380346067e-05,
13
+ "loss": 0.1842,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.98,
18
+ "learning_rate": 1.8694090760692135e-05,
19
+ "loss": 0.1537,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 1.0,
24
+ "eval_accuracy": 0.9574627876281738,
25
+ "eval_loss": 0.13882458209991455,
26
+ "eval_runtime": 3.6569,
27
+ "eval_samples_per_second": 2552.167,
28
+ "eval_steps_per_second": 79.849,
29
+ "step": 1021
30
+ },
31
+ {
32
+ "epoch": 1.47,
33
+ "learning_rate": 1.80411361410382e-05,
34
+ "loss": 0.1102,
35
+ "step": 1500
36
+ },
37
+ {
38
+ "epoch": 1.96,
39
+ "learning_rate": 1.7388181521384265e-05,
40
+ "loss": 0.1123,
41
+ "step": 2000
42
+ },
43
+ {
44
+ "epoch": 2.0,
45
+ "eval_accuracy": 0.9614272117614746,
46
+ "eval_loss": 0.12761715054512024,
47
+ "eval_runtime": 3.6293,
48
+ "eval_samples_per_second": 2571.601,
49
+ "eval_steps_per_second": 80.457,
50
+ "step": 2042
51
+ },
52
+ {
53
+ "epoch": 2.45,
54
+ "learning_rate": 1.673522690173033e-05,
55
+ "loss": 0.0822,
56
+ "step": 2500
57
+ },
58
+ {
59
+ "epoch": 2.94,
60
+ "learning_rate": 1.6082272282076395e-05,
61
+ "loss": 0.0811,
62
+ "step": 3000
63
+ },
64
+ {
65
+ "epoch": 3.0,
66
+ "eval_accuracy": 0.9639987349510193,
67
+ "eval_loss": 0.130422443151474,
68
+ "eval_runtime": 3.6605,
69
+ "eval_samples_per_second": 2549.638,
70
+ "eval_steps_per_second": 79.77,
71
+ "step": 3063
72
+ },
73
+ {
74
+ "epoch": 3.43,
75
+ "learning_rate": 1.5429317662422463e-05,
76
+ "loss": 0.0602,
77
+ "step": 3500
78
+ },
79
+ {
80
+ "epoch": 3.92,
81
+ "learning_rate": 1.4776363042768528e-05,
82
+ "loss": 0.0479,
83
+ "step": 4000
84
+ },
85
+ {
86
+ "epoch": 4.0,
87
+ "eval_accuracy": 0.9649630188941956,
88
+ "eval_loss": 0.17105060815811157,
89
+ "eval_runtime": 3.6351,
90
+ "eval_samples_per_second": 2567.485,
91
+ "eval_steps_per_second": 80.328,
92
+ "step": 4084
93
+ },
94
+ {
95
+ "epoch": 4.41,
96
+ "learning_rate": 1.4123408423114595e-05,
97
+ "loss": 0.032,
98
+ "step": 4500
99
+ },
100
+ {
101
+ "epoch": 4.9,
102
+ "learning_rate": 1.3470453803460662e-05,
103
+ "loss": 0.03,
104
+ "step": 5000
105
+ },
106
+ {
107
+ "epoch": 5.0,
108
+ "eval_accuracy": 0.9616414904594421,
109
+ "eval_loss": 0.19338741898536682,
110
+ "eval_runtime": 3.6341,
111
+ "eval_samples_per_second": 2568.197,
112
+ "eval_steps_per_second": 80.351,
113
+ "step": 5105
114
+ },
115
+ {
116
+ "epoch": 5.39,
117
+ "learning_rate": 1.2817499183806728e-05,
118
+ "loss": 0.0243,
119
+ "step": 5500
120
+ },
121
+ {
122
+ "epoch": 5.88,
123
+ "learning_rate": 1.2164544564152792e-05,
124
+ "loss": 0.0172,
125
+ "step": 6000
126
+ },
127
+ {
128
+ "epoch": 6.0,
129
+ "eval_accuracy": 0.962498664855957,
130
+ "eval_loss": 0.23469704389572144,
131
+ "eval_runtime": 3.639,
132
+ "eval_samples_per_second": 2564.695,
133
+ "eval_steps_per_second": 80.241,
134
+ "step": 6126
135
+ },
136
+ {
137
+ "epoch": 6.37,
138
+ "learning_rate": 1.1511589944498858e-05,
139
+ "loss": 0.0139,
140
+ "step": 6500
141
+ },
142
+ {
143
+ "epoch": 6.86,
144
+ "learning_rate": 1.0858635324844923e-05,
145
+ "loss": 0.0102,
146
+ "step": 7000
147
+ },
148
+ {
149
+ "epoch": 7.0,
150
+ "eval_accuracy": 0.9654987454414368,
151
+ "eval_loss": 0.27059507369995117,
152
+ "eval_runtime": 3.6202,
153
+ "eval_samples_per_second": 2578.034,
154
+ "eval_steps_per_second": 80.659,
155
+ "step": 7147
156
+ },
157
+ {
158
+ "epoch": 7.35,
159
+ "learning_rate": 1.020568070519099e-05,
160
+ "loss": 0.0131,
161
+ "step": 7500
162
+ },
163
+ {
164
+ "epoch": 7.84,
165
+ "learning_rate": 9.552726085537057e-06,
166
+ "loss": 0.0094,
167
+ "step": 8000
168
+ },
169
+ {
170
+ "epoch": 8.0,
171
+ "eval_accuracy": 0.9667845368385315,
172
+ "eval_loss": 0.2712595760822296,
173
+ "eval_runtime": 3.6231,
174
+ "eval_samples_per_second": 2575.978,
175
+ "eval_steps_per_second": 80.594,
176
+ "step": 8168
177
+ },
178
+ {
179
+ "epoch": 8.33,
180
+ "learning_rate": 8.899771465883122e-06,
181
+ "loss": 0.0051,
182
+ "step": 8500
183
+ },
184
+ {
185
+ "epoch": 8.81,
186
+ "learning_rate": 8.246816846229188e-06,
187
+ "loss": 0.0059,
188
+ "step": 9000
189
+ },
190
+ {
191
+ "epoch": 9.0,
192
+ "eval_accuracy": 0.9651773571968079,
193
+ "eval_loss": 0.31283998489379883,
194
+ "eval_runtime": 3.6304,
195
+ "eval_samples_per_second": 2570.776,
196
+ "eval_steps_per_second": 80.431,
197
+ "step": 9189
198
+ },
199
+ {
200
+ "epoch": 9.3,
201
+ "learning_rate": 7.593862226575253e-06,
202
+ "loss": 0.0038,
203
+ "step": 9500
204
+ },
205
+ {
206
+ "epoch": 9.79,
207
+ "learning_rate": 6.94090760692132e-06,
208
+ "loss": 0.0045,
209
+ "step": 10000
210
+ },
211
+ {
212
+ "epoch": 10.0,
213
+ "eval_accuracy": 0.9661416411399841,
214
+ "eval_loss": 0.31859999895095825,
215
+ "eval_runtime": 3.6286,
216
+ "eval_samples_per_second": 2572.061,
217
+ "eval_steps_per_second": 80.472,
218
+ "step": 10210
219
+ },
220
+ {
221
+ "epoch": 10.28,
222
+ "learning_rate": 6.287952987267385e-06,
223
+ "loss": 0.0008,
224
+ "step": 10500
225
+ },
226
+ {
227
+ "epoch": 10.77,
228
+ "learning_rate": 5.634998367613451e-06,
229
+ "loss": 0.005,
230
+ "step": 11000
231
+ },
232
+ {
233
+ "epoch": 11.0,
234
+ "eval_accuracy": 0.9667845368385315,
235
+ "eval_loss": 0.32250431180000305,
236
+ "eval_runtime": 3.623,
237
+ "eval_samples_per_second": 2576.056,
238
+ "eval_steps_per_second": 80.597,
239
+ "step": 11231
240
+ },
241
+ {
242
+ "epoch": 11.26,
243
+ "learning_rate": 4.9820437479595175e-06,
244
+ "loss": 0.0024,
245
+ "step": 11500
246
+ },
247
+ {
248
+ "epoch": 11.75,
249
+ "learning_rate": 4.329089128305583e-06,
250
+ "loss": 0.0031,
251
+ "step": 12000
252
+ },
253
+ {
254
+ "epoch": 12.0,
255
+ "eval_accuracy": 0.9653916358947754,
256
+ "eval_loss": 0.32603543996810913,
257
+ "eval_runtime": 3.6195,
258
+ "eval_samples_per_second": 2578.552,
259
+ "eval_steps_per_second": 80.675,
260
+ "step": 12252
261
+ },
262
+ {
263
+ "epoch": 12.24,
264
+ "learning_rate": 3.676134508651649e-06,
265
+ "loss": 0.0024,
266
+ "step": 12500
267
+ },
268
+ {
269
+ "epoch": 12.73,
270
+ "learning_rate": 3.023179888997715e-06,
271
+ "loss": 0.0016,
272
+ "step": 13000
273
+ },
274
+ {
275
+ "epoch": 13.0,
276
+ "eval_accuracy": 0.9679631590843201,
277
+ "eval_loss": 0.33604705333709717,
278
+ "eval_runtime": 3.6293,
279
+ "eval_samples_per_second": 2571.596,
280
+ "eval_steps_per_second": 80.457,
281
+ "step": 13273
282
+ },
283
+ {
284
+ "epoch": 13.22,
285
+ "learning_rate": 2.370225269343781e-06,
286
+ "loss": 0.0029,
287
+ "step": 13500
288
+ },
289
+ {
290
+ "epoch": 13.71,
291
+ "learning_rate": 1.7172706496898467e-06,
292
+ "loss": 0.0016,
293
+ "step": 14000
294
+ },
295
+ {
296
+ "epoch": 14.0,
297
+ "eval_accuracy": 0.9681774377822876,
298
+ "eval_loss": 0.3418048024177551,
299
+ "eval_runtime": 3.6597,
300
+ "eval_samples_per_second": 2550.205,
301
+ "eval_steps_per_second": 79.788,
302
+ "step": 14294
303
+ },
304
+ {
305
+ "epoch": 14.2,
306
+ "learning_rate": 1.0643160300359125e-06,
307
+ "loss": 0.0002,
308
+ "step": 14500
309
+ },
310
+ {
311
+ "epoch": 14.69,
312
+ "learning_rate": 4.1136141038197843e-07,
313
+ "loss": 0.0007,
314
+ "step": 15000
315
+ },
316
+ {
317
+ "epoch": 15.0,
318
+ "eval_accuracy": 0.9683917164802551,
319
+ "eval_loss": 0.33835601806640625,
320
+ "eval_runtime": 3.6312,
321
+ "eval_samples_per_second": 2570.225,
322
+ "eval_steps_per_second": 80.414,
323
+ "step": 15315
324
+ }
325
+ ],
326
+ "max_steps": 15315,
327
+ "num_train_epochs": 15,
328
+ "total_flos": 3.222847324631859e+16,
329
+ "trial_name": null,
330
+ "trial_params": null
331
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82da51cc34d7961e04730b945a074151e5e58c4caafdc4868e5bd0403cabed60
3
+ size 3183
vocab.txt ADDED
The diff for this file is too large to render. See raw diff