batterydata commited on
Commit
d1f029a
1 Parent(s): a2c140a

best model for qa

Browse files
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/projects/SolarWindowsADSP/shu/models/revision/bert/batteryonlybert-cased2/",
3
+ "architectures": [
4
+ "BertForQuestionAnswering"
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
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.17.0.dev0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 28996
26
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f75b492cfbec86f007589c4ca0dd288c7a08fe563d0c5f4c229d543cb7d301d1
3
+ size 861894637
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2f3f56c7648f9b3c125897ec9a664b46a770de6b9631b16ea363c2242ab38c8
3
+ size 430973431
rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c4c1f06dba59f5b10c513c24d4c1c82f4a92e9da045c4d6447456adf813943e
3
+ size 14657
rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe3cb9b1779419943eb5fbe5a240c38307ddb212703c3aa7edeb7c6bff3087b5
3
+ size 14657
rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:811738d1434eaeb38f70712dc9819de59fbbe42e7477a035306d83ba42b6021d
3
+ size 14657
rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b820b80dba6937d2d4e0c41934ffff4a6e4ca8722e2736c05c70de90b07e9a2
3
+ size 14657
rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8249ccb753232a703fbdbde594e5f35edf19d5587ccf44b96c915c492cbe99ba
3
+ size 14657
rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46c83db311acf18905ac61a96f70a8675acf6861bb03b8a02a04b94431c0680e
3
+ size 14657
rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78b9f235b29a49689b71920c838c268f50108285e6b1902a36b14daa12f53815
3
+ size 14657
rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:935347b3918eed19990e9dd3813e7e34507993ae6a3e7cbc5559b60c30b59946
3
+ size 14657
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6153e4eb14130ad5073a597944ba183a5adb70496fe5fa9c87dea2f11fdbfe39
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_type": "bert", "special_tokens_map_file": null, "name_or_path": "/projects/SolarWindowsADSP/shu/models/revision/bert/batteryonlybert-cased2/", "tokenizer_class": "BertTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 16851,
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.09,
12
+ "learning_rate": 1.955492255652484e-05,
13
+ "loss": 2.8362,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.18,
18
+ "learning_rate": 1.9109845113049673e-05,
19
+ "loss": 1.6844,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.27,
24
+ "learning_rate": 1.8664767669574508e-05,
25
+ "loss": 1.5,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.36,
30
+ "learning_rate": 1.8219690226099342e-05,
31
+ "loss": 1.3599,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.45,
36
+ "learning_rate": 1.777461278262418e-05,
37
+ "loss": 1.2865,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.53,
42
+ "learning_rate": 1.7329535339149014e-05,
43
+ "loss": 1.2309,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 0.62,
48
+ "learning_rate": 1.6884457895673848e-05,
49
+ "loss": 1.219,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 0.71,
54
+ "learning_rate": 1.6439380452198682e-05,
55
+ "loss": 1.1917,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 0.8,
60
+ "learning_rate": 1.599430300872352e-05,
61
+ "loss": 1.1278,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 0.89,
66
+ "learning_rate": 1.5549225565248354e-05,
67
+ "loss": 1.1211,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 0.98,
72
+ "learning_rate": 1.510414812177319e-05,
73
+ "loss": 1.098,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 1.0,
78
+ "eval_exact_match": 77.43614001892148,
79
+ "eval_f1": 85.27628850491176,
80
+ "step": 5617
81
+ },
82
+ {
83
+ "epoch": 1.07,
84
+ "learning_rate": 1.4659070678298024e-05,
85
+ "loss": 0.9305,
86
+ "step": 6000
87
+ },
88
+ {
89
+ "epoch": 1.16,
90
+ "learning_rate": 1.421399323482286e-05,
91
+ "loss": 0.8982,
92
+ "step": 6500
93
+ },
94
+ {
95
+ "epoch": 1.25,
96
+ "learning_rate": 1.3768915791347694e-05,
97
+ "loss": 0.8622,
98
+ "step": 7000
99
+ },
100
+ {
101
+ "epoch": 1.34,
102
+ "learning_rate": 1.332383834787253e-05,
103
+ "loss": 0.8733,
104
+ "step": 7500
105
+ },
106
+ {
107
+ "epoch": 1.42,
108
+ "learning_rate": 1.2878760904397368e-05,
109
+ "loss": 0.858,
110
+ "step": 8000
111
+ },
112
+ {
113
+ "epoch": 1.51,
114
+ "learning_rate": 1.2433683460922202e-05,
115
+ "loss": 0.8723,
116
+ "step": 8500
117
+ },
118
+ {
119
+ "epoch": 1.6,
120
+ "learning_rate": 1.1988606017447038e-05,
121
+ "loss": 0.8781,
122
+ "step": 9000
123
+ },
124
+ {
125
+ "epoch": 1.69,
126
+ "learning_rate": 1.1543528573971872e-05,
127
+ "loss": 0.8645,
128
+ "step": 9500
129
+ },
130
+ {
131
+ "epoch": 1.78,
132
+ "learning_rate": 1.1098451130496708e-05,
133
+ "loss": 0.8643,
134
+ "step": 10000
135
+ },
136
+ {
137
+ "epoch": 1.87,
138
+ "learning_rate": 1.0653373687021542e-05,
139
+ "loss": 0.8594,
140
+ "step": 10500
141
+ },
142
+ {
143
+ "epoch": 1.96,
144
+ "learning_rate": 1.0208296243546378e-05,
145
+ "loss": 0.8501,
146
+ "step": 11000
147
+ },
148
+ {
149
+ "epoch": 2.0,
150
+ "eval_exact_match": 79.43235572374645,
151
+ "eval_f1": 86.5587922621179,
152
+ "step": 11234
153
+ },
154
+ {
155
+ "epoch": 2.05,
156
+ "learning_rate": 9.763218800071214e-06,
157
+ "loss": 0.7317,
158
+ "step": 11500
159
+ },
160
+ {
161
+ "epoch": 2.14,
162
+ "learning_rate": 9.318141356596048e-06,
163
+ "loss": 0.6347,
164
+ "step": 12000
165
+ },
166
+ {
167
+ "epoch": 2.23,
168
+ "learning_rate": 8.873063913120884e-06,
169
+ "loss": 0.6572,
170
+ "step": 12500
171
+ },
172
+ {
173
+ "epoch": 2.31,
174
+ "learning_rate": 8.42798646964572e-06,
175
+ "loss": 0.6525,
176
+ "step": 13000
177
+ },
178
+ {
179
+ "epoch": 2.4,
180
+ "learning_rate": 7.982909026170554e-06,
181
+ "loss": 0.6543,
182
+ "step": 13500
183
+ },
184
+ {
185
+ "epoch": 2.49,
186
+ "learning_rate": 7.53783158269539e-06,
187
+ "loss": 0.6496,
188
+ "step": 14000
189
+ },
190
+ {
191
+ "epoch": 2.58,
192
+ "learning_rate": 7.092754139220225e-06,
193
+ "loss": 0.6533,
194
+ "step": 14500
195
+ },
196
+ {
197
+ "epoch": 2.67,
198
+ "learning_rate": 6.64767669574506e-06,
199
+ "loss": 0.652,
200
+ "step": 15000
201
+ },
202
+ {
203
+ "epoch": 2.76,
204
+ "learning_rate": 6.202599252269895e-06,
205
+ "loss": 0.6363,
206
+ "step": 15500
207
+ },
208
+ {
209
+ "epoch": 2.85,
210
+ "learning_rate": 5.75752180879473e-06,
211
+ "loss": 0.6802,
212
+ "step": 16000
213
+ },
214
+ {
215
+ "epoch": 2.94,
216
+ "learning_rate": 5.312444365319565e-06,
217
+ "loss": 0.6562,
218
+ "step": 16500
219
+ },
220
+ {
221
+ "epoch": 3.0,
222
+ "eval_exact_match": 79.61210974456007,
223
+ "eval_f1": 87.30118518584376,
224
+ "step": 16851
225
+ }
226
+ ],
227
+ "max_steps": 22468,
228
+ "num_train_epochs": 4,
229
+ "total_flos": 5.28373385307095e+16,
230
+ "trial_name": null,
231
+ "trial_params": null
232
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:316a2c6afc685ade5aaf68aa344d98af2b7fe5454cea3dfe763d4e660f9cd1f2
3
+ size 3183
vocab.txt ADDED
The diff for this file is too large to render. See raw diff