gokulsrinivasagan commited on
Commit
29c1bb0
·
verified ·
1 Parent(s): 8f760ed

End of training

Browse files
README.md CHANGED
@@ -1,13 +1,28 @@
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
  model-index:
9
  - name: bert_base_lda_100_v1_mnli
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # bert_base_lda_100_v1_mnli
17
 
18
- 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.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 1.0094
21
- - Accuracy: 0.7111
22
 
23
  ## Model description
24
 
 
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
  model-index:
13
  - name: bert_base_lda_100_v1_mnli
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: GLUE MNLI
20
+ type: glue
21
+ args: mnli
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.7162327095199349
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
30
 
31
  # bert_base_lda_100_v1_mnli
32
 
33
+ 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 MNLI dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.6799
36
+ - Accuracy: 0.7162
37
 
38
  ## Model description
39
 
all_results.json CHANGED
@@ -1,22 +1,22 @@
1
  {
2
- "epoch": 14.0,
3
- "epoch_mm": 14.0,
4
- "eval_accuracy": 0.3273560876209883,
5
- "eval_accuracy_mm": 0.3295362082994304,
6
- "eval_loss": 1.0962358713150024,
7
- "eval_loss_mm": 1.0962363481521606,
8
- "eval_runtime": 6.2458,
9
- "eval_runtime_mm": 6.2414,
10
  "eval_samples": 9815,
11
  "eval_samples_mm": 9832,
12
- "eval_samples_per_second": 1571.45,
13
- "eval_samples_per_second_mm": 1575.297,
14
- "eval_steps_per_second": 6.244,
15
- "eval_steps_per_second_mm": 6.249,
16
- "total_flos": 7.232761575803474e+17,
17
- "train_loss": 1.098970256541823,
18
- "train_runtime": 8924.8215,
19
  "train_samples": 392702,
20
- "train_samples_per_second": 2200.055,
21
- "train_steps_per_second": 8.594
22
  }
 
1
  {
2
+ "epoch": 9.0,
3
+ "epoch_mm": 9.0,
4
+ "eval_accuracy": 0.7112582781456953,
5
+ "eval_accuracy_mm": 0.7162327095199349,
6
+ "eval_loss": 0.7055869698524475,
7
+ "eval_loss_mm": 0.6798676252365112,
8
+ "eval_runtime": 6.4534,
9
+ "eval_runtime_mm": 6.4286,
10
  "eval_samples": 9815,
11
  "eval_samples_mm": 9832,
12
+ "eval_samples_per_second": 1520.914,
13
+ "eval_samples_per_second_mm": 1529.421,
14
+ "eval_steps_per_second": 6.043,
15
+ "eval_steps_per_second_mm": 6.067,
16
+ "total_flos": 4.6496324415879475e+17,
17
+ "train_loss": 0.5496212416207741,
18
+ "train_runtime": 5787.733,
19
  "train_samples": 392702,
20
+ "train_samples_per_second": 3392.537,
21
+ "train_steps_per_second": 13.252
22
  }
eval_results.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
- "epoch": 14.0,
3
- "epoch_mm": 14.0,
4
- "eval_accuracy": 0.3273560876209883,
5
- "eval_accuracy_mm": 0.3295362082994304,
6
- "eval_loss": 1.0962358713150024,
7
- "eval_loss_mm": 1.0962363481521606,
8
- "eval_runtime": 6.2458,
9
- "eval_runtime_mm": 6.2414,
10
  "eval_samples": 9815,
11
  "eval_samples_mm": 9832,
12
- "eval_samples_per_second": 1571.45,
13
- "eval_samples_per_second_mm": 1575.297,
14
- "eval_steps_per_second": 6.244,
15
- "eval_steps_per_second_mm": 6.249
16
  }
 
