gokulsrinivasagan commited on
Commit
20d96b8
·
verified ·
1 Parent(s): ea6dc1e

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,32 @@
1
  ---
2
  library_name: transformers
 
 
3
  base_model: gokulsrinivasagan/bert_base_lda_100_v1
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  - f1
9
  model-index:
10
  - name: bert_base_lda_100_v1_qqp
11
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -16,12 +34,12 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # bert_base_lda_100_v1_qqp
18
 
19
- This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_100_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_100_v1) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.4346
22
- - Accuracy: 0.8693
23
- - F1: 0.8285
24
- - Combined Score: 0.8489
25
 
26
  ## Model description
27
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  base_model: gokulsrinivasagan/bert_base_lda_100_v1
6
  tags:
7
  - generated_from_trainer
8
+ datasets:
9
+ - glue
10
  metrics:
11
  - accuracy
12
  - f1
13
  model-index:
14
  - name: bert_base_lda_100_v1_qqp
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: GLUE QQP
21
+ type: glue
22
+ args: qqp
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8609448429384121
27
+ - name: F1
28
+ type: f1
29
+ value: 0.818621757646148
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
34
 
35
  # bert_base_lda_100_v1_qqp
36
 
37
+ This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_100_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_100_v1) on the GLUE QQP dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.3234
40
+ - Accuracy: 0.8609
41
+ - F1: 0.8186
42
+ - Combined Score: 0.8398
43
 
44
  ## Model description
45
 
all_results.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
- "epoch": 12.0,
3
- "eval_accuracy": 0.6318327974276527,
4
- "eval_combined_score": 0.3159163987138264,
5
- "eval_f1": 0.0,
6
- "eval_loss": 0.6573427319526672,
7
- "eval_runtime": 25.19,
8
  "eval_samples": 40430,
9
- "eval_samples_per_second": 1604.999,
10
- "eval_steps_per_second": 6.272,
11
- "total_flos": 5.7439143029108736e+17,
12
- "train_loss": 0.660555789909953,
13
- "train_runtime": 7311.012,
14
  "train_samples": 363846,
15
- "train_samples_per_second": 2488.342,
16
- "train_steps_per_second": 9.725
17
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.8609448429384121,
4
+ "eval_combined_score": 0.8397833002922801,
5
+ "eval_f1": 0.818621757646148,
6
+ "eval_loss": 0.3234252333641052,
7
+ "eval_runtime": 25.7849,
8
  "eval_samples": 40430,
9
+ "eval_samples_per_second": 1567.975,
10
+ "eval_steps_per_second": 6.128,
11
+ "total_flos": 3.8292762019405824e+17,
12
+ "train_loss": 0.2082672454469147,
13
+ "train_runtime": 4927.5674,
14
  "train_samples": 363846,
15
+ "train_samples_per_second": 3691.943,
16
+ "train_steps_per_second": 14.429
17
  }
eval_results.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "epoch": 12.0,
3
- "eval_accuracy": 0.6318327974276527,
4
- "eval_combined_score": 0.3159163987138264,
5
- "eval_f1": 0.0,
6
- "eval_loss": 0.6573427319526672,
7
- "eval_runtime": 25.19,
8
  "eval_samples": 40430,
9
- "eval_samples_per_second": 1604.999,
10
- "eval_steps_per_second": 6.272
11
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.8609448429384121,
4
+ "eval_combined_score": 0.8397833002922801,
5
+ "eval_f1": 0.818621757646148,
6
+ "eval_loss": 0.3234252333641052,
7
+ "eval_runtime": 25.7849,
8
  "eval_samples": 40430,
9
+ "eval_samples_per_second": 1567.975,
10
+ "eval_steps_per_second": 6.128
11
  }
logs/events.out.tfevents.1733316279.ki-g0008.1208741.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fae320ae069ee9be859bcf4f0d45fd3d43c1dd5295f8ff3997edb82c78a37a0
3
+ size 515
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 12.0,
3
- "total_flos": 5.7439143029108736e+17,
4
- "train_loss": 0.660555789909953,
5
- "train_runtime": 7311.012,
6
  "train_samples": 363846,
7
- "train_samples_per_second": 2488.342,
8
- "train_steps_per_second": 9.725
9
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "total_flos": 3.8292762019405824e+17,
4
+ "train_loss": 0.2082672454469147,
5
+ "train_runtime": 4927.5674,
6
  "train_samples": 363846,
7
+ "train_samples_per_second": 3691.943,
8
+ "train_steps_per_second": 14.429
9
  }
trainer_state.json CHANGED
@@ -1,237 +1,165 @@
1
  {
2
- "best_metric": 0.6573427319526672,
3
- "best_model_checkpoint": "bert_base_lda_100_v1_qqp/checkpoint-9954",
4
- "epoch": 12.0,
5
  "eval_steps": 500,
6
- "global_step": 17064,
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.40524590015411377,
14
- "learning_rate": 0.00098,
15
- "loss": 0.6618,
16
  "step": 1422
17
  },
