gokulsrinivasagan commited on
Commit
42aaa9b
1 Parent(s): 9f4d9a3

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,32 @@
1
  ---
2
  library_name: transformers
 
 
3
  base_model: gokulsrinivasagan/bert_base_lda_50_v1
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  - f1
9
  model-index:
10
  - name: bert_base_lda_50_v1_mrpc
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_50_v1_mrpc
18
 
19
- This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_50_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_50_v1) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 1.0029
22
- - Accuracy: 0.6961
23
- - F1: 0.7898
24
- - Combined Score: 0.7430
25
 
26
  ## Model description
27
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  base_model: gokulsrinivasagan/bert_base_lda_50_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_50_v1_mrpc
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: GLUE MRPC
21
+ type: glue
22
+ args: mrpc
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.6936274509803921
27
+ - name: F1
28
+ type: f1
29
+ value: 0.8085758039816232
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_50_v1_mrpc
36
 
37
+ This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_50_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_50_v1) on the GLUE MRPC dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.6034
40
+ - Accuracy: 0.6936
41
+ - F1: 0.8086
42
+ - Combined Score: 0.7511
43
 
44
  ## Model description
45
 
all_results.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
- "epoch": 15.0,
3
- "eval_accuracy": 0.6838235294117647,
4
- "eval_combined_score": 0.7480253018237863,
5
- "eval_f1": 0.8122270742358079,
6
- "eval_loss": 0.6226160526275635,
7
- "eval_runtime": 0.2891,
8
  "eval_samples": 408,
9
- "eval_samples_per_second": 1411.139,
10
- "eval_steps_per_second": 6.917,
11
- "total_flos": 7238185132953600.0,
12
- "train_loss": 0.7287869644165039,
13
- "train_runtime": 125.4342,
14
  "train_samples": 3668,
15
- "train_samples_per_second": 1462.121,
16
- "train_steps_per_second": 5.979
17
  }
 
1
  {
2
+ "epoch": 7.0,
3
+ "eval_accuracy": 0.6936274509803921,
4
+ "eval_combined_score": 0.7511016274810076,
5
+ "eval_f1": 0.8085758039816232,
6
+ "eval_loss": 0.6033744215965271,
7
+ "eval_runtime": 0.2803,
8
  "eval_samples": 408,
9
+ "eval_samples_per_second": 1455.604,
10
+ "eval_steps_per_second": 7.135,
11
+ "total_flos": 3377819728711680.0,
12
+ "train_loss": 0.4559453896113804,
13
+ "train_runtime": 63.2715,
14
  "train_samples": 3668,
15
+ "train_samples_per_second": 2898.617,
16
+ "train_steps_per_second": 11.854
17
  }
eval_results.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "epoch": 15.0,
3
- "eval_accuracy": 0.6838235294117647,
4
- "eval_combined_score": 0.7480253018237863,
5
- "eval_f1": 0.8122270742358079,
6
- "eval_loss": 0.6226160526275635,
7
- "eval_runtime": 0.2891,
8
  "eval_samples": 408,
9
- "eval_samples_per_second": 1411.139,
10
- "eval_steps_per_second": 6.917
11
  }
 
1
  {
2
+ "epoch": 7.0,
3
+ "eval_accuracy": 0.6936274509803921,
4
+ "eval_combined_score": 0.7511016274810076,
5
+ "eval_f1": 0.8085758039816232,
6
+ "eval_loss": 0.6033744215965271,
7
+ "eval_runtime": 0.2803,
8
  "eval_samples": 408,
9
+ "eval_samples_per_second": 1455.604,
10
+ "eval_steps_per_second": 7.135
11
  }
logs/events.out.tfevents.1733309777.ki-g0008.1207984.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4d826b00ea7a48732f2540c1b15943458c761499b8d05f106c4db5518f4cc1d
3
+ size 507
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 15.0,
3
- "total_flos": 7238185132953600.0,
4
- "train_loss": 0.7287869644165039,
5
- "train_runtime": 125.4342,
6
  "train_samples": 3668,
