gokulsrinivasagan commited on
Commit
7a6efb6
·
verified ·
1 Parent(s): 0bb9954

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,29 @@
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
  model-index:
10
  - name: bert_uncased_L-4_H-128_A-2_mnli
11
- results: []
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -16,10 +31,10 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # bert_uncased_L-4_H-128_A-2_mnli
18
 
19
- 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.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.6699
22
- - Accuracy: 0.7343
23
 
24
  ## Model description
25
 
 
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
  model-index:
14
  - name: bert_uncased_L-4_H-128_A-2_mnli
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: GLUE MNLI
21
+ type: glue
22
+ args: mnli
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.7331163547599675
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
31
 
32
  # bert_uncased_L-4_H-128_A-2_mnli
33
 
34
+ 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 MNLI dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.6425
37
+ - Accuracy: 0.7331
38
 
39
  ## Model description
40
 
all_results.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 13.0,
3
+ "epoch_mm": 13.0,
4
+ "eval_accuracy": 0.7314314824248599,
5
+ "eval_accuracy_mm": 0.7331163547599675,
6
+ "eval_loss": 0.6530612111091614,
7
+ "eval_loss_mm": 0.6425328254699707,
8
+ "eval_runtime": 3.2268,
9
+ "eval_runtime_mm": 3.2612,
10
+ "eval_samples": 9815,
11
+ "eval_samples_mm": 9832,
12
+ "eval_samples_per_second": 3041.719,
13
+ "eval_samples_per_second_mm": 3014.886,
14
+ "eval_steps_per_second": 12.086,
15
+ "eval_steps_per_second_mm": 11.959,
16
+ "total_flos": 6353499042229248.0,
17
+ "train_loss": 0.6473511495103378,
18
+ "train_runtime": 2152.219,
19
+ "train_samples": 392702,
20
+ "train_samples_per_second": 9123.188,
21
+ "train_steps_per_second": 35.638
22
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 13.0,
3
+ "epoch_mm": 13.0,
4
+ "eval_accuracy": 0.7314314824248599,
5
+ "eval_accuracy_mm": 0.7331163547599675,
6
+ "eval_loss": 0.6530612111091614,
7
+ "eval_loss_mm": 0.6425328254699707,
8
+ "eval_runtime": 3.2268,
9
+ "eval_runtime_mm": 3.2612,
10
+ "eval_samples": 9815,
11
+ "eval_samples_mm": 9832,
12
+ "eval_samples_per_second": 3041.719,
13
+ "eval_samples_per_second_mm": 3014.886,
14
+ "eval_steps_per_second": 12.086,
15
+ "eval_steps_per_second_mm": 11.959
16
+ }
logs/events.out.tfevents.1733341143.ki-g0008.1764072.35 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a04e6f9bd3640f34548a12ce5c5a5959b03d51b2e9fc8867d1794d28d43c005e
3
+ size 746
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 13.0,
3
+ "total_flos": 6353499042229248.0,
4
+ "train_loss": 0.6473511495103378,
5
+ "train_runtime": 2152.219,
6
+ "train_samples": 392702,
7
+ "train_samples_per_second": 9123.188,
8
+ "train_steps_per_second": 35.638
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6530612111091614,
3
+ "best_model_checkpoint": "bert_uncased_L-4_H-128_A-2_mnli/checkpoint-12272",
4
+ "epoch": 13.0,
5
+ "eval_steps": 500,
6
+ "global_step": 19942,
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": 1.6993112564086914,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.8752,
16
+ "step": 1534
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.6558329088130412,
21
+ "eval_loss": 0.7743282318115234,
22
+ "eval_runtime": 3.4721,
23
+ "eval_samples_per_second": 2826.817,
24
+ "eval_steps_per_second": 11.232,
25
+ "step": 1534
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "grad_norm": 2.562037944793701,
30
+ "learning_rate": 4.8e-05,
31
+ "loss": 0.7714,
32
+ "step": 3068
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.6856851757514009,
37
+ "eval_loss": 0.7263490557670593,
38
+ "eval_runtime": 3.284,
39
+ "eval_samples_per_second": 2988.699,
40
+ "eval_steps_per_second": 11.876,
41
+ "step": 3068
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "grad_norm": 2.291146993637085,
46
+ "learning_rate": 4.7e-05,
47
+ "loss": 0.7255,
48
+ "step": 4602
49
+ },
50
+ {
51
+ "epoch": 3.0,
52
+ "eval_accuracy": 0.7019867549668874,
53
+ "eval_loss": 0.6945955157279968,
54
+ "eval_runtime": 3.276,
55
+ "eval_samples_per_second": 2996.017,
56
+ "eval_steps_per_second": 11.905,
57
+ "step": 4602
58
+ },
59
+ {
60
+ "epoch": 4.0,
61
+ "grad_norm": 2.2317264080047607,
62
+ "learning_rate": 4.600000000000001e-05,
63
+ "loss": 0.6927,
64
+ "step": 6136
65
+ },
66
+ {
67
+ "epoch": 4.0,
68
+ "eval_accuracy": 0.7087111563932756,
69
+ "eval_loss": 0.6788806915283203,
70
+ "eval_runtime": 3.3205,
71
+ "eval_samples_per_second": 2955.889,
72
+ "eval_steps_per_second": 11.745,
73
+ "step": 6136
74
+ },
75
+ {
76
+ "epoch": 5.0,
77
+ "grad_norm": 2.6884801387786865,
78
+ "learning_rate": 4.5e-05,
79
+ "loss": 0.6662,
80
+ "step": 7670
81
+ },
82
+ {
83
+ "epoch": 5.0,
84
+ "eval_accuracy": 0.7205298013245033,
85
+ "eval_loss": 0.6656607985496521,
86
+ "eval_runtime": 3.3278,
87
+ "eval_samples_per_second": 2949.42,
88
+ "eval_steps_per_second": 11.72,
89
+ "step": 7670
90
+ },
91
+ {
92
+ "epoch": 6.0,
93
+ "grad_norm": 2.7260897159576416,
94
+ "learning_rate": 4.4000000000000006e-05,
95
+ "loss": 0.6441,
96
+ "step": 9204
97
+ },
98
+ {
99
+ "epoch": 6.0,
100
+ "eval_accuracy": 0.7228731533367295,
101
+ "eval_loss": 0.6691338419914246,
102
+ "eval_runtime": 3.2556,
103
+ "eval_samples_per_second": 3014.76,
104
+ "eval_steps_per_second": 11.979,
105
+ "step": 9204
106
+ },
107
+ {
108
+ "epoch": 7.0,
109
+ "grad_norm": 2.3097150325775146,
110
+ "learning_rate": 4.3e-05,
111
+ "loss": 0.625,
112
+ "step": 10738
113
+ },
114
+ {
115
+ "epoch": 7.0,
116
+ "eval_accuracy": 0.7258278145695364,
117
+ "eval_loss": 0.6622374057769775,
118
+ "eval_runtime": 3.2835,
119
+ "eval_samples_per_second": 2989.191,
120
+ "eval_steps_per_second": 11.878,
121
+ "step": 10738
122
+ },
123
+ {
124
+ "epoch": 8.0,
125
+ "grad_norm": 2.3115994930267334,
126
+ "learning_rate": 4.2e-05,
127
+ "loss": 0.607,
128
+ "step": 12272
129
+ },
130
+ {
131
+ "epoch": 8.0,
132
+ "eval_accuracy": 0.7314314824248599,
133
+ "eval_loss": 0.6530612111091614,
134
+ "eval_runtime": 3.1955,
135
+ "eval_samples_per_second": 3071.492,
136
+ "eval_steps_per_second": 12.205,
137
+ "step": 12272
138
+ },
139
+ {
140
+ "epoch": 9.0,
141
+ "grad_norm": 2.484405994415283,
142
+ "learning_rate": 4.1e-05,
143
+ "loss": 0.5894,
144
+ "step": 13806
145
+ },
146
+ {
147
+ "epoch": 9.0,
148
+ "eval_accuracy": 0.7308201732042792,
149
+ "eval_loss": 0.6612954139709473,
150
+ "eval_runtime": 3.2486,
151
+ "eval_samples_per_second": 3021.261,
152
+ "eval_steps_per_second": 12.005,
153
+ "step": 13806
154
+ },
155
+ {
156
+ "epoch": 10.0,
157
+ "grad_norm": 2.5099828243255615,
158
+ "learning_rate": 4e-05,
159
+ "loss": 0.5754,
160
+ "step": 15340
161
+ },
162
+ {
163
+ "epoch": 10.0,
164
+ "eval_accuracy": 0.7292919001528273,
165
+ "eval_loss": 0.6590717434883118,
166
+ "eval_runtime": 3.2884,
167
+ "eval_samples_per_second": 2984.725,
168
+ "eval_steps_per_second": 11.86,
169
+ "step": 15340
170
+ },
171
+ {
172
+ "epoch": 11.0,
173
+ "grad_norm": 2.7104341983795166,
174
+ "learning_rate": 3.9000000000000006e-05,
175
+ "loss": 0.5615,
176
+ "step": 16874
177
+ },
178
+ {
179
+ "epoch": 11.0,
180
+ "eval_accuracy": 0.7286805909322466,
181
+ "eval_loss": 0.6634514927864075,
182
+ "eval_runtime": 3.2403,
183
+ "eval_samples_per_second": 3029.047,
184
+ "eval_steps_per_second": 12.036,
185
+ "step": 16874
186
+ },
187
+ {
188
+ "epoch": 12.0,
189
+ "grad_norm": 2.729738473892212,
190
+ "learning_rate": 3.8e-05,
191
+ "loss": 0.5477,
192
+ "step": 18408
193
+ },
194
+ {
195
+ "epoch": 12.0,
196
+ "eval_accuracy": 0.7343861436576669,
197
+ "eval_loss": 0.6701191663742065,
198
+ "eval_runtime": 3.2255,
199
+ "eval_samples_per_second": 3042.947,
200
+ "eval_steps_per_second": 12.091,
201
+ "step": 18408
202
+ },
203
+ {
204
+ "epoch": 13.0,
205
+ "grad_norm": 3.311851978302002,
206
+ "learning_rate": 3.7e-05,
207
+ "loss": 0.5343,
208
+ "step": 19942
209
+ },
210
+ {
211
+ "epoch": 13.0,
212
+ "eval_accuracy": 0.7342842587875701,
213
+ "eval_loss": 0.6698570847511292,
214
+ "eval_runtime": 3.2844,
215
+ "eval_samples_per_second": 2988.397,
216
+ "eval_steps_per_second": 11.874,
217
+ "step": 19942
218
+ },
219
+ {
220
+ "epoch": 13.0,
221
+ "step": 19942,
222
+ "total_flos": 6353499042229248.0,
223
+ "train_loss": 0.6473511495103378,
224
+ "train_runtime": 2152.219,
225
+ "train_samples_per_second": 9123.188,
226
+ "train_steps_per_second": 35.638
227
+ }
228
+ ],
229
+ "logging_steps": 1,
230
+ "max_steps": 76700,
231
+ "num_input_tokens_seen": 0,
232
+ "num_train_epochs": 50,
233
+ "save_steps": 500,
234
+ "stateful_callbacks": {
235
+ "EarlyStoppingCallback": {
236
+ "args": {
237
+ "early_stopping_patience": 5,
238
+ "early_stopping_threshold": 0.0
239
+ },
240
+ "attributes": {
241
+ "early_stopping_patience_counter": 5
242
+ }
243
+ },
244
+ "TrainerControl": {
245
+ "args": {
246
+ "should_epoch_stop": false,
247
+ "should_evaluate": false,
248
+ "should_log": false,
249
+ "should_save": true,
250
+ "should_training_stop": true
251
+ },
252
+ "attributes": {}
253
+ }
254
+ },
255
+ "total_flos": 6353499042229248.0,
256
+ "train_batch_size": 256,
257
+ "trial_name": null,
258
+ "trial_params": null
259
+ }