18
  {
19
  "epoch": 1.0,
20
- "eval_accuracy": 0.6318327974276527,
21
- "eval_combined_score": 0.3159163987138264,
22
- "eval_f1": 0.0,
23
- "eval_loss": 0.6579644680023193,
24
- "eval_runtime": 25.8103,
25
- "eval_samples_per_second": 1566.428,
26
- "eval_steps_per_second": 6.122,
27
  "step": 1422
28
  },
29
  {
30
  "epoch": 2.0,
31
- "grad_norm": 0.11123429983854294,
32
- "learning_rate": 0.00096,
33
- "loss": 0.659,
34
  "step": 2844
35
  },
36
  {
37
  "epoch": 2.0,
38
- "eval_accuracy": 0.6318327974276527,
39
- "eval_combined_score": 0.3159163987138264,
40
- "eval_f1": 0.0,
41
- "eval_loss": 0.6577603816986084,
42
- "eval_runtime": 25.8043,
43
- "eval_samples_per_second": 1566.796,
44
- "eval_steps_per_second": 6.123,
45
  "step": 2844
46
  },
47
  {
48
  "epoch": 3.0,
49
- "grad_norm": 0.05524620786309242,
50
- "learning_rate": 0.00094,
51
- "loss": 0.6586,
52
  "step": 4266
53
  },
54
  {
55
  "epoch": 3.0,
56
- "eval_accuracy": 0.6318327974276527,
57
- "eval_combined_score": 0.3159163987138264,
58
- "eval_f1": 0.0,
59
- "eval_loss": 0.658168613910675,
60
- "eval_runtime": 25.7089,
61
- "eval_samples_per_second": 1572.608,
62
- "eval_steps_per_second": 6.146,
63
  "step": 4266
64
  },
65
  {
66
  "epoch": 4.0,
67
- "grad_norm": 0.08355461061000824,
68
- "learning_rate": 0.00092,
69
- "loss": 0.679,
70
  "step": 5688
71
  },
72
  {
73
  "epoch": 4.0,
74
- "eval_accuracy": 0.6318327974276527,
75
- "eval_combined_score": 0.3159163987138264,
76
- "eval_f1": 0.0,
77
- "eval_loss": 0.6573521494865417,
78
- "eval_runtime": 25.8178,
79
- "eval_samples_per_second": 1565.971,
80
- "eval_steps_per_second": 6.12,
81
  "step": 5688
82
  },
83
  {
84
  "epoch": 5.0,
85
- "grad_norm": 0.12464568763971329,
86
- "learning_rate": 0.0009000000000000001,
87
- "loss": 0.6585,
88
  "step": 7110
89
  },
90
  {
91
  "epoch": 5.0,
92
- "eval_accuracy": 0.6318327974276527,
93
- "eval_combined_score": 0.3159163987138264,
94
- "eval_f1": 0.0,
95
- "eval_loss": 0.6573521494865417,
96
- "eval_runtime": 25.7885,
97
- "eval_samples_per_second": 1567.756,
98
- "eval_steps_per_second": 6.127,
99
  "step": 7110
100
  },
101
  {
102
  "epoch": 6.0,
103
- "grad_norm": 0.03694356605410576,
104
- "learning_rate": 0.00088,
105
- "loss": 0.6585,
106
  "step": 8532
107
  },
108
  {
109
  "epoch": 6.0,
110
- "eval_accuracy": 0.6318327974276527,
111
- "eval_combined_score": 0.3159163987138264,
112
- "eval_f1": 0.0,
113
- "eval_loss": 0.6579644680023193,
114
- "eval_runtime": 25.7865,
115
- "eval_samples_per_second": 1567.876,
116
- "eval_steps_per_second": 6.127,
117
  "step": 8532
118
  },
119
  {
120
  "epoch": 7.0,
121
- "grad_norm": 0.050063714385032654,
122
- "learning_rate": 0.00086,
123
- "loss": 0.6585,
124
  "step": 9954
125
  },
126
  {
127
  "epoch": 7.0,
128
- "eval_accuracy": 0.6318327974276527,
129
- "eval_combined_score": 0.3159163987138264,
130
- "eval_f1": 0.0,
131
- "eval_loss": 0.6573427319526672,
132
- "eval_runtime": 25.6987,
133
- "eval_samples_per_second": 1573.233,
134
- "eval_steps_per_second": 6.148,
135
  "step": 9954
136
  },
137
  {
138
  "epoch": 8.0,
139
- "grad_norm": 0.11186650395393372,
140
- "learning_rate": 0.00084,
141
- "loss": 0.6585,
142
  "step": 11376
143
  },