7
- "train_samples_per_second": 1462.121,
8
- "train_steps_per_second": 5.979
9
  }
 
1
  {
2
+ "epoch": 7.0,
3
+ "total_flos": 3377819728711680.0,
4
+ "train_loss": 0.4559453896113804,
5
+ "train_runtime": 63.2715,
6
  "train_samples": 3668,
7
+ "train_samples_per_second": 2898.617,
8
+ "train_steps_per_second": 11.854
9
  }
trainer_state.json CHANGED
@@ -1,291 +1,147 @@
1
  {
2
- "best_metric": 0.6226160526275635,
3
- "best_model_checkpoint": "bert_base_lda_50_v1_mrpc/checkpoint-150",
4
- "epoch": 15.0,
5
  "eval_steps": 500,
6
- "global_step": 225,
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": 22.977022171020508,
14
- "learning_rate": 0.00098,
15
- "loss": 1.9018,
16
  "step": 15
17
  },
18
  {
19
  "epoch": 1.0,
20
- "eval_accuracy": 0.3161764705882353,
21
- "eval_combined_score": 0.15808823529411764,
22
- "eval_f1": 0.0,
23
- "eval_loss": 1.746949315071106,
24
- "eval_runtime": 0.2773,
25
- "eval_samples_per_second": 1471.484,
26
- "eval_steps_per_second": 7.213,
27
  "step": 15
28
  },
29
  {
30
  "epoch": 2.0,
31
- "grad_norm": 5.6883745193481445,
32
- "learning_rate": 0.00096,
33
- "loss": 0.7758,
34
  "step": 30
35
  },
36
  {
37
  "epoch": 2.0,
38
- "eval_accuracy": 0.6838235294117647,
39
- "eval_combined_score": 0.7480253018237863,
40
- "eval_f1": 0.8122270742358079,
41
- "eval_loss": 0.713627815246582,
42
- "eval_runtime": 0.2735,
43
- "eval_samples_per_second": 1491.747,
44
- "eval_steps_per_second": 7.312,
45
  "step": 30
46
  },
47
  {
48
  "epoch": 3.0,
49
- "grad_norm": 2.137789249420166,
50
- "learning_rate": 0.00094,
51
- "loss": 0.6464,
52
  "step": 45
53
  },
54
  {
55
  "epoch": 3.0,
56
- "eval_accuracy": 0.6838235294117647,
57
- "eval_combined_score": 0.7480253018237863,
58
- "eval_f1": 0.8122270742358079,
59
- "eval_loss": 0.6401654481887817,
60
- "eval_runtime": 0.3133,
61
- "eval_samples_per_second": 1302.407,
62
- "eval_steps_per_second": 6.384,
63
  "step": 45
64
  },
65
  {
66
  "epoch": 4.0,
67
- "grad_norm": 0.9102729558944702,
68
- "learning_rate": 0.00092,
69
- "loss": 0.6412,
70
  "step": 60
71
  },
72
  {
73
  "epoch": 4.0,
74
- "eval_accuracy": 0.6838235294117647,
75
- "eval_combined_score": 0.7480253018237863,
76
- "eval_f1": 0.8122270742358079,
77
- "eval_loss": 0.6260914206504822,
78
- "eval_runtime": 0.2816,
79
- "eval_samples_per_second": 1449.033,
80
- "eval_steps_per_second": 7.103,
81
  "step": 60
82
  },
83
  {
84
  "epoch": 5.0,
85
- "grad_norm": 0.8048895001411438,
86
- "learning_rate": 0.0009000000000000001,
87
- "loss": 0.6318,
88
  "step": 75
89
  },
90
  {
91
  "epoch": 5.0,
92
- "eval_accuracy": 0.6838235294117647,
93
- "eval_combined_score": 0.7480253018237863,
94
- "eval_f1": 0.8122270742358079,
95
- "eval_loss": 0.6250861883163452,
96
- "eval_runtime": 0.2775,
97
- "eval_samples_per_second": 1470.21,
98
- "eval_steps_per_second": 7.207,
99
  "step": 75
100
  },
