gokulsrinivasagan commited on
Commit
c757bee
·
verified ·
1 Parent(s): 43a7b4d

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
  - matthews_correlation
9
  - accuracy
10
  model-index:
11
  - name: bert_uncased_L-4_H-128_A-2_cola
12
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -17,11 +35,11 @@ should probably proofread and complete it, then remove this comment. -->
17
 
18
  # bert_uncased_L-4_H-128_A-2_cola
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.6383
23
- - Matthews Correlation: 0.1031
24
- - Accuracy: 0.6548
25
 
26
  ## Model description
27
 
 
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
  - matthews_correlation
13
  - accuracy
14
  model-index:
15
  - name: bert_uncased_L-4_H-128_A-2_cola
16
+ results:
17
+ - task:
18
+ name: Text Classification
19
+ type: text-classification
20
+ dataset:
21
+ name: GLUE COLA
22
+ type: glue
23
+ args: cola
24
+ metrics:
25
+ - name: Matthews Correlation
26
+ type: matthews_correlation
27
+ value: 0.0
28
+ - name: Accuracy
29
+ type: accuracy
30
+ value: 0.6912751793861389
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_cola
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 COLA dataset.
39
  It achieves the following results on the evaluation set:
40
+ - Loss: 0.6092
41
+ - Matthews Correlation: 0.0
42
+ - Accuracy: 0.6913
43
 
44
  ## Model description