144
  {
145
  "epoch": 8.0,
146
- "eval_accuracy": 0.6318327974276527,
147
- "eval_combined_score": 0.3159163987138264,
148
- "eval_f1": 0.0,
149
- "eval_loss": 0.6573427319526672,
150
- "eval_runtime": 25.6137,
151
- "eval_samples_per_second": 1578.449,
152
- "eval_steps_per_second": 6.169,
153
  "step": 11376
154
  },
155
  {
156
- "epoch": 9.0,
157
- "grad_norm": 0.12153594195842743,
158
- "learning_rate": 0.00082,
159
- "loss": 0.6586,
160
- "step": 12798
161
- },
162
- {
163
- "epoch": 9.0,
164
- "eval_accuracy": 0.6318327974276527,
165
- "eval_combined_score": 0.3159163987138264,
166
- "eval_f1": 0.0,
167
- "eval_loss": 0.6577603816986084,
168
- "eval_runtime": 25.881,
169
- "eval_samples_per_second": 1562.148,
170
- "eval_steps_per_second": 6.105,
171
- "step": 12798
172
- },
173
- {
174
- "epoch": 10.0,
175
- "grad_norm": 0.039975930005311966,
176
- "learning_rate": 0.0008,
177
- "loss": 0.6586,
178
- "step": 14220
179
- },
180
- {
181
- "epoch": 10.0,
182
- "eval_accuracy": 0.6318327974276527,
183
- "eval_combined_score": 0.3159163987138264,
184
- "eval_f1": 0.0,
185
- "eval_loss": 0.6577603816986084,
186
- "eval_runtime": 25.6778,
187
- "eval_samples_per_second": 1574.515,
188
- "eval_steps_per_second": 6.153,
189
- "step": 14220
190
- },
191
- {
192
- "epoch": 11.0,
193
- "grad_norm": 0.04083885997533798,
194
- "learning_rate": 0.0007800000000000001,
195
- "loss": 0.6585,
196
- "step": 15642
197
- },
198
- {
199
- "epoch": 11.0,
200
- "eval_accuracy": 0.6318327974276527,
201
- "eval_combined_score": 0.3159163987138264,
202
- "eval_f1": 0.0,
203
- "eval_loss": 0.6577603816986084,
204
- "eval_runtime": 25.5811,
205
- "eval_samples_per_second": 1580.466,
206
- "eval_steps_per_second": 6.176,
207
- "step": 15642
208
- },
209
- {
210
- "epoch": 12.0,
211
- "grad_norm": 0.040914136916399,
212
- "learning_rate": 0.00076,
213
- "loss": 0.6585,
214
- "step": 17064
215
- },
216
- {
217
- "epoch": 12.0,
218
- "eval_accuracy": 0.6318327974276527,
219
- "eval_combined_score": 0.3159163987138264,
220
- "eval_f1": 0.0,
221
- "eval_loss": 0.6575562953948975,
222
- "eval_runtime": 25.6413,
223
- "eval_samples_per_second": 1576.755,
224
- "eval_steps_per_second": 6.162,
225
- "step": 17064
226
- },
227
- {
228
- "epoch": 12.0,
229
- "step": 17064,
230
- "total_flos": 5.7439143029108736e+17,
231
- "train_loss": 0.660555789909953,
232
- "train_runtime": 7311.012,
233
- "train_samples_per_second": 2488.342,
234
- "train_steps_per_second": 9.725
235
  }
236
  ],
237
  "logging_steps": 1,
@@ -260,7 +188,7 @@
260
  "attributes": {}
261
  }
262
  },
263
- "total_flos": 5.7439143029108736e+17,
264
  "train_batch_size": 256,
265
  "trial_name": null,
266
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.3234252333641052,
3
+ "best_model_checkpoint": "bert_base_lda_100_v1_qqp/checkpoint-4266",
4
+ "epoch": 8.0,
5
  "eval_steps": 500,
6
+ "global_step": 11376,
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.8851810693740845,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.4474,
16
  "step": 1422
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "eval_accuracy": 0.8283947563690329,
21
+ "eval_combined_score": 0.7949221753238371,
22
+ "eval_f1": 0.7614495942786413,
23
+ "eval_loss": 0.3685195744037628,
24
+ "eval_runtime": 26.2526,
25
+ "eval_samples_per_second": 1540.036,
26
+ "eval_steps_per_second": 6.018,
27
  "step": 1422
28
  },
29
  {
30
  "epoch": 2.0,
31
+ "grad_norm": 2.972749710083008,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.3271,
34
  "step": 2844
35
  },