101
  {
102
  "epoch": 6.0,
103
- "grad_norm": 0.975186288356781,
104
- "learning_rate": 0.00088,
105
- "loss": 0.6352,
106
  "step": 90
107
  },
108
  {
109
  "epoch": 6.0,
110
- "eval_accuracy": 0.6838235294117647,
111
- "eval_combined_score": 0.7480253018237863,
112
- "eval_f1": 0.8122270742358079,
113
- "eval_loss": 0.6246122717857361,
114
- "eval_runtime": 0.2709,
115
- "eval_samples_per_second": 1506.067,
116
- "eval_steps_per_second": 7.383,
117
  "step": 90
118
  },
119
  {
120
  "epoch": 7.0,
121
- "grad_norm": 0.4961640536785126,
122
- "learning_rate": 0.00086,
123
- "loss": 0.635,
124
  "step": 105
125
  },
126
  {
127
  "epoch": 7.0,
128
- "eval_accuracy": 0.6838235294117647,
129
- "eval_combined_score": 0.7480253018237863,
130
- "eval_f1": 0.8122270742358079,
131
- "eval_loss": 0.6256270408630371,
132
- "eval_runtime": 0.2693,
133
- "eval_samples_per_second": 1515.101,
134
- "eval_steps_per_second": 7.427,
135
  "step": 105
136
  },
