batterydata
commited on
Commit
•
884fe93
1
Parent(s):
64d3ae9
best models for abstract classification
Browse files- config.json +35 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state_0.pth +3 -0
- rng_state_1.pth +3 -0
- rng_state_2.pth +3 -0
- rng_state_3.pth +3 -0
- rng_state_4.pth +3 -0
- rng_state_5.pth +3 -0
- rng_state_6.pth +3 -0
- rng_state_7.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +247 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/projects/SolarWindowsADSP/shu/models/revision/bert/batterybert-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:53d839ce28a09c97761c439c2404396e5ac1c3836bebccb8aed2ed145efc3979
|
3 |
+
size 866620625
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a88afc77160e1cc1a49c77dbeb667509cf858d5ab469d0e725e052ab946df1a1
|
3 |
+
size 433336585
|
rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:669f513d2f3d83b1cfc47acb74a028b2fff6a683892aaf557414b3620bd5759f
|
3 |
+
size 14657
|
rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b6717eb06ff20db6f9eac1cded2bb929982b4950f278a2fced1857225fb05fa
|
3 |
+
size 14657
|
rng_state_2.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c258e9591dbfbc83f78322f1b8658b9d088739eb22afd4748b52f7c624013ad3
|
3 |
+
size 14657
|
rng_state_3.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90c0f37f676709fd76ef32d973467797029597ad1ea93ea57976ca633752305d
|
3 |
+
size 14657
|
rng_state_4.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c60e238ce3b778719c51f8e86cb8be7d0e3bc4219bab295cd3ff9591aae767c1
|
3 |
+
size 14657
|
rng_state_5.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68ce3bdf8f5fbc09a548a7f66846141fbd610c1f17bd123f4e61edeec44c17b0
|
3 |
+
size 14657
|
rng_state_6.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49156254176c1ba3764b6c8d5e2b3f3ad1ce32da1bb3e17674d926ba123c5366
|
3 |
+
size 14657
|
rng_state_7.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f8c908c8a57bf3b8d7c9f727b95764749b2f8090a0f812d8357e2494da134b9
|
3 |
+
size 14657
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb2d6ea316aafd776d25c89bd0c36e3f70f448d4042f9bbb2dee342f9cb4d1aa
|
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, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "/projects/SolarWindowsADSP/shu/models/revision/bert/batterybert-cased/", "tokenizer_class": "BertTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 11.0,
|
5 |
+
"global_step": 11231,
|
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.1628,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.98,
|
18 |
+
"learning_rate": 1.8694090760692135e-05,
|
19 |
+
"loss": 0.1424,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.0,
|
24 |
+
"eval_accuracy": 0.9604628682136536,
|
25 |
+
"eval_loss": 0.13337615132331848,
|
26 |
+
"eval_runtime": 3.606,
|
27 |
+
"eval_samples_per_second": 2588.168,
|
28 |
+
"eval_steps_per_second": 80.976,
|
29 |
+
"step": 1021
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 1.47,
|
33 |
+
"learning_rate": 1.80411361410382e-05,
|
34 |
+
"loss": 0.1054,
|
35 |
+
"step": 1500
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 1.96,
|
39 |
+
"learning_rate": 1.7388181521384265e-05,
|
40 |
+
"loss": 0.1097,
|
41 |
+
"step": 2000
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 2.0,
|
45 |
+
"eval_accuracy": 0.9652844667434692,
|
46 |
+
"eval_loss": 0.11623150110244751,
|
47 |
+
"eval_runtime": 3.5866,
|
48 |
+
"eval_samples_per_second": 2602.181,
|
49 |
+
"eval_steps_per_second": 81.414,
|
50 |
+
"step": 2042
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 2.45,
|
54 |
+
"learning_rate": 1.673522690173033e-05,
|
55 |
+
"loss": 0.0804,
|
56 |
+
"step": 2500
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 2.94,
|
60 |
+
"learning_rate": 1.6082272282076395e-05,
|
61 |
+
"loss": 0.0755,
|
62 |
+
"step": 3000
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 3.0,
|
66 |
+
"eval_accuracy": 0.9673202633857727,
|
67 |
+
"eval_loss": 0.1282455027103424,
|
68 |
+
"eval_runtime": 3.6184,
|
69 |
+
"eval_samples_per_second": 2579.339,
|
70 |
+
"eval_steps_per_second": 80.699,
|
71 |
+
"step": 3063
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 3.43,
|
75 |
+
"learning_rate": 1.5429317662422463e-05,
|
76 |
+
"loss": 0.0591,
|
77 |
+
"step": 3500
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 3.92,
|
81 |
+
"learning_rate": 1.4776363042768528e-05,
|
82 |
+
"loss": 0.0494,
|
83 |
+
"step": 4000
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"epoch": 4.0,
|
87 |
+
"eval_accuracy": 0.9676417112350464,
|
88 |
+
"eval_loss": 0.14640793204307556,
|
89 |
+
"eval_runtime": 3.593,
|
90 |
+
"eval_samples_per_second": 2597.544,
|
91 |
+
"eval_steps_per_second": 81.269,
|
92 |
+
"step": 4084
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 4.41,
|
96 |
+
"learning_rate": 1.4123408423114595e-05,
|
97 |
+
"loss": 0.0328,
|
98 |
+
"step": 4500
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 4.9,
|
102 |
+
"learning_rate": 1.3470453803460662e-05,
|
103 |
+
"loss": 0.0353,
|
104 |
+
"step": 5000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 5.0,
|
108 |
+
"eval_accuracy": 0.9633558392524719,
|
109 |
+
"eval_loss": 0.19047445058822632,
|
110 |
+
"eval_runtime": 3.6111,
|
111 |
+
"eval_samples_per_second": 2584.563,
|
112 |
+
"eval_steps_per_second": 80.863,
|
113 |
+
"step": 5105
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 5.39,
|
117 |
+
"learning_rate": 1.2817499183806728e-05,
|
118 |
+
"loss": 0.0209,
|
119 |
+
"step": 5500
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 5.88,
|
123 |
+
"learning_rate": 1.2164544564152792e-05,
|
124 |
+
"loss": 0.0182,
|
125 |
+
"step": 6000
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"epoch": 6.0,
|
129 |
+
"eval_accuracy": 0.968820333480835,
|
130 |
+
"eval_loss": 0.20608273148536682,
|
131 |
+
"eval_runtime": 3.6122,
|
132 |
+
"eval_samples_per_second": 2583.731,
|
133 |
+
"eval_steps_per_second": 80.837,
|
134 |
+
"step": 6126
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 6.37,
|
138 |
+
"learning_rate": 1.1511589944498858e-05,
|
139 |
+
"loss": 0.0144,
|
140 |
+
"step": 6500
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 6.86,
|
144 |
+
"learning_rate": 1.0858635324844923e-05,
|
145 |
+
"loss": 0.0126,
|
146 |
+
"step": 7000
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 7.0,
|
150 |
+
"eval_accuracy": 0.9689274430274963,
|
151 |
+
"eval_loss": 0.24051280319690704,
|
152 |
+
"eval_runtime": 3.603,
|
153 |
+
"eval_samples_per_second": 2590.356,
|
154 |
+
"eval_steps_per_second": 81.044,
|
155 |
+
"step": 7147
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 7.35,
|
159 |
+
"learning_rate": 1.020568070519099e-05,
|
160 |
+
"loss": 0.0086,
|
161 |
+
"step": 7500
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 7.84,
|
165 |
+
"learning_rate": 9.552726085537057e-06,
|
166 |
+
"loss": 0.0087,
|
167 |
+
"step": 8000
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 8.0,
|
171 |
+
"eval_accuracy": 0.9695703387260437,
|
172 |
+
"eval_loss": 0.259203165769577,
|
173 |
+
"eval_runtime": 3.6023,
|
174 |
+
"eval_samples_per_second": 2590.86,
|
175 |
+
"eval_steps_per_second": 81.06,
|
176 |
+
"step": 8168
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 8.33,
|
180 |
+
"learning_rate": 8.899771465883122e-06,
|
181 |
+
"loss": 0.0056,
|
182 |
+
"step": 8500
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 8.81,
|
186 |
+
"learning_rate": 8.246816846229188e-06,
|
187 |
+
"loss": 0.0068,
|
188 |
+
"step": 9000
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 9.0,
|
192 |
+
"eval_accuracy": 0.9706417918205261,
|
193 |
+
"eval_loss": 0.2531001567840576,
|
194 |
+
"eval_runtime": 3.6041,
|
195 |
+
"eval_samples_per_second": 2589.528,
|
196 |
+
"eval_steps_per_second": 81.018,
|
197 |
+
"step": 9189
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"epoch": 9.3,
|
201 |
+
"learning_rate": 7.593862226575253e-06,
|
202 |
+
"loss": 0.0041,
|
203 |
+
"step": 9500
|
204 |
+
},
|
205 |
+
{
|
206 |
+
"epoch": 9.79,
|
207 |
+
"learning_rate": 6.94090760692132e-06,
|
208 |
+
"loss": 0.0034,
|
209 |
+
"step": 10000
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 10.0,
|
213 |
+
"eval_accuracy": 0.9699989557266235,
|
214 |
+
"eval_loss": 0.281872034072876,
|
215 |
+
"eval_runtime": 3.597,
|
216 |
+
"eval_samples_per_second": 2594.647,
|
217 |
+
"eval_steps_per_second": 81.178,
|
218 |
+
"step": 10210
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 10.28,
|
222 |
+
"learning_rate": 6.287952987267385e-06,
|
223 |
+
"loss": 0.0034,
|
224 |
+
"step": 10500
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 10.77,
|
228 |
+
"learning_rate": 5.634998367613451e-06,
|
229 |
+
"loss": 0.0032,
|
230 |
+
"step": 11000
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 11.0,
|
234 |
+
"eval_accuracy": 0.9728918671607971,
|
235 |
+
"eval_loss": 0.27420875430107117,
|
236 |
+
"eval_runtime": 3.6954,
|
237 |
+
"eval_samples_per_second": 2525.56,
|
238 |
+
"eval_steps_per_second": 79.017,
|
239 |
+
"step": 11231
|
240 |
+
}
|
241 |
+
],
|
242 |
+
"max_steps": 15315,
|
243 |
+
"num_train_epochs": 15,
|
244 |
+
"total_flos": 2.363421365580595e+16,
|
245 |
+
"trial_name": null,
|
246 |
+
"trial_params": null
|
247 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb5615137be998cf6339f47a4a8f352fd31a3bc9c39c2ea617f40308858790df
|
3 |
+
size 3183
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|