36
  {
37
  "epoch": 2.0,
38
+ "eval_accuracy": 0.847588424437299,
39
+ "eval_combined_score": 0.8289650340099699,
40
+ "eval_f1": 0.8103416435826409,
41
+ "eval_loss": 0.3386009633541107,
42
+ "eval_runtime": 26.2178,
43
+ "eval_samples_per_second": 1542.084,
44
+ "eval_steps_per_second": 6.026,
45
  "step": 2844
46
  },
47
  {
48
  "epoch": 3.0,
49
+ "grad_norm": 3.082465887069702,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.2564,
52
  "step": 4266
53
  },
54
  {
55
  "epoch": 3.0,
56
+ "eval_accuracy": 0.8609448429384121,
57
+ "eval_combined_score": 0.8397833002922801,
58
+ "eval_f1": 0.818621757646148,
59
+ "eval_loss": 0.3234252333641052,
60
+ "eval_runtime": 26.1778,
61
+ "eval_samples_per_second": 1544.441,
62
+ "eval_steps_per_second": 6.036,
63
  "step": 4266
64
  },
65
  {
66
  "epoch": 4.0,
67
+ "grad_norm": 3.214107036590576,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.1978,
70
  "step": 5688
71
  },
72
  {
73
  "epoch": 4.0,
74
+ "eval_accuracy": 0.865322780113777,
75
+ "eval_combined_score": 0.845827594247875,
76
+ "eval_f1": 0.8263324083819731,
77
+ "eval_loss": 0.3627840280532837,
78
+ "eval_runtime": 26.0619,
79
+ "eval_samples_per_second": 1551.309,
80
+ "eval_steps_per_second": 6.062,
81
  "step": 5688
82
  },
83
  {
84
  "epoch": 5.0,
85
+ "grad_norm": 4.68060302734375,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.1516,
88
  "step": 7110
89
  },
90
  {
91
  "epoch": 5.0,
92
+ "eval_accuracy": 0.869527578530794,
93
+ "eval_combined_score": 0.8474033176016561,
94
+ "eval_f1": 0.8252790566725182,
95
+ "eval_loss": 0.40143004059791565,
96
+ "eval_runtime": 26.1999,
97
+ "eval_samples_per_second": 1543.138,
98
+ "eval_steps_per_second": 6.031,
99
  "step": 7110
100
  },
101
  {
102
  "epoch": 6.0,
103
+ "grad_norm": 4.411165237426758,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.1169,
106
  "step": 8532
107
  },
108
  {
109
  "epoch": 6.0,
110
+ "eval_accuracy": 0.867276774672273,
111
+ "eval_combined_score": 0.8475178249685433,
112
+ "eval_f1": 0.8277588752648135,
113
+ "eval_loss": 0.3963766396045685,
114
+ "eval_runtime": 26.1361,
115
+ "eval_samples_per_second": 1546.904,
116
+ "eval_steps_per_second": 6.045,
117
  "step": 8532
118
  },
119
  {
120
  "epoch": 7.0,
121
+ "grad_norm": 2.608915090560913,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.093,
124
  "step": 9954
125
  },
126
  {
127
  "epoch": 7.0,
128
+ "eval_accuracy": 0.8676230521889686,
129
+ "eval_combined_score": 0.8477775754772003,
130
+ "eval_f1": 0.8279320987654322,
131
+ "eval_loss": 0.4813096225261688,
132
+ "eval_runtime": 25.9104,
133
+ "eval_samples_per_second": 1560.379,
134
+ "eval_steps_per_second": 6.098,
135
  "step": 9954
136
  },
137
  {
138
  "epoch": 8.0,
139
+ "grad_norm": 4.501567840576172,
140
+ "learning_rate": 4.2e-05,
141
+ "loss": 0.076,
142
  "step": 11376
143
  },
144
  {
145
  "epoch": 8.0,
146
+ "eval_accuracy": 0.8693297056641108,
147
+ "eval_combined_score": 0.8489380492102074,
148
+ "eval_f1": 0.8285463927563042,
149
+ "eval_loss": 0.43455520272254944,
150
+ "eval_runtime": 26.0711,
151
+ "eval_samples_per_second": 1550.762,
152
+ "eval_steps_per_second": 6.06,
153
  "step": 11376
154
  },
155
  {
156
+ "epoch": 8.0,
157
+ "step": 11376,
158
+ "total_flos": 3.8292762019405824e+17,
159
+ "train_loss": 0.2082672454469147,
160
+ "train_runtime": 4927.5674,
161
+ "train_samples_per_second": 3691.943,
162
+ "train_steps_per_second": 14.429
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
164
  ],
165
  "logging_steps": 1,
 
188
  "attributes": {}
189
  }
190
  },
191
+ "total_flos": 3.8292762019405824e+17,
192
  "train_batch_size": 256,
193
  "trial_name": null,
194
  "trial_params": null