137
  {
138
- "epoch": 8.0,
139
- "grad_norm": 0.3314763903617859,
140
- "learning_rate": 0.00084,
141
- "loss": 0.634,
142
- "step": 120
143
- },
144
- {
145
- "epoch": 8.0,
146
- "eval_accuracy": 0.6838235294117647,
147
- "eval_combined_score": 0.7480253018237863,
148
- "eval_f1": 0.8122270742358079,
149
- "eval_loss": 0.6243536472320557,
150
- "eval_runtime": 0.2744,
151
- "eval_samples_per_second": 1487.06,
152
- "eval_steps_per_second": 7.29,
153
- "step": 120
154
- },
155
- {
156
- "epoch": 9.0,
157
- "grad_norm": 0.5980406403541565,
158
- "learning_rate": 0.00082,
159
- "loss": 0.6297,
160
- "step": 135
161
- },
162
- {
163
- "epoch": 9.0,
164
- "eval_accuracy": 0.6838235294117647,
165
- "eval_combined_score": 0.7480253018237863,
166
- "eval_f1": 0.8122270742358079,
167
- "eval_loss": 0.634880542755127,
168
- "eval_runtime": 0.2751,
169
- "eval_samples_per_second": 1482.984,
170
- "eval_steps_per_second": 7.27,
171
- "step": 135
172
- },
173
- {
174
- "epoch": 10.0,
175
- "grad_norm": 0.4592650532722473,
176
- "learning_rate": 0.0008,
177
- "loss": 0.6357,
178
- "step": 150
179
- },
180
- {
181
- "epoch": 10.0,
182
- "eval_accuracy": 0.6838235294117647,
183
- "eval_combined_score": 0.7480253018237863,
184
- "eval_f1": 0.8122270742358079,
185
- "eval_loss": 0.6226160526275635,
186
- "eval_runtime": 0.2684,
187
- "eval_samples_per_second": 1520.307,
188
- "eval_steps_per_second": 7.452,
189
- "step": 150
190
- },
191
- {
192
- "epoch": 11.0,
193
- "grad_norm": 0.7528880834579468,
194
- "learning_rate": 0.0007800000000000001,
195
- "loss": 0.6341,
196
- "step": 165
197
- },
198
- {
199
- "epoch": 11.0,
200
- "eval_accuracy": 0.6838235294117647,
201
- "eval_combined_score": 0.7480253018237863,
202
- "eval_f1": 0.8122270742358079,
203
- "eval_loss": 0.6255601048469543,
204
- "eval_runtime": 0.2722,
205
- "eval_samples_per_second": 1499.113,
206
- "eval_steps_per_second": 7.349,
207
- "step": 165
208
- },
209
- {
210
- "epoch": 12.0,
211
- "grad_norm": 0.380775511264801,
212
- "learning_rate": 0.00076,
213
- "loss": 0.6333,
214
- "step": 180
215
- },
216
- {
217
- "epoch": 12.0,
218
- "eval_accuracy": 0.6838235294117647,
219
- "eval_combined_score": 0.7480253018237863,
220
- "eval_f1": 0.8122270742358079,
221
- "eval_loss": 0.6249569058418274,
222
- "eval_runtime": 0.2722,
223
- "eval_samples_per_second": 1498.681,
224
- "eval_steps_per_second": 7.346,
225
- "step": 180
226
- },
227
- {
228
- "epoch": 13.0,
229
- "grad_norm": 0.6090389490127563,
230
- "learning_rate": 0.00074,
231
- "loss": 0.6309,
232
- "step": 195
233
- },
234
- {
235
- "epoch": 13.0,
236
- "eval_accuracy": 0.6838235294117647,
237
- "eval_combined_score": 0.7480253018237863,
238
- "eval_f1": 0.8122270742358079,
239
- "eval_loss": 0.6240330338478088,
240
- "eval_runtime": 0.2747,
241
- "eval_samples_per_second": 1485.187,
242
- "eval_steps_per_second": 7.28,
243
- "step": 195
244
- },
245
- {
246
- "epoch": 14.0,
247
- "grad_norm": 1.031883716583252,
248
- "learning_rate": 0.0007199999999999999,
249
- "loss": 0.6343,
250
- "step": 210
251
- },
252
- {
253
- "epoch": 14.0,
254
- "eval_accuracy": 0.6838235294117647,
255
- "eval_combined_score": 0.7480253018237863,
256
- "eval_f1": 0.8122270742358079,
257
- "eval_loss": 0.6258903741836548,
258
- "eval_runtime": 0.2733,
259
- "eval_samples_per_second": 1492.679,
260
- "eval_steps_per_second": 7.317,
261
- "step": 210
262
- },
263
- {
264
- "epoch": 15.0,
265
- "grad_norm": 0.6238628029823303,
266
- "learning_rate": 0.0007,
267
- "loss": 0.6328,
268
- "step": 225
269
- },
270
- {
271
- "epoch": 15.0,
272
- "eval_accuracy": 0.6838235294117647,
273
- "eval_combined_score": 0.7480253018237863,
274
- "eval_f1": 0.8122270742358079,
275
- "eval_loss": 0.6254164576530457,
276
- "eval_runtime": 0.2698,
277
- "eval_samples_per_second": 1512.061,
278
- "eval_steps_per_second": 7.412,
279
- "step": 225
280
- },
281
- {
282
- "epoch": 15.0,
283
- "step": 225,
284
- "total_flos": 7238185132953600.0,
285
- "train_loss": 0.7287869644165039,
286
- "train_runtime": 125.4342,
287
- "train_samples_per_second": 1462.121,
288
- "train_steps_per_second": 5.979
289
  }
290
  ],
291
  "logging_steps": 1,
@@ -314,7 +170,7 @@
314
  "attributes": {}
315
  }
316
  },
317
- "total_flos": 7238185132953600.0,
318
  "train_batch_size": 256,
319
  "trial_name": null,
320
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.6033744215965271,
3
+ "best_model_checkpoint": "bert_base_lda_50_v1_mrpc/checkpoint-30",
4
+ "epoch": 7.0,
5
  "eval_steps": 500,
6
+ "global_step": 105,
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.8829944133758545,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.669,
16
  "step": 15
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "eval_accuracy": 0.6813725490196079,
21
+ "eval_combined_score": 0.744247105370338,
22
+ "eval_f1": 0.8071216617210681,
23
+ "eval_loss": 0.6216921210289001,
24
+ "eval_runtime": 0.273,
25
+ "eval_samples_per_second": 1494.435,
26
+ "eval_steps_per_second": 7.326,
27
  "step": 15
28
  },
29
  {
30
  "epoch": 2.0,
31
+ "grad_norm": 1.7580305337905884,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.6174,
34
  "step": 30
35
  },