45
 
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 11.0,
3
+ "eval_accuracy": 0.6912751793861389,
4
+ "eval_loss": 0.6091980338096619,
5
+ "eval_matthews_correlation": 0.0,
6
+ "eval_runtime": 0.3671,
7
+ "eval_samples": 1043,
8
+ "eval_samples_per_second": 2841.365,
9
+ "eval_steps_per_second": 13.621,
10
+ "total_flos": 117043404217344.0,
11
+ "train_loss": 0.5832455527973684,
12
+ "train_runtime": 45.3448,
13
+ "train_samples": 8551,
14
+ "train_samples_per_second": 9428.866,
15
+ "train_steps_per_second": 37.491
16
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 11.0,
3
+ "eval_accuracy": 0.6912751793861389,
4
+ "eval_loss": 0.6091980338096619,
5
+ "eval_matthews_correlation": 0.0,
6
+ "eval_runtime": 0.3671,
7
+ "eval_samples": 1043,
8
+ "eval_samples_per_second": 2841.365,
9
+ "eval_steps_per_second": 13.621
10
+ }
logs/events.out.tfevents.1733335291.ki-g0008.1764072.19 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f34051573b79a18854eb85286c42044bbc2bcf99b7ce612d68691da7200c75dc
3
+ size 475
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 11.0,
3
+ "total_flos": 117043404217344.0,
4
+ "train_loss": 0.5832455527973684,
5
+ "train_runtime": 45.3448,
6
+ "train_samples": 8551,
7
+ "train_samples_per_second": 9428.866,
8
+ "train_steps_per_second": 37.491
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6091980338096619,
3
+ "best_model_checkpoint": "bert_uncased_L-4_H-128_A-2_cola/checkpoint-204",
4
+ "epoch": 11.0,
5
+ "eval_steps": 500,
6
+ "global_step": 374,
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.7114630937576294,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.6362,
16
+ "step": 34
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.6912751793861389,
21
+ "eval_loss": 0.6191275119781494,
22
+ "eval_matthews_correlation": 0.0,
23
+ "eval_runtime": 0.368,
24
+ "eval_samples_per_second": 2834.557,
25
+ "eval_steps_per_second": 13.588,
26
+ "step": 34
27
+ },
28
+ {
29
+ "epoch": 2.0,
30
+ "grad_norm": 0.6178502440452576,
31
+ "learning_rate": 4.8e-05,
32
+ "loss": 0.608,
33
+ "step": 68
34
+ },
35
+ {
36
+ "epoch": 2.0,
37
+ "eval_accuracy": 0.6912751793861389,
38
+ "eval_loss": 0.6190881729125977,
39
+ "eval_matthews_correlation": 0.0,
40
+ "eval_runtime": 0.359,
41
+ "eval_samples_per_second": 2905.511,
42
+ "eval_steps_per_second": 13.929,
43
+ "step": 68
44
+ },
45
+ {
46
+ "epoch": 3.0,
47
+ "grad_norm": 0.42143625020980835,
48
+ "learning_rate": 4.7e-05,
49
+ "loss": 0.607,
50
+ "step": 102
51
+ },
52
+ {
53
+ "epoch": 3.0,
54
+ "eval_accuracy": 0.6912751793861389,
55
+ "eval_loss": 0.616786777973175,
56
+ "eval_matthews_correlation": 0.0,
57
+ "eval_runtime": 0.3564,
58
+ "eval_samples_per_second": 2926.415,
59
+ "eval_steps_per_second": 14.029,
60
+ "step": 102
61
+ },
62
+ {
63
+ "epoch": 4.0,
64
+ "grad_norm": 0.5581986904144287,
65
+ "learning_rate": 4.600000000000001e-05,
66
+ "loss": 0.6055,
67
+ "step": 136
68
+ },
69
+ {
70
+ "epoch": 4.0,
71
+ "eval_accuracy": 0.6912751793861389,
72
+ "eval_loss": 0.6145115494728088,
73
+ "eval_matthews_correlation": 0.0,
74
+ "eval_runtime": 0.3604,
75
+ "eval_samples_per_second": 2894.371,
76
+ "eval_steps_per_second": 13.875,
77
+ "step": 136
78
+ },
79
+ {
80
+ "epoch": 5.0,
81
+ "grad_norm": 0.6049013137817383,
82
+ "learning_rate": 4.5e-05,
83
+ "loss": 0.6009,
84
+ "step": 170
85
+ },
86
+ {
87
+ "epoch": 5.0,
88
+ "eval_accuracy": 0.6912751793861389,
89
+ "eval_loss": 0.6107176542282104,
90
+ "eval_matthews_correlation": 0.0,
91
+ "eval_runtime": 0.3593,
92
+ "eval_samples_per_second": 2902.792,
93
+ "eval_steps_per_second": 13.916,
94
+ "step": 170
95
+ },
96
+ {
97
+ "epoch": 6.0,
98
+ "grad_norm": 0.7587459087371826,
99
+ "learning_rate": 4.4000000000000006e-05,
100
+ "loss": 0.5939,
101
+ "step": 204
102
+ },
103
+ {
104
+ "epoch": 6.0,
105
+ "eval_accuracy": 0.6912751793861389,
106
+ "eval_loss": 0.6091980338096619,
107
+ "eval_matthews_correlation": 0.0,
108
+ "eval_runtime": 0.3601,
109
+ "eval_samples_per_second": 2896.749,
110
+ "eval_steps_per_second": 13.887,
111
+ "step": 204
112
+ },
113
+ {
114
+ "epoch": 7.0,
115
+ "grad_norm": 1.9767988920211792,
116
+ "learning_rate": 4.3e-05,
117
+ "loss": 0.5799,
118
+ "step": 238
119
+ },
120
+ {
121
+ "epoch": 7.0,
122
+ "eval_accuracy": 0.6951102614402771,
123
+ "eval_loss": 0.616756796836853,
124
+ "eval_matthews_correlation": 0.0854532539112171,
125
+ "eval_runtime": 0.3674,
126
+ "eval_samples_per_second": 2838.795,
127
+ "eval_steps_per_second": 13.609,
128
+ "step": 238
129
+ },
130
+ {
131
+ "epoch": 8.0,
132
+ "grad_norm": 1.1349046230316162,
133
+ "learning_rate": 4.2e-05,
134
+ "loss": 0.5679,
135
+ "step": 272
136
+ },
137
+ {
138
+ "epoch": 8.0,
139
+ "eval_accuracy": 0.6912751793861389,
140
+ "eval_loss": 0.6161894202232361,
141
+ "eval_matthews_correlation": 0.08481153787433816,
142
+ "eval_runtime": 0.364,
143
+ "eval_samples_per_second": 2865.523,
144
+ "eval_steps_per_second": 13.737,
145
+ "step": 272
146
+ },
147
+ {
148
+ "epoch": 9.0,
149
+ "grad_norm": 1.366595983505249,
150
+ "learning_rate": 4.1e-05,
151
+ "loss": 0.5553,
152
+ "step": 306
153
+ },
154
+ {
155
+ "epoch": 9.0,
156
+ "eval_accuracy": 0.6855225563049316,
157
+ "eval_loss": 0.623590886592865,
158
+ "eval_matthews_correlation": 0.06376490253157786,
159
+ "eval_runtime": 0.3742,
160
+ "eval_samples_per_second": 2787.105,
161
+ "eval_steps_per_second": 13.361,
162
+ "step": 306
163
+ },
164
+ {
165
+ "epoch": 10.0,
166
+ "grad_norm": 1.5425918102264404,
167
+ "learning_rate": 4e-05,
168
+ "loss": 0.5361,
169
+ "step": 340
170
+ },
171
+ {
172
+ "epoch": 10.0,
173
+ "eval_accuracy": 0.6586769223213196,
174
+ "eval_loss": 0.6316266655921936,
175
+ "eval_matthews_correlation": 0.08369053019265868,
176
+ "eval_runtime": 0.3592,
177
+ "eval_samples_per_second": 2903.742,
178
+ "eval_steps_per_second": 13.92,
179
+ "step": 340
180
+ },
181
+ {
182
+ "epoch": 11.0,
183
+ "grad_norm": 2.3495326042175293,
184
+ "learning_rate": 3.9000000000000006e-05,
185
+ "loss": 0.5249,
186
+ "step": 374
187
+ },
188
+ {
189
+ "epoch": 11.0,
190
+ "eval_accuracy": 0.6548417806625366,
191
+ "eval_loss": 0.638280987739563,
192
+ "eval_matthews_correlation": 0.10313429660779676,
193
+ "eval_runtime": 0.3611,
194
+ "eval_samples_per_second": 2888.509,
195
+ "eval_steps_per_second": 13.847,
196
+ "step": 374
197
+ },
198
+ {
199
+ "epoch": 11.0,
200
+ "step": 374,
201
+ "total_flos": 117043404217344.0,
202
+ "train_loss": 0.5832455527973684,
203
+ "train_runtime": 45.3448,
204
+ "train_samples_per_second": 9428.866,
205
+ "train_steps_per_second": 37.491
206
+ }
207
+ ],
208
+ "logging_steps": 1,
209
+ "max_steps": 1700,
210
+ "num_input_tokens_seen": 0,
211
+ "num_train_epochs": 50,
212
+ "save_steps": 500,
213
+ "stateful_callbacks": {
214
+ "EarlyStoppingCallback": {
215
+ "args": {
216
+ "early_stopping_patience": 5,
217
+ "early_stopping_threshold": 0.0
218
+ },
219
+ "attributes": {
220
+ "early_stopping_patience_counter": 5
221
+ }
222
+ },
223
+ "TrainerControl": {
224
+ "args": {
225
+ "should_epoch_stop": false,
226
+ "should_evaluate": false,
227
+ "should_log": false,
228
+ "should_save": true,
229
+ "should_training_stop": true
230
+ },
231
+ "attributes": {}
232
+ }
233
+ },
234
+ "total_flos": 117043404217344.0,
235
+ "train_batch_size": 256,
236
+ "trial_name": null,
237
+ "trial_params": null
238
+ }