End of training
Browse files- README.md +5 -3
- all_results.json +10 -10
- eval_results.json +6 -6
- logs/events.out.tfevents.1686032816.serv-3317.3374904.2 +3 -0
- train_results.json +5 -5
- trainer_state.json +68 -203
README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
---
|
|
|
|
|
2 |
tags:
|
3 |
- generated_from_trainer
|
4 |
datasets:
|
@@ -12,7 +14,7 @@ model-index:
|
|
12 |
name: Text Classification
|
13 |
type: text-classification
|
14 |
dataset:
|
15 |
-
name:
|
16 |
type: glue
|
17 |
config: sst2
|
18 |
split: validation
|
@@ -28,9 +30,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
28 |
|
29 |
# hBERTv1_new_pretrain_sst2
|
30 |
|
31 |
-
This model is a fine-tuned version of [gokuls/bert_12_layer_model_v1_complete_training_new](https://huggingface.co/gokuls/bert_12_layer_model_v1_complete_training_new) on the
|
32 |
It achieves the following results on the evaluation set:
|
33 |
-
- Loss: 0.
|
34 |
- Accuracy: 0.7878
|
35 |
|
36 |
## Model description
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
|
|
14 |
name: Text Classification
|
15 |
type: text-classification
|
16 |
dataset:
|
17 |
+
name: GLUE SST2
|
18 |
type: glue
|
19 |
config: sst2
|
20 |
split: validation
|
|
|
30 |
|
31 |
# hBERTv1_new_pretrain_sst2
|
32 |
|
33 |
+
This model is a fine-tuned version of [gokuls/bert_12_layer_model_v1_complete_training_new](https://huggingface.co/gokuls/bert_12_layer_model_v1_complete_training_new) on the GLUE SST2 dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.4752
|
36 |
- Accuracy: 0.7878
|
37 |
|
38 |
## Model description
|
all_results.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime": 1.
|
6 |
"eval_samples": 872,
|
7 |
-
"eval_samples_per_second":
|
8 |
-
"eval_steps_per_second": 4.
|
9 |
-
"train_loss":
|
10 |
-
"train_runtime":
|
11 |
"train_samples": 67349,
|
12 |
-
"train_samples_per_second":
|
13 |
-
"train_steps_per_second":
|
14 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.7878440366972477,
|
4 |
+
"eval_loss": 0.4752452075481415,
|
5 |
+
"eval_runtime": 1.5682,
|
6 |
"eval_samples": 872,
|
7 |
+
"eval_samples_per_second": 556.038,
|
8 |
+
"eval_steps_per_second": 4.464,
|
9 |
+
"train_loss": 0.21951200025583806,
|
10 |
+
"train_runtime": 2980.0427,
|
11 |
"train_samples": 67349,
|
12 |
+
"train_samples_per_second": 1130.001,
|
13 |
+
"train_steps_per_second": 8.842
|
14 |
}
|
eval_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime": 1.
|
6 |
"eval_samples": 872,
|
7 |
-
"eval_samples_per_second":
|
8 |
-
"eval_steps_per_second": 4.
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.7878440366972477,
|
4 |
+
"eval_loss": 0.4752452075481415,
|
5 |
+
"eval_runtime": 1.5682,
|
6 |
"eval_samples": 872,
|
7 |
+
"eval_samples_per_second": 556.038,
|
8 |
+
"eval_steps_per_second": 4.464
|
9 |
}
|
logs/events.out.tfevents.1686032816.serv-3317.3374904.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7978721358aed31a7b5ab3b2a22c74dc72a719952d5ceadc1dbf5f4a213c4bb5
|
3 |
+
size 363
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"train_loss":
|
4 |
-
"train_runtime":
|
5 |
"train_samples": 67349,
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"train_loss": 0.21951200025583806,
|
4 |
+
"train_runtime": 2980.0427,
|
5 |
"train_samples": 67349,
|
6 |
+
"train_samples_per_second": 1130.001,
|
7 |
+
"train_steps_per_second": 8.842
|
8 |
}
|
trainer_state.json
CHANGED
@@ -1,280 +1,145 @@
|
|
1 |
{
|
2 |
-
"best_metric":
|
3 |
-
"best_model_checkpoint": "hBERTv1_new_pretrain_sst2/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
9 |
"log_history": [
|
10 |
{
|
11 |
"epoch": 1.0,
|
12 |
-
"learning_rate":
|
13 |
-
"loss":
|
14 |
"step": 527
|
15 |
},
|
16 |
{
|
17 |
"epoch": 1.0,
|
18 |
-
"eval_accuracy": 0.
|
19 |
-
"eval_loss":
|
20 |
-
"eval_runtime": 1.
|
21 |
-
"eval_samples_per_second":
|
22 |
-
"eval_steps_per_second": 4.
|
23 |
"step": 527
|
24 |
},
|
25 |
{
|
26 |
"epoch": 2.0,
|
27 |
-
"learning_rate":
|
28 |
-
"loss":
|
29 |
"step": 1054
|
30 |
},
|
31 |
{
|
32 |
"epoch": 2.0,
|
33 |
-
"eval_accuracy": 0.
|
34 |
-
"eval_loss":
|
35 |
-
"eval_runtime": 1.
|
36 |
-
"eval_samples_per_second":
|
37 |
-
"eval_steps_per_second": 4.
|
38 |
"step": 1054
|
39 |
},
|
40 |
{
|
41 |
"epoch": 3.0,
|
42 |
-
"learning_rate":
|
43 |
-
"loss":
|
44 |
"step": 1581
|
45 |
},
|
46 |
{
|
47 |
"epoch": 3.0,
|
48 |
-
"eval_accuracy": 0.
|
49 |
-
"eval_loss":
|
50 |
-
"eval_runtime": 1.
|
51 |
-
"eval_samples_per_second":
|
52 |
-
"eval_steps_per_second": 4.
|
53 |
"step": 1581
|
54 |
},
|
55 |
{
|
56 |
"epoch": 4.0,
|
57 |
-
"learning_rate":
|
58 |
-
"loss":
|
59 |
"step": 2108
|
60 |
},
|
61 |
{
|
62 |
"epoch": 4.0,
|
63 |
-
"eval_accuracy": 0.
|
64 |
-
"eval_loss":
|
65 |
-
"eval_runtime": 1.
|
66 |
-
"eval_samples_per_second":
|
67 |
-
"eval_steps_per_second": 4.
|
68 |
"step": 2108
|
69 |
},
|
70 |
{
|
71 |
"epoch": 5.0,
|
72 |
-
"learning_rate":
|
73 |
-
"loss":
|
74 |
"step": 2635
|
75 |
},
|
76 |
{
|
77 |
"epoch": 5.0,
|
78 |
-
"eval_accuracy": 0.
|
79 |
-
"eval_loss":
|
80 |
-
"eval_runtime": 1.
|
81 |
-
"eval_samples_per_second":
|
82 |
-
"eval_steps_per_second": 4.
|
83 |
"step": 2635
|
84 |
},
|
85 |
{
|
86 |
"epoch": 6.0,
|
87 |
-
"learning_rate":
|
88 |
-
"loss":
|
89 |
"step": 3162
|
90 |
},
|
91 |
{
|
92 |
"epoch": 6.0,
|
93 |
-
"eval_accuracy": 0.
|
94 |
-
"eval_loss":
|
95 |
-
"eval_runtime": 1.
|
96 |
-
"eval_samples_per_second":
|
97 |
-
"eval_steps_per_second": 4.
|
98 |
"step": 3162
|
99 |
},
|
100 |
{
|
101 |
"epoch": 7.0,
|
102 |
-
"learning_rate":
|
103 |
-
"loss":
|
104 |
"step": 3689
|
105 |
},
|
106 |
{
|
107 |
"epoch": 7.0,
|
108 |
-
"eval_accuracy": 0.
|
109 |
-
"eval_loss":
|
110 |
-
"eval_runtime": 1.
|
111 |
-
"eval_samples_per_second":
|
112 |
-
"eval_steps_per_second": 4.
|
113 |
"step": 3689
|
114 |
},
|
115 |
{
|
116 |
"epoch": 8.0,
|
117 |
-
"learning_rate":
|
118 |
-
"loss":
|
119 |
"step": 4216
|
120 |
},
|
121 |
{
|
122 |
"epoch": 8.0,
|
123 |
-
"eval_accuracy": 0.
|
124 |
-
"eval_loss":
|
125 |
-
"eval_runtime": 1.
|
126 |
-
"eval_samples_per_second":
|
127 |
-
"eval_steps_per_second": 4.
|
128 |
"step": 4216
|
129 |
},
|
130 |
{
|
131 |
-
"epoch":
|
132 |
-
"
|
133 |
-
"
|
134 |
-
"
|
135 |
-
|
136 |
-
|
137 |
-
"
|
138 |
-
"eval_accuracy": 0.5091743119266054,
|
139 |
-
"eval_loss": 15.828842163085938,
|
140 |
-
"eval_runtime": 1.5921,
|
141 |
-
"eval_samples_per_second": 547.697,
|
142 |
-
"eval_steps_per_second": 4.397,
|
143 |
-
"step": 4743
|
144 |
-
},
|
145 |
-
{
|
146 |
-
"epoch": 10.0,
|
147 |
-
"learning_rate": 0.0004,
|
148 |
-
"loss": 18.0769,
|
149 |
-
"step": 5270
|
150 |
-
},
|
151 |
-
{
|
152 |
-
"epoch": 10.0,
|
153 |
-
"eval_accuracy": 0.5091743119266054,
|
154 |
-
"eval_loss": 15.82912826538086,
|
155 |
-
"eval_runtime": 1.5922,
|
156 |
-
"eval_samples_per_second": 547.654,
|
157 |
-
"eval_steps_per_second": 4.396,
|
158 |
-
"step": 5270
|
159 |
-
},
|
160 |
-
{
|
161 |
-
"epoch": 11.0,
|
162 |
-
"learning_rate": 0.00039000000000000005,
|
163 |
-
"loss": 17.912,
|
164 |
-
"step": 5797
|
165 |
-
},
|
166 |
-
{
|
167 |
-
"epoch": 11.0,
|
168 |
-
"eval_accuracy": 0.5091743119266054,
|
169 |
-
"eval_loss": 15.82912826538086,
|
170 |
-
"eval_runtime": 1.5971,
|
171 |
-
"eval_samples_per_second": 546.001,
|
172 |
-
"eval_steps_per_second": 4.383,
|
173 |
-
"step": 5797
|
174 |
-
},
|
175 |
-
{
|
176 |
-
"epoch": 12.0,
|
177 |
-
"learning_rate": 0.00038,
|
178 |
-
"loss": 17.887,
|
179 |
-
"step": 6324
|
180 |
-
},
|
181 |
-
{
|
182 |
-
"epoch": 12.0,
|
183 |
-
"eval_accuracy": 0.5091743119266054,
|
184 |
-
"eval_loss": 15.8276948928833,
|
185 |
-
"eval_runtime": 1.5951,
|
186 |
-
"eval_samples_per_second": 546.657,
|
187 |
-
"eval_steps_per_second": 4.388,
|
188 |
-
"step": 6324
|
189 |
-
},
|
190 |
-
{
|
191 |
-
"epoch": 13.0,
|
192 |
-
"learning_rate": 0.00037,
|
193 |
-
"loss": 18.1205,
|
194 |
-
"step": 6851
|
195 |
-
},
|
196 |
-
{
|
197 |
-
"epoch": 13.0,
|
198 |
-
"eval_accuracy": 0.5091743119266054,
|
199 |
-
"eval_loss": 15.828842163085938,
|
200 |
-
"eval_runtime": 1.592,
|
201 |
-
"eval_samples_per_second": 547.732,
|
202 |
-
"eval_steps_per_second": 4.397,
|
203 |
-
"step": 6851
|
204 |
-
},
|
205 |
-
{
|
206 |
-
"epoch": 14.0,
|
207 |
-
"learning_rate": 0.00035999999999999997,
|
208 |
-
"loss": 18.0703,
|
209 |
-
"step": 7378
|
210 |
-
},
|
211 |
-
{
|
212 |
-
"epoch": 14.0,
|
213 |
-
"eval_accuracy": 0.5091743119266054,
|
214 |
-
"eval_loss": 15.82912826538086,
|
215 |
-
"eval_runtime": 1.5956,
|
216 |
-
"eval_samples_per_second": 546.517,
|
217 |
-
"eval_steps_per_second": 4.387,
|
218 |
-
"step": 7378
|
219 |
-
},
|
220 |
-
{
|
221 |
-
"epoch": 15.0,
|
222 |
-
"learning_rate": 0.00035,
|
223 |
-
"loss": 18.044,
|
224 |
-
"step": 7905
|
225 |
-
},
|
226 |
-
{
|
227 |
-
"epoch": 15.0,
|
228 |
-
"eval_accuracy": 0.5091743119266054,
|
229 |
-
"eval_loss": 15.829415321350098,
|
230 |
-
"eval_runtime": 1.5932,
|
231 |
-
"eval_samples_per_second": 547.338,
|
232 |
-
"eval_steps_per_second": 4.394,
|
233 |
-
"step": 7905
|
234 |
-
},
|
235 |
-
{
|
236 |
-
"epoch": 16.0,
|
237 |
-
"learning_rate": 0.00034,
|
238 |
-
"loss": 18.0354,
|
239 |
-
"step": 8432
|
240 |
-
},
|
241 |
-
{
|
242 |
-
"epoch": 16.0,
|
243 |
-
"eval_accuracy": 0.5091743119266054,
|
244 |
-
"eval_loss": 15.829415321350098,
|
245 |
-
"eval_runtime": 1.5889,
|
246 |
-
"eval_samples_per_second": 548.804,
|
247 |
-
"eval_steps_per_second": 4.406,
|
248 |
-
"step": 8432
|
249 |
-
},
|
250 |
-
{
|
251 |
-
"epoch": 17.0,
|
252 |
-
"learning_rate": 0.00033,
|
253 |
-
"loss": 17.8629,
|
254 |
-
"step": 8959
|
255 |
-
},
|
256 |
-
{
|
257 |
-
"epoch": 17.0,
|
258 |
-
"eval_accuracy": 0.5091743119266054,
|
259 |
-
"eval_loss": 15.82970142364502,
|
260 |
-
"eval_runtime": 1.599,
|
261 |
-
"eval_samples_per_second": 545.355,
|
262 |
-
"eval_steps_per_second": 4.378,
|
263 |
-
"step": 8959
|
264 |
-
},
|
265 |
-
{
|
266 |
-
"epoch": 17.0,
|
267 |
-
"step": 8959,
|
268 |
-
"total_flos": 1.6956087751357235e+17,
|
269 |
-
"train_loss": 18.8269163690144,
|
270 |
-
"train_runtime": 6345.0217,
|
271 |
-
"train_samples_per_second": 530.723,
|
272 |
-
"train_steps_per_second": 4.153
|
273 |
}
|
274 |
],
|
275 |
"max_steps": 26350,
|
276 |
"num_train_epochs": 50,
|
277 |
-
"total_flos":
|
278 |
"trial_name": null,
|
279 |
"trial_params": null
|
280 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.4752452075481415,
|
3 |
+
"best_model_checkpoint": "hBERTv1_new_pretrain_sst2/checkpoint-1581",
|
4 |
+
"epoch": 8.0,
|
5 |
+
"global_step": 4216,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
9 |
"log_history": [
|
10 |
{
|
11 |
"epoch": 1.0,
|
12 |
+
"learning_rate": 3.9200000000000004e-05,
|
13 |
+
"loss": 0.4258,
|
14 |
"step": 527
|
15 |
},
|
16 |
{
|
17 |
"epoch": 1.0,
|
18 |
+
"eval_accuracy": 0.8061926605504587,
|
19 |
+
"eval_loss": 0.49944204092025757,
|
20 |
+
"eval_runtime": 1.5738,
|
21 |
+
"eval_samples_per_second": 554.064,
|
22 |
+
"eval_steps_per_second": 4.448,
|
23 |
"step": 527
|
24 |
},
|
25 |
{
|
26 |
"epoch": 2.0,
|
27 |
+
"learning_rate": 3.8400000000000005e-05,
|
28 |
+
"loss": 0.2652,
|
29 |
"step": 1054
|
30 |
},
|
31 |
{
|
32 |
"epoch": 2.0,
|
33 |
+
"eval_accuracy": 0.8004587155963303,
|
34 |
+
"eval_loss": 0.5633484125137329,
|
35 |
+
"eval_runtime": 1.5754,
|
36 |
+
"eval_samples_per_second": 553.509,
|
37 |
+
"eval_steps_per_second": 4.443,
|
38 |
"step": 1054
|
39 |
},
|
40 |
{
|
41 |
"epoch": 3.0,
|
42 |
+
"learning_rate": 3.76e-05,
|
43 |
+
"loss": 0.2214,
|
44 |
"step": 1581
|
45 |
},
|
46 |
{
|
47 |
"epoch": 3.0,
|
48 |
+
"eval_accuracy": 0.7878440366972477,
|
49 |
+
"eval_loss": 0.4752452075481415,
|
50 |
+
"eval_runtime": 1.5737,
|
51 |
+
"eval_samples_per_second": 554.116,
|
52 |
+
"eval_steps_per_second": 4.448,
|
53 |
"step": 1581
|
54 |
},
|
55 |
{
|
56 |
"epoch": 4.0,
|
57 |
+
"learning_rate": 3.680000000000001e-05,
|
58 |
+
"loss": 0.2014,
|
59 |
"step": 2108
|
60 |
},
|
61 |
{
|
62 |
"epoch": 4.0,
|
63 |
+
"eval_accuracy": 0.7889908256880734,
|
64 |
+
"eval_loss": 0.532899796962738,
|
65 |
+
"eval_runtime": 1.5757,
|
66 |
+
"eval_samples_per_second": 553.39,
|
67 |
+
"eval_steps_per_second": 4.442,
|
68 |
"step": 2108
|
69 |
},
|
70 |
{
|
71 |
"epoch": 5.0,
|
72 |
+
"learning_rate": 3.6e-05,
|
73 |
+
"loss": 0.1813,
|
74 |
"step": 2635
|
75 |
},
|
76 |
{
|
77 |
"epoch": 5.0,
|
78 |
+
"eval_accuracy": 0.7924311926605505,
|
79 |
+
"eval_loss": 0.541002631187439,
|
80 |
+
"eval_runtime": 1.5754,
|
81 |
+
"eval_samples_per_second": 553.495,
|
82 |
+
"eval_steps_per_second": 4.443,
|
83 |
"step": 2635
|
84 |
},
|
85 |
{
|
86 |
"epoch": 6.0,
|
87 |
+
"learning_rate": 3.52e-05,
|
88 |
+
"loss": 0.1679,
|
89 |
"step": 3162
|
90 |
},
|
91 |
{
|
92 |
"epoch": 6.0,
|
93 |
+
"eval_accuracy": 0.8084862385321101,
|
94 |
+
"eval_loss": 0.5856852531433105,
|
95 |
+
"eval_runtime": 1.575,
|
96 |
+
"eval_samples_per_second": 553.657,
|
97 |
+
"eval_steps_per_second": 4.444,
|
98 |
"step": 3162
|
99 |
},
|
100 |
{
|
101 |
"epoch": 7.0,
|
102 |
+
"learning_rate": 3.44e-05,
|
103 |
+
"loss": 0.1526,
|
104 |
"step": 3689
|
105 |
},
|
106 |
{
|
107 |
"epoch": 7.0,
|
108 |
+
"eval_accuracy": 0.8038990825688074,
|
109 |
+
"eval_loss": 0.7653970718383789,
|
110 |
+
"eval_runtime": 1.5719,
|
111 |
+
"eval_samples_per_second": 554.734,
|
112 |
+
"eval_steps_per_second": 4.453,
|
113 |
"step": 3689
|
114 |
},
|
115 |
{
|
116 |
"epoch": 8.0,
|
117 |
+
"learning_rate": 3.3600000000000004e-05,
|
118 |
+
"loss": 0.1405,
|
119 |
"step": 4216
|
120 |
},
|
121 |
{
|
122 |
"epoch": 8.0,
|
123 |
+
"eval_accuracy": 0.7878440366972477,
|
124 |
+
"eval_loss": 0.671506941318512,
|
125 |
+
"eval_runtime": 1.5757,
|
126 |
+
"eval_samples_per_second": 553.416,
|
127 |
+
"eval_steps_per_second": 4.443,
|
128 |
"step": 4216
|
129 |
},
|
130 |
{
|
131 |
+
"epoch": 8.0,
|
132 |
+
"step": 4216,
|
133 |
+
"total_flos": 7.979335412403405e+16,
|
134 |
+
"train_loss": 0.21951200025583806,
|
135 |
+
"train_runtime": 2980.0427,
|
136 |
+
"train_samples_per_second": 1130.001,
|
137 |
+
"train_steps_per_second": 8.842
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
}
|
139 |
],
|
140 |
"max_steps": 26350,
|
141 |
"num_train_epochs": 50,
|
142 |
+
"total_flos": 7.979335412403405e+16,
|
143 |
"trial_name": null,
|
144 |
"trial_params": null
|
145 |
}
|