36
  {
37
  "epoch": 2.0,
38
+ "eval_accuracy": 0.6936274509803921,
39
+ "eval_combined_score": 0.7511016274810076,
40
+ "eval_f1": 0.8085758039816232,
41
+ "eval_loss": 0.6033744215965271,
42
+ "eval_runtime": 0.2839,
43
+ "eval_samples_per_second": 1437.191,
44
+ "eval_steps_per_second": 7.045,
45
  "step": 30
46
  },
47
  {
48
  "epoch": 3.0,
49
+ "grad_norm": 1.2845402956008911,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.5792,
52
  "step": 45
53
  },
54
  {
55
  "epoch": 3.0,
56
+ "eval_accuracy": 0.7009803921568627,
57
+ "eval_combined_score": 0.7594454199590284,
58
+ "eval_f1": 0.817910447761194,
59
+ "eval_loss": 0.6052736639976501,
60
+ "eval_runtime": 0.2747,
61
+ "eval_samples_per_second": 1485.166,
62
+ "eval_steps_per_second": 7.28,
63
  "step": 45
64
  },
65
  {
66
  "epoch": 4.0,
67
+ "grad_norm": 2.5384278297424316,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.5085,
70
  "step": 60
71
  },
72
  {
73
  "epoch": 4.0,
74
+ "eval_accuracy": 0.6740196078431373,
75
+ "eval_combined_score": 0.7140892863614947,
76
+ "eval_f1": 0.7541589648798522,
77
+ "eval_loss": 0.6419196128845215,
78
+ "eval_runtime": 0.2836,
79
+ "eval_samples_per_second": 1438.409,
80
+ "eval_steps_per_second": 7.051,
81
  "step": 60
82
  },
83
  {
84
  "epoch": 5.0,
85
+ "grad_norm": 5.037930488586426,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.373,
88
  "step": 75
89
  },
90
  {
91
  "epoch": 5.0,
92
+ "eval_accuracy": 0.7083333333333334,
93
+ "eval_combined_score": 0.7592703349282297,
94
+ "eval_f1": 0.810207336523126,
95
+ "eval_loss": 0.749921441078186,
96
+ "eval_runtime": 0.2767,
97
+ "eval_samples_per_second": 1474.352,
98
+ "eval_steps_per_second": 7.227,
99
  "step": 75
100
  },
101
  {
102
  "epoch": 6.0,
103
+ "grad_norm": 6.258988857269287,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.2611,
106
  "step": 90
107
  },
108
  {
109
  "epoch": 6.0,
110
+ "eval_accuracy": 0.6495098039215687,
111
+ "eval_combined_score": 0.6911100421477001,
112
+ "eval_f1": 0.7327102803738317,
113
+ "eval_loss": 0.907718300819397,
114
+ "eval_runtime": 0.2843,
115
+ "eval_samples_per_second": 1434.985,
116
+ "eval_steps_per_second": 7.034,
117
  "step": 90
118
  },
119
  {
120
  "epoch": 7.0,
121
+ "grad_norm": 10.116829872131348,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.1835,
124
  "step": 105
125
  },
126
  {
127
  "epoch": 7.0,
128
+ "eval_accuracy": 0.696078431372549,
129
+ "eval_combined_score": 0.7429544699235626,
130
+ "eval_f1": 0.7898305084745764,
131
+ "eval_loss": 1.00290048122406,
132
+ "eval_runtime": 0.281,
133
+ "eval_samples_per_second": 1451.74,
134
+ "eval_steps_per_second": 7.116,
135
  "step": 105
136
  },
137
  {
138
+ "epoch": 7.0,
139
+ "step": 105,
140
+ "total_flos": 3377819728711680.0,
141
+ "train_loss": 0.4559453896113804,
142
+ "train_runtime": 63.2715,
143
+ "train_samples_per_second": 2898.617,
144
+ "train_steps_per_second": 11.854
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  }
146
  ],
147
  "logging_steps": 1,
 
170
  "attributes": {}
171
  }
172
  },
173
+ "total_flos": 3377819728711680.0,
174
  "train_batch_size": 256,
175
  "trial_name": null,
176
  "trial_params": null