gokulsrinivasagan commited on
Commit
5d42281
·
verified ·
1 Parent(s): 1772f33

End of training

Browse files
README.md CHANGED
@@ -1,15 +1,33 @@
1
  ---
2
  library_name: transformers
 
 
3
  license: apache-2.0
4
  base_model: google/bert_uncased_L-4_H-128_A-2
5
  tags:
6
  - generated_from_trainer
 
 
7
  metrics:
8
  - accuracy
9
  - f1
10
  model-index:
11
  - name: bert_uncased_L-4_H-128_A-2_mrpc
12
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -17,12 +35,12 @@ should probably proofread and complete it, then remove this comment. -->
17
 
18
  # bert_uncased_L-4_H-128_A-2_mrpc
19
 
20
- This model is a fine-tuned version of [google/bert_uncased_L-4_H-128_A-2](https://huggingface.co/google/bert_uncased_L-4_H-128_A-2) on an unknown dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 0.5588
23
- - Accuracy: 0.7525
24
- - F1: 0.8374
25
- - Combined Score: 0.7949
26
 
27
  ## Model description
28
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  license: apache-2.0
6
  base_model: google/bert_uncased_L-4_H-128_A-2
7
  tags:
8
  - generated_from_trainer
9
+ datasets:
10
+ - glue
11
  metrics:
12
  - accuracy
13
  - f1
14
  model-index:
15
  - name: bert_uncased_L-4_H-128_A-2_mrpc
16
+ results:
17
+ - task:
18
+ name: Text Classification
19
+ type: text-classification
20
+ dataset:
21
+ name: GLUE MRPC
22
+ type: glue
23
+ args: mrpc
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.7573529411764706
28
+ - name: F1
29
+ type: f1
30
+ value: 0.840064620355412
31
  ---
32
 
33
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
35
 
36
  # bert_uncased_L-4_H-128_A-2_mrpc
37
 
38
+ This model is a fine-tuned version of [google/bert_uncased_L-4_H-128_A-2](https://huggingface.co/google/bert_uncased_L-4_H-128_A-2) on the GLUE MRPC dataset.
39
  It achieves the following results on the evaluation set:
40
+ - Loss: 0.5327
41
+ - Accuracy: 0.7574
42
+ - F1: 0.8401
43
+ - Combined Score: 0.7987
44
 
45
  ## Model description
46
 
all_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 16.0,
3
+ "eval_accuracy": 0.7573529411764706,
4
+ "eval_combined_score": 0.7987087807659412,
5
+ "eval_f1": 0.840064620355412,
6
+ "eval_loss": 0.5326957106590271,
7
+ "eval_runtime": 0.1586,
8
+ "eval_samples": 408,
9
+ "eval_samples_per_second": 2573.297,
10
+ "eval_steps_per_second": 12.614,
11
+ "total_flos": 73027538583552.0,
12
+ "train_loss": 0.490890504916509,
13
+ "train_runtime": 29.3983,
14
+ "train_samples": 3668,
15
+ "train_samples_per_second": 6238.45,
16
+ "train_steps_per_second": 25.512
17
+ }
eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 16.0,
3
+ "eval_accuracy": 0.7573529411764706,
4
+ "eval_combined_score": 0.7987087807659412,
5
+ "eval_f1": 0.840064620355412,
6
+ "eval_loss": 0.5326957106590271,
7
+ "eval_runtime": 0.1586,
8
+ "eval_samples": 408,
9
+ "eval_samples_per_second": 2573.297,
10
+ "eval_steps_per_second": 12.614
11
+ }
logs/events.out.tfevents.1733335350.ki-g0008.1764072.21 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d9732eac57f5cd01615211bea80b46e465018de2041b1b7ea54ad713f95ca8a
3
+ size 515
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 16.0,
3
+ "total_flos": 73027538583552.0,
4
+ "train_loss": 0.490890504916509,
5
+ "train_runtime": 29.3983,
6
+ "train_samples": 3668,
7
+ "train_samples_per_second": 6238.45,
8
+ "train_steps_per_second": 25.512
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5326957106590271,
3
+ "best_model_checkpoint": "bert_uncased_L-4_H-128_A-2_mrpc/checkpoint-165",
4
+ "epoch": 16.0,
5
+ "eval_steps": 500,
6
+ "global_step": 240,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "grad_norm": 0.4740382730960846,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.6437,
16
+ "step": 15
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.6838235294117647,
21
+ "eval_combined_score": 0.7480253018237863,
22
+ "eval_f1": 0.8122270742358079,
23
+ "eval_loss": 0.6180539727210999,
24
+ "eval_runtime": 0.1512,
25
+ "eval_samples_per_second": 2698.339,
26
+ "eval_steps_per_second": 13.227,
27
+ "step": 15
28
+ },
29
+ {
30
+ "epoch": 2.0,
31
+ "grad_norm": 0.8819882273674011,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.6197,
34
+ "step": 30
35
+ },
36
+ {
37
+ "epoch": 2.0,
38
+ "eval_accuracy": 0.6911764705882353,
39
+ "eval_combined_score": 0.7534829721362228,
40
+ "eval_f1": 0.8157894736842105,
41
+ "eval_loss": 0.6046980023384094,
42
+ "eval_runtime": 0.1487,
43
+ "eval_samples_per_second": 2742.909,
44
+ "eval_steps_per_second": 13.446,
45
+ "step": 30
46
+ },
47
+ {
48
+ "epoch": 3.0,
49
+ "grad_norm": 2.03017258644104,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.595,
52
+ "step": 45
53
+ },
54
+ {
55
+ "epoch": 3.0,
56
+ "eval_accuracy": 0.6985294117647058,
57
+ "eval_combined_score": 0.7573364547612766,
58
+ "eval_f1": 0.8161434977578476,
59
+ "eval_loss": 0.5876799821853638,
60
+ "eval_runtime": 0.1465,
61
+ "eval_samples_per_second": 2785.842,
62
+ "eval_steps_per_second": 13.656,
63
+ "step": 45
64
+ },
65
+ {
66
+ "epoch": 4.0,
67
+ "grad_norm": 0.8701429963111877,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.582,
70
+ "step": 60
71
+ },
72
+ {
73
+ "epoch": 4.0,
74
+ "eval_accuracy": 0.7279411764705882,
75
+ "eval_combined_score": 0.7781900627329756,
76
+ "eval_f1": 0.8284389489953632,
77
+ "eval_loss": 0.5686801075935364,
78
+ "eval_runtime": 0.1522,
79
+ "eval_samples_per_second": 2680.994,
80
+ "eval_steps_per_second": 13.142,
81
+ "step": 60
82
+ },
83
+ {
84
+ "epoch": 5.0,
85
+ "grad_norm": 1.5039589405059814,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.5617,
88
+ "step": 75
89
+ },
90
+ {
91
+ "epoch": 5.0,
92
+ "eval_accuracy": 0.7279411764705882,
93
+ "eval_combined_score": 0.778717132014096,
94
+ "eval_f1": 0.8294930875576038,
95
+ "eval_loss": 0.5593908429145813,
96
+ "eval_runtime": 0.1469,
97
+ "eval_samples_per_second": 2777.387,
98
+ "eval_steps_per_second": 13.615,
99
+ "step": 75
100
+ },
101
+ {
102
+ "epoch": 6.0,
103
+ "grad_norm": 1.3441897630691528,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.5409,
106
+ "step": 90
107
+ },
108
+ {
109
+ "epoch": 6.0,
110
+ "eval_accuracy": 0.7132352941176471,
111
+ "eval_combined_score": 0.7670311233222232,
112
+ "eval_f1": 0.8208269525267994,
113
+ "eval_loss": 0.5550417304039001,
114
+ "eval_runtime": 0.1443,
115
+ "eval_samples_per_second": 2828.2,
116
+ "eval_steps_per_second": 13.864,
117
+ "step": 90
118
+ },
119
+ {
120
+ "epoch": 7.0,
121
+ "grad_norm": 2.370797872543335,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.5213,
124
+ "step": 105
125
+ },
126
+ {
127
+ "epoch": 7.0,
128
+ "eval_accuracy": 0.7254901960784313,
129
+ "eval_combined_score": 0.7749708033683693,
130
+ "eval_f1": 0.8244514106583073,
131
+ "eval_loss": 0.541745662689209,
132
+ "eval_runtime": 0.1475,
133
+ "eval_samples_per_second": 2766.445,
134
+ "eval_steps_per_second": 13.561,
135
+ "step": 105
136
+ },
137
+ {
138
+ "epoch": 8.0,
139
+ "grad_norm": 3.4701988697052,
140
+ "learning_rate": 4.2e-05,
141
+ "loss": 0.4968,
142
+ "step": 120
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "eval_accuracy": 0.7328431372549019,
147
+ "eval_combined_score": 0.7819254445964432,
148
+ "eval_f1": 0.8310077519379845,
149
+ "eval_loss": 0.5529593825340271,
150
+ "eval_runtime": 0.1516,
151
+ "eval_samples_per_second": 2690.55,
152
+ "eval_steps_per_second": 13.189,
153
+ "step": 120
154
+ },
155
+ {
156
+ "epoch": 9.0,
157
+ "grad_norm": 2.4742236137390137,
158
+ "learning_rate": 4.1e-05,
159
+ "loss": 0.4741,
160
+ "step": 135
161
+ },
162
+ {
163
+ "epoch": 9.0,
164
+ "eval_accuracy": 0.7352941176470589,
165
+ "eval_combined_score": 0.7843137254901962,
166
+ "eval_f1": 0.8333333333333334,
167
+ "eval_loss": 0.5579618811607361,
168
+ "eval_runtime": 0.1396,
169
+ "eval_samples_per_second": 2922.56,
170
+ "eval_steps_per_second": 14.326,
171
+ "step": 135
172
+ },
173
+ {
174
+ "epoch": 10.0,
175
+ "grad_norm": 3.9524009227752686,
176
+ "learning_rate": 4e-05,
177
+ "loss": 0.4545,
178
+ "step": 150
179
+ },
180
+ {
181
+ "epoch": 10.0,
182
+ "eval_accuracy": 0.7549019607843137,
183
+ "eval_combined_score": 0.7973227752639517,
184
+ "eval_f1": 0.8397435897435896,
185
+ "eval_loss": 0.539033830165863,
186
+ "eval_runtime": 0.1482,
187
+ "eval_samples_per_second": 2753.474,
188
+ "eval_steps_per_second": 13.497,
189
+ "step": 150
190
+ },
191
+ {
192
+ "epoch": 11.0,
193
+ "grad_norm": 2.9584977626800537,
194
+ "learning_rate": 3.9000000000000006e-05,
195
+ "loss": 0.4366,
196
+ "step": 165
197
+ },
198
+ {
199
+ "epoch": 11.0,
200
+ "eval_accuracy": 0.7573529411764706,
201
+ "eval_combined_score": 0.7987087807659412,
202
+ "eval_f1": 0.840064620355412,
203
+ "eval_loss": 0.5326957106590271,
204
+ "eval_runtime": 0.1409,
205
+ "eval_samples_per_second": 2895.937,
206
+ "eval_steps_per_second": 14.196,
207
+ "step": 165
208
+ },
209
+ {
210
+ "epoch": 12.0,
211
+ "grad_norm": 5.0168890953063965,
212
+ "learning_rate": 3.8e-05,
213
+ "loss": 0.4206,
214
+ "step": 180
215
+ },
216
+ {
217
+ "epoch": 12.0,
218
+ "eval_accuracy": 0.7598039215686274,
219
+ "eval_combined_score": 0.8011238257360822,
220
+ "eval_f1": 0.842443729903537,
221
+ "eval_loss": 0.535027027130127,
222
+ "eval_runtime": 0.1403,
223
+ "eval_samples_per_second": 2907.08,
224
+ "eval_steps_per_second": 14.25,
225
+ "step": 180
226
+ },
227
+ {
228
+ "epoch": 13.0,
229
+ "grad_norm": 2.828728437423706,
230
+ "learning_rate": 3.7e-05,
231
+ "loss": 0.397,
232
+ "step": 195
233
+ },
234
+ {
235
+ "epoch": 13.0,
236
+ "eval_accuracy": 0.7549019607843137,
237
+ "eval_combined_score": 0.7998112288393618,
238
+ "eval_f1": 0.84472049689441,
239
+ "eval_loss": 0.5649162530899048,
240
+ "eval_runtime": 0.1409,
241
+ "eval_samples_per_second": 2895.59,
242
+ "eval_steps_per_second": 14.194,
243
+ "step": 195
244
+ },
245
+ {
246
+ "epoch": 14.0,
247
+ "grad_norm": 6.568640232086182,
248
+ "learning_rate": 3.6e-05,
249
+ "loss": 0.3873,
250
+ "step": 210
251
+ },
252
+ {
253
+ "epoch": 14.0,
254
+ "eval_accuracy": 0.7622549019607843,
255
+ "eval_combined_score": 0.8052276074749147,
256
+ "eval_f1": 0.8482003129890453,
257
+ "eval_loss": 0.5601567029953003,
258
+ "eval_runtime": 0.1451,
259
+ "eval_samples_per_second": 2812.318,
260
+ "eval_steps_per_second": 13.786,
261
+ "step": 210
262
+ },
263
+ {
264
+ "epoch": 15.0,
265
+ "grad_norm": 3.909018039703369,
266
+ "learning_rate": 3.5e-05,
267
+ "loss": 0.3725,
268
+ "step": 225
269
+ },
270
+ {
271
+ "epoch": 15.0,
272
+ "eval_accuracy": 0.7524509803921569,
273
+ "eval_combined_score": 0.7961937944750008,
274
+ "eval_f1": 0.8399366085578448,
275
+ "eval_loss": 0.5621684193611145,
276
+ "eval_runtime": 0.1459,
277
+ "eval_samples_per_second": 2795.865,
278
+ "eval_steps_per_second": 13.705,
279
+ "step": 225
280
+ },
281
+ {
282
+ "epoch": 16.0,
283
+ "grad_norm": 4.69514799118042,
284
+ "learning_rate": 3.4000000000000007e-05,
285
+ "loss": 0.3506,
286
+ "step": 240
287
+ },
288
+ {
289
+ "epoch": 16.0,
290
+ "eval_accuracy": 0.7524509803921569,
291
+ "eval_combined_score": 0.7949050393104101,
292
+ "eval_f1": 0.8373590982286634,
293
+ "eval_loss": 0.5587612390518188,
294
+ "eval_runtime": 0.1412,
295
+ "eval_samples_per_second": 2889.737,
296
+ "eval_steps_per_second": 14.165,
297
+ "step": 240
298
+ },
299
+ {
300
+ "epoch": 16.0,
301
+ "step": 240,
302
+ "total_flos": 73027538583552.0,
303
+ "train_loss": 0.490890504916509,
304
+ "train_runtime": 29.3983,
305
+ "train_samples_per_second": 6238.45,
306
+ "train_steps_per_second": 25.512
307
+ }
308
+ ],
309
+ "logging_steps": 1,
310
+ "max_steps": 750,
311
+ "num_input_tokens_seen": 0,
312
+ "num_train_epochs": 50,
313
+ "save_steps": 500,
314
+ "stateful_callbacks": {
315
+ "EarlyStoppingCallback": {
316
+ "args": {
317
+ "early_stopping_patience": 5,
318
+ "early_stopping_threshold": 0.0
319
+ },
320
+ "attributes": {
321
+ "early_stopping_patience_counter": 5
322
+ }
323
+ },
324
+ "TrainerControl": {
325
+ "args": {
326
+ "should_epoch_stop": false,
327
+ "should_evaluate": false,
328
+ "should_log": false,
329
+ "should_save": true,
330
+ "should_training_stop": true
331
+ },
332
+ "attributes": {}
333
+ }
334
+ },
335
+ "total_flos": 73027538583552.0,
336
+ "train_batch_size": 256,
337
+ "trial_name": null,
338
+ "trial_params": null
339
+ }