gokulsrinivasagan commited on
Commit
4097e74
·
verified ·
1 Parent(s): 4930f84

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-256_A-4
5
  tags:
6
  - generated_from_trainer
 
 
7
  metrics:
8
  - accuracy
9
  - f1
10
  model-index:
11
  - name: bert_uncased_L-4_H-256_A-4_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-256_A-4_mrpc
19
 
20
- This model is a fine-tuned version of [google/bert_uncased_L-4_H-256_A-4](https://huggingface.co/google/bert_uncased_L-4_H-256_A-4) on an unknown dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 0.5756
23
- - Accuracy: 0.7794
24
- - F1: 0.8469
25
- - Combined Score: 0.8132
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-256_A-4
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-256_A-4_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.7720588235294118
28
+ - name: F1
29
+ type: f1
30
+ value: 0.8393782383419689
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-256_A-4_mrpc
37
 
38
+ This model is a fine-tuned version of [google/bert_uncased_L-4_H-256_A-4](https://huggingface.co/google/bert_uncased_L-4_H-256_A-4) on the GLUE MRPC dataset.
39
  It achieves the following results on the evaluation set:
40
+ - Loss: 0.5071
41
+ - Accuracy: 0.7721
42
+ - F1: 0.8394
43
+ - Combined Score: 0.8057
44
 
45
  ## Model description
46
 
all_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 12.0,
3
+ "eval_accuracy": 0.7720588235294118,
4
+ "eval_combined_score": 0.8057185309356903,
5
+ "eval_f1": 0.8393782383419689,
6
+ "eval_loss": 0.5070627331733704,
7
+ "eval_runtime": 0.1551,
8
+ "eval_samples": 408,
9
+ "eval_samples_per_second": 2630.167,
10
+ "eval_steps_per_second": 12.893,
11
+ "total_flos": 218095665758208.0,
12
+ "train_loss": 0.4133431394894918,
13
+ "train_runtime": 25.962,
14
+ "train_samples": 3668,
15
+ "train_samples_per_second": 7064.168,
16
+ "train_steps_per_second": 28.888
17
+ }
eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 12.0,
3
+ "eval_accuracy": 0.7720588235294118,
4
+ "eval_combined_score": 0.8057185309356903,
5
+ "eval_f1": 0.8393782383419689,
6
+ "eval_loss": 0.5070627331733704,
7
+ "eval_runtime": 0.1551,
8
+ "eval_samples": 408,
9
+ "eval_samples_per_second": 2630.167,
10
+ "eval_steps_per_second": 12.893
11
+ }
logs/events.out.tfevents.1733330332.ki-g0008.1761130.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a83434d7b4163d5d1b34f524675b3e6e51a54461675f6ebf26d3bd81aef164c6
3
+ size 515
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 12.0,
3
+ "total_flos": 218095665758208.0,
4
+ "train_loss": 0.4133431394894918,
5
+ "train_runtime": 25.962,
6
+ "train_samples": 3668,
7
+ "train_samples_per_second": 7064.168,
8
+ "train_steps_per_second": 28.888
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5070627331733704,
3
+ "best_model_checkpoint": "bert_uncased_L-4_H-256_A-4_mrpc/checkpoint-105",
4
+ "epoch": 12.0,
5
+ "eval_steps": 500,
6
+ "global_step": 180,
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.9642578363418579,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.6375,
16
+ "step": 15
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.6936274509803921,
21
+ "eval_combined_score": 0.7553056727815577,
22
+ "eval_f1": 0.8169838945827232,
23
+ "eval_loss": 0.6024385690689087,
24
+ "eval_runtime": 0.156,
25
+ "eval_samples_per_second": 2615.794,
26
+ "eval_steps_per_second": 12.823,
27
+ "step": 15
28
+ },
29
+ {
30
+ "epoch": 2.0,
31
+ "grad_norm": 1.6478321552276611,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.594,
34
+ "step": 30
35
+ },
36
+ {
37
+ "epoch": 2.0,
38
+ "eval_accuracy": 0.6985294117647058,
39
+ "eval_combined_score": 0.7576104584904007,
40
+ "eval_f1": 0.8166915052160953,
41
+ "eval_loss": 0.5776079297065735,
42
+ "eval_runtime": 0.1598,
43
+ "eval_samples_per_second": 2553.282,
44
+ "eval_steps_per_second": 12.516,
45
+ "step": 30
46
+ },
47
+ {
48
+ "epoch": 3.0,
49
+ "grad_norm": 2.1746251583099365,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.5504,
52
+ "step": 45
53
+ },
54
+ {
55
+ "epoch": 3.0,
56
+ "eval_accuracy": 0.7279411764705882,
57
+ "eval_combined_score": 0.7776564358247187,
58
+ "eval_f1": 0.827371695178849,
59
+ "eval_loss": 0.5475428104400635,
60
+ "eval_runtime": 0.1486,
61
+ "eval_samples_per_second": 2745.65,
62
+ "eval_steps_per_second": 13.459,
63
+ "step": 45
64
+ },
65
+ {
66
+ "epoch": 4.0,
67
+ "grad_norm": 2.050297737121582,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.5155,
70
+ "step": 60
71
+ },
72
+ {
73
+ "epoch": 4.0,
74
+ "eval_accuracy": 0.7598039215686274,
75
+ "eval_combined_score": 0.7971316905140435,
76
+ "eval_f1": 0.8344594594594595,
77
+ "eval_loss": 0.5082876086235046,
78
+ "eval_runtime": 0.1558,
79
+ "eval_samples_per_second": 2618.432,
80
+ "eval_steps_per_second": 12.835,
81
+ "step": 60
82
+ },
83
+ {
84
+ "epoch": 5.0,
85
+ "grad_norm": 4.48883056640625,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.4668,
88
+ "step": 75
89
+ },
90
+ {
91
+ "epoch": 5.0,
92
+ "eval_accuracy": 0.7598039215686274,
93
+ "eval_combined_score": 0.7971316905140435,
94
+ "eval_f1": 0.8344594594594595,
95
+ "eval_loss": 0.5116193890571594,
96
+ "eval_runtime": 0.1902,
97
+ "eval_samples_per_second": 2144.58,
98
+ "eval_steps_per_second": 10.513,
99
+ "step": 75
100
+ },
101
+ {
102
+ "epoch": 6.0,
103
+ "grad_norm": 2.939922332763672,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.4292,
106
+ "step": 90
107
+ },
108
+ {
109
+ "epoch": 6.0,
110
+ "eval_accuracy": 0.7696078431372549,
111
+ "eval_combined_score": 0.8064705882352942,
112
+ "eval_f1": 0.8433333333333334,
113
+ "eval_loss": 0.5237414836883545,
114
+ "eval_runtime": 0.1477,
115
+ "eval_samples_per_second": 2761.45,
116
+ "eval_steps_per_second": 13.537,
117
+ "step": 90
118
+ },
119
+ {
120
+ "epoch": 7.0,
121
+ "grad_norm": 3.8994574546813965,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.3859,
124
+ "step": 105
125
+ },
126
+ {
127
+ "epoch": 7.0,
128
+ "eval_accuracy": 0.7720588235294118,
129
+ "eval_combined_score": 0.8057185309356903,
130
+ "eval_f1": 0.8393782383419689,
131
+ "eval_loss": 0.5070627331733704,
132
+ "eval_runtime": 0.1535,
133
+ "eval_samples_per_second": 2658.103,
134
+ "eval_steps_per_second": 13.03,
135
+ "step": 105
136
+ },
137
+ {
138
+ "epoch": 8.0,
139
+ "grad_norm": 4.1840901374816895,
140
+ "learning_rate": 4.2e-05,
141
+ "loss": 0.3455,
142
+ "step": 120
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "eval_accuracy": 0.7720588235294118,
147
+ "eval_combined_score": 0.8073492087190206,
148
+ "eval_f1": 0.8426395939086294,
149
+ "eval_loss": 0.5299550890922546,
150
+ "eval_runtime": 0.1493,
151
+ "eval_samples_per_second": 2733.148,
152
+ "eval_steps_per_second": 13.398,
153
+ "step": 120
154
+ },
155
+ {
156
+ "epoch": 9.0,
157
+ "grad_norm": 4.495199203491211,
158
+ "learning_rate": 4.1e-05,
159
+ "loss": 0.3049,
160
+ "step": 135
161
+ },
162
+ {
163
+ "epoch": 9.0,
164
+ "eval_accuracy": 0.7720588235294118,
165
+ "eval_combined_score": 0.8065422322775264,
166
+ "eval_f1": 0.841025641025641,
167
+ "eval_loss": 0.5408151745796204,
168
+ "eval_runtime": 0.1508,
169
+ "eval_samples_per_second": 2706.105,
170
+ "eval_steps_per_second": 13.265,
171
+ "step": 135
172
+ },
173
+ {
174
+ "epoch": 10.0,
175
+ "grad_norm": 3.322133779525757,
176
+ "learning_rate": 4e-05,
177
+ "loss": 0.2735,
178
+ "step": 150
179
+ },
180
+ {
181
+ "epoch": 10.0,
182
+ "eval_accuracy": 0.7745098039215687,
183
+ "eval_combined_score": 0.8084877786731131,
184
+ "eval_f1": 0.8424657534246576,
185
+ "eval_loss": 0.5336543321609497,
186
+ "eval_runtime": 0.1546,
187
+ "eval_samples_per_second": 2638.334,
188
+ "eval_steps_per_second": 12.933,
189
+ "step": 150
190
+ },
191
+ {
192
+ "epoch": 11.0,
193
+ "grad_norm": 8.718647956848145,
194
+ "learning_rate": 3.9000000000000006e-05,
195
+ "loss": 0.2454,
196
+ "step": 165
197
+ },
198
+ {
199
+ "epoch": 11.0,
200
+ "eval_accuracy": 0.7647058823529411,
201
+ "eval_combined_score": 0.8023529411764705,
202
+ "eval_f1": 0.84,
203
+ "eval_loss": 0.5962408185005188,
204
+ "eval_runtime": 0.1487,
205
+ "eval_samples_per_second": 2744.506,
206
+ "eval_steps_per_second": 13.453,
207
+ "step": 165
208
+ },
209
+ {
210
+ "epoch": 12.0,
211
+ "grad_norm": 5.987424373626709,
212
+ "learning_rate": 3.8e-05,
213
+ "loss": 0.2117,
214
+ "step": 180
215
+ },
216
+ {
217
+ "epoch": 12.0,
218
+ "eval_accuracy": 0.7794117647058824,
219
+ "eval_combined_score": 0.8131752701080432,
220
+ "eval_f1": 0.846938775510204,
221
+ "eval_loss": 0.5755988955497742,
222
+ "eval_runtime": 0.1478,
223
+ "eval_samples_per_second": 2761.343,
224
+ "eval_steps_per_second": 13.536,
225
+ "step": 180
226
+ },
227
+ {
228
+ "epoch": 12.0,
229
+ "step": 180,
230
+ "total_flos": 218095665758208.0,
231
+ "train_loss": 0.4133431394894918,
232
+ "train_runtime": 25.962,
233
+ "train_samples_per_second": 7064.168,
234
+ "train_steps_per_second": 28.888
235
+ }
236
+ ],
237
+ "logging_steps": 1,
238
+ "max_steps": 750,
239
+ "num_input_tokens_seen": 0,
240
+ "num_train_epochs": 50,
241
+ "save_steps": 500,
242
+ "stateful_callbacks": {
243
+ "EarlyStoppingCallback": {
244
+ "args": {
245
+ "early_stopping_patience": 5,
246
+ "early_stopping_threshold": 0.0
247
+ },
248
+ "attributes": {
249
+ "early_stopping_patience_counter": 5
250
+ }
251
+ },
252
+ "TrainerControl": {
253
+ "args": {
254
+ "should_epoch_stop": false,
255
+ "should_evaluate": false,
256
+ "should_log": false,
257
+ "should_save": true,
258
+ "should_training_stop": true
259
+ },
260
+ "attributes": {}
261
+ }
262
+ },
263
+ "total_flos": 218095665758208.0,
264
+ "train_batch_size": 256,
265
+ "trial_name": null,
266
+ "trial_params": null
267
+ }