1
  {
2
+ "epoch": 9.0,
3
+ "epoch_mm": 9.0,
4
+ "eval_accuracy": 0.7112582781456953,
5
+ "eval_accuracy_mm": 0.7162327095199349,
6
+ "eval_loss": 0.7055869698524475,
7
+ "eval_loss_mm": 0.6798676252365112,
8
+ "eval_runtime": 6.4534,
9
+ "eval_runtime_mm": 6.4286,
10
  "eval_samples": 9815,
11
  "eval_samples_mm": 9832,
12
+ "eval_samples_per_second": 1520.914,
13
+ "eval_samples_per_second_mm": 1529.421,
14
+ "eval_steps_per_second": 6.043,
15
+ "eval_steps_per_second_mm": 6.067
16
  }
logs/events.out.tfevents.1733323891.ki-g0008.1208741.17 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9316fa285d50c3deae54ed87953db1cca47045239d01fd282433d1f06ccd6497
3
+ size 734
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 14.0,
3
- "total_flos": 7.232761575803474e+17,
4
- "train_loss": 1.098970256541823,
5
- "train_runtime": 8924.8215,
6
  "train_samples": 392702,
7
- "train_samples_per_second": 2200.055,
8
- "train_steps_per_second": 8.594
9
  }
 
1
  {
2
+ "epoch": 9.0,
3
+ "total_flos": 4.6496324415879475e+17,
4
+ "train_loss": 0.5496212416207741,
5
+ "train_runtime": 5787.733,
6
  "train_samples": 392702,
7
+ "train_samples_per_second": 3392.537,
8
+ "train_steps_per_second": 13.252
9
  }
trainer_state.json CHANGED
@@ -1,245 +1,165 @@
1
  {
2
- "best_metric": 1.0962358713150024,
3
- "best_model_checkpoint": "bert_base_lda_100_v1_mnli/checkpoint-13806",
4
- "epoch": 14.0,
5
  "eval_steps": 500,
6
- "global_step": 21476,
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.02029704488813877,
14
- "learning_rate": 0.00098,
15
- "loss": 1.1038,
16
  "step": 1534
17
  },
18
  {
19
  "epoch": 1.0,
20
- "eval_accuracy": 0.3273560876209883,
21
- "eval_loss": 1.0992883443832397,
22
- "eval_runtime": 6.2882,
23
- "eval_samples_per_second": 1560.868,
24
- "eval_steps_per_second": 6.202,
25
  "step": 1534
26
  },
27
  {
28
  "epoch": 2.0,
29
- "grad_norm": 0.11696068942546844,
30
- "learning_rate": 0.00096,
31
- "loss": 1.0989,
32
  "step": 3068
33
  },
34
  {
35
  "epoch": 2.0,
36
- "eval_accuracy": 0.3273560876209883,
37
- "eval_loss": 1.0990049839019775,
38
- "eval_runtime": 6.2196,
39
- "eval_samples_per_second": 1578.081,
40
- "eval_steps_per_second": 6.271,
41
  "step": 3068
42
  },
43
  {
44
  "epoch": 3.0,
45
- "grad_norm": 0.03827323019504547,
46
- "learning_rate": 0.00094,
47
- "loss": 1.0987,
48
  "step": 4602
49
  },
50
  {
51
  "epoch": 3.0,
52
- "eval_accuracy": 0.3273560876209883,
53
- "eval_loss": 1.10149085521698,
54
- "eval_runtime": 6.3142,
55
- "eval_samples_per_second": 1554.441,
56
- "eval_steps_per_second": 6.177,
57
  "step": 4602
58
  },
59
  {
60
  "epoch": 4.0,
61
- "grad_norm": 0.062206000089645386,
62
- "learning_rate": 0.00092,
63
- "loss": 1.0985,
64
  "step": 6136
65
  },
66
  {
67
  "epoch": 4.0,
68
- "eval_accuracy": 0.31818644931227713,
69
- "eval_loss": 1.10163414478302,
70
- "eval_runtime": 6.3418,
71
- "eval_samples_per_second": 1547.678,
72
- "eval_steps_per_second": 6.15,
73
  "step": 6136
74
  },
75
  {
76
  "epoch": 5.0,
77
- "grad_norm": 0.07343439757823944,
78
- "learning_rate": 0.0009000000000000001,
79
- "loss": 1.0986,
80
  "step": 7670
81
  },
82
  {
83
  "epoch": 5.0,
84
- "eval_accuracy": 0.3544574630667346,
85
- "eval_loss": 1.0988649129867554,
86
- "eval_runtime": 6.2795,
87
- "eval_samples_per_second": 1563.023,
88
- "eval_steps_per_second": 6.211,
89
  "step": 7670
90
  },
91
  {
92
  "epoch": 6.0,
93
- "grad_norm": 0.047856856137514114,
94
- "learning_rate": 0.00088,
95
- "loss": 1.0987,
96
  "step": 9204
97
  },
98
  {
99
  "epoch": 6.0,
100
- "eval_accuracy": 0.3544574630667346,
101
- "eval_loss": 1.0988649129867554,
102
- "eval_runtime": 6.2109,
103
- "eval_samples_per_second": 1580.289,
104
- "eval_steps_per_second": 6.279,
105
  "step": 9204
106
  },
107
  {
108
  "epoch": 7.0,
109
- "grad_norm": 0.0791020318865776,
110
- "learning_rate": 0.00086,
111
- "loss": 1.0985,
112
  "step": 10738
113
  },
114
  {
115
  "epoch": 7.0,
116
- "eval_accuracy": 0.31818644931227713,
117
- "eval_loss": 1.0968025922775269,
118
- "eval_runtime": 6.2652,
119
- "eval_samples_per_second": 1566.588,
120
- "eval_steps_per_second": 6.225,
121
  "step": 10738
122
  },
123
  {
124
  "epoch": 8.0,
125
- "grad_norm": 0.016667626798152924,
126
- "learning_rate": 0.00084,
127
- "loss": 1.0986,
128
  "step": 12272
129
  },
130
  {
131
  "epoch": 8.0,
132
- "eval_accuracy": 0.31818644931227713,
133
- "eval_loss": 1.0990766286849976,
134
- "eval_runtime": 6.3215,
135
- "eval_samples_per_second": 1552.637,
136
- "eval_steps_per_second": 6.169,
137
  "step": 12272
138
  },
139
  {
140
  "epoch": 9.0,
141
- "grad_norm": 0.006579674780368805,
142
- "learning_rate": 0.00082,
143
- "loss": 1.0987,
144
  "step": 13806
145
  },
146
  {
147
  "epoch": 9.0,
148
- "eval_accuracy": 0.3273560876209883,
149
- "eval_loss": 1.0962358713150024,
150
- "eval_runtime": 6.3164,
151
- "eval_samples_per_second": 1553.903,
152
- "eval_steps_per_second": 6.174,
153
  "step": 13806
154
  },
155
  {
156
- "epoch": 10.0,
157
- "grad_norm": 0.045499037951231,
158
- "learning_rate": 0.0008,
159
- "loss": 1.0986,
160
- "step": 15340
161
- },
162
- {
163
- "epoch": 10.0,
164
- "eval_accuracy": 0.3273560876209883,
165
- "eval_loss": 1.0992168188095093,
166
- "eval_runtime": 6.299,
167
- "eval_samples_per_second": 1558.187,
168
- "eval_steps_per_second": 6.191,
169
- "step": 15340
170
- },
171
- {
172
- "epoch": 11.0,
173
- "grad_norm": 0.009605828672647476,
174
- "learning_rate": 0.0007800000000000001,
175
- "loss": 1.0985,
176
- "step": 16874
177
- },
178
- {
179
- "epoch": 11.0,
180
- "eval_accuracy": 0.3273560876209883,
181
- "eval_loss": 1.0990049839019775,
182
- "eval_runtime": 6.2315,
183
- "eval_samples_per_second": 1575.066,
184
- "eval_steps_per_second": 6.259,
185
- "step": 16874
186
- },
187
- {
188
- "epoch": 12.0,
189
- "grad_norm": 0.03646823763847351,
190
- "learning_rate": 0.00076,
191
- "loss": 1.0984,
192
- "step": 18408
193
- },
194
- {
195
- "epoch": 12.0,
196
- "eval_accuracy": 0.31818644931227713,
197
- "eval_loss": 1.0990766286849976,
198
- "eval_runtime": 6.1815,
199
- "eval_samples_per_second": 1587.791,
200
- "eval_steps_per_second": 6.309,
201
- "step": 18408
202
- },
203
- {
204
- "epoch": 13.0,
205
- "grad_norm": 0.09090559184551239,
206
- "learning_rate": 0.00074,
207
- "loss": 1.0985,
208
- "step": 19942
209
- },
210
- {
211
- "epoch": 13.0,
212
- "eval_accuracy": 0.31818644931227713,
213
- "eval_loss": 1.0965192317962646,
214
- "eval_runtime": 6.2476,
215
- "eval_samples_per_second": 1571.012,
216
- "eval_steps_per_second": 6.242,
217
- "step": 19942
218
- },
219
- {
220
- "epoch": 14.0,
221
- "grad_norm": 0.03515646234154701,
222
- "learning_rate": 0.0007199999999999999,
223
- "loss": 1.0987,
224
- "step": 21476
225
- },
226
- {
227
- "epoch": 14.0,
228
- "eval_accuracy": 0.3273560876209883,
229
- "eval_loss": 1.0987216234207153,
230
- "eval_runtime": 6.245,
231
- "eval_samples_per_second": 1571.652,
232
- "eval_steps_per_second": 6.245,
233
- "step": 21476
234
- },
235
- {
236
- "epoch": 14.0,
237
- "step": 21476,
238
- "total_flos": 7.232761575803474e+17,
239
- "train_loss": 1.098970256541823,
240
- "train_runtime": 8924.8215,
241
- "train_samples_per_second": 2200.055,
242
- "train_steps_per_second": 8.594
243
  }
244
  ],
245
  "logging_steps": 1,
@@ -268,7 +188,7 @@
268
  "attributes": {}
269
  }
270
  },
271
- "total_flos": 7.232761575803474e+17,
272
  "train_batch_size": 256,
273
  "trial_name": null,
274
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.7055869698524475,
3
+ "best_model_checkpoint": "bert_base_lda_100_v1_mnli/checkpoint-6136",
4
+ "epoch": 9.0,
5
  "eval_steps": 500,
6
+ "global_step": 13806,
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.7309693098068237,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.9588,
16
  "step": 1534
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "eval_accuracy": 0.6248599083036169,
21
+ "eval_loss": 0.8420299887657166,
22
+ "eval_runtime": 6.3265,
23
+ "eval_samples_per_second": 1551.4,
24
+ "eval_steps_per_second": 6.165,
25
  "step": 1534
26
  },
27
  {
28
  "epoch": 2.0,
29
+ "grad_norm": 2.024912118911743,
30
+ "learning_rate": 4.8e-05,
31
+ "loss": 0.7857,
32
  "step": 3068
33
  },
34
  {
35
  "epoch": 2.0,
36
+ "eval_accuracy": 0.680794701986755,
37
+ "eval_loss": 0.7450552582740784,
38
+ "eval_runtime": 6.312,
39
+ "eval_samples_per_second": 1554.976,
40
+ "eval_steps_per_second": 6.179,
41
  "step": 3068
42
  },
43
  {
44
  "epoch": 3.0,
45
+ "grad_norm": 1.8295753002166748,
46
+ "learning_rate": 4.7e-05,
47
+ "loss": 0.6825,
48
  "step": 4602
49
  },
50
  {
51
  "epoch": 3.0,
52
+ "eval_accuracy": 0.6976057055527254,
53
+ "eval_loss": 0.7161675691604614,
54
+ "eval_runtime": 6.3639,
55
+ "eval_samples_per_second": 1542.29,
56
+ "eval_steps_per_second": 6.128,
57
  "step": 4602
58
  },
59
  {
60
  "epoch": 4.0,
61
+ "grad_norm": 2.0847725868225098,
62
+ "learning_rate": 4.600000000000001e-05,
63
+ "loss": 0.5973,
64
  "step": 6136
65
  },
66
  {
67
  "epoch": 4.0,
68
+ "eval_accuracy": 0.7112582781456953,
69
+ "eval_loss": 0.7055869698524475,
70
+ "eval_runtime": 6.3116,
71
+ "eval_samples_per_second": 1555.078,
72
+ "eval_steps_per_second": 6.179,
73
  "step": 6136
74
  },
75
  {
76
  "epoch": 5.0,
77
+ "grad_norm": 2.3416082859039307,
78
+ "learning_rate": 4.5e-05,
79
+ "loss": 0.5208,
80
  "step": 7670
81
  },
82
  {
83
  "epoch": 5.0,
84
+ "eval_accuracy": 0.7144167091186959,
85
+ "eval_loss": 0.7459524869918823,
86
+ "eval_runtime": 6.2457,
87
+ "eval_samples_per_second": 1571.471,
88
+ "eval_steps_per_second": 6.244,
89
  "step": 7670
90
  },
91
  {
92
  "epoch": 6.0,
93
+ "grad_norm": 2.3869707584381104,
94
+ "learning_rate": 4.4000000000000006e-05,
95
+ "loss": 0.4464,
96
  "step": 9204
97
  },
98
  {
99
  "epoch": 6.0,
100
+ "eval_accuracy": 0.7077941925624045,
101
+ "eval_loss": 0.790677011013031,
102
+ "eval_runtime": 6.3035,
103
+ "eval_samples_per_second": 1557.08,
104
+ "eval_steps_per_second": 6.187,
105
  "step": 9204
106
  },
107
  {
108
  "epoch": 7.0,
109
+ "grad_norm": 2.6693198680877686,
110
+ "learning_rate": 4.3e-05,
111
+ "loss": 0.3775,
112
  "step": 10738
113
  },
114
  {
115
  "epoch": 7.0,
116
+ "eval_accuracy": 0.7171676006113092,
117
+ "eval_loss": 0.8361655473709106,
118
+ "eval_runtime": 6.3703,
119
+ "eval_samples_per_second": 1540.741,
120
+ "eval_steps_per_second": 6.122,
121
  "step": 10738
122
  },
123
  {
124
  "epoch": 8.0,
125
+ "grad_norm": 3.255511999130249,
126
+ "learning_rate": 4.2e-05,
127
+ "loss": 0.316,
128
  "step": 12272
129
  },
130
  {
131
  "epoch": 8.0,
132
+ "eval_accuracy": 0.7101375445746306,
133
+ "eval_loss": 0.9462762475013733,
134
+ "eval_runtime": 6.4,
135
+ "eval_samples_per_second": 1533.587,
136
+ "eval_steps_per_second": 6.094,
137
  "step": 12272
138
  },
139
  {
140
  "epoch": 9.0,
141
+ "grad_norm": 3.7821061611175537,
142
+ "learning_rate": 4.1e-05,
143
+ "loss": 0.2617,
144
  "step": 13806
145
  },
146
  {
147
  "epoch": 9.0,
148
+ "eval_accuracy": 0.7110545084055018,
149
+ "eval_loss": 1.009425401687622,
150
+ "eval_runtime": 6.5216,
151
+ "eval_samples_per_second": 1505.005,
152
+ "eval_steps_per_second": 5.98,
153
  "step": 13806
154
  },
155
  {
156
+ "epoch": 9.0,
157
+ "step": 13806,
158
+ "total_flos": 4.6496324415879475e+17,
159
+ "train_loss": 0.5496212416207741,
160
+ "train_runtime": 5787.733,
161
+ "train_samples_per_second": 3392.537,
162
+ "train_steps_per_second": 13.252
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
164
  ],
165
  "logging_steps": 1,
 
188
  "attributes": {}
189
  }
190
  },
191
+ "total_flos": 4.6496324415879475e+17,
192
  "train_batch_size": 256,
193
  "trial_name": null,
194
  "trial_params": null