gokulsrinivasagan commited on
Commit
e944e32
·
verified ·
1 Parent(s): 4f3e370

End of training

Browse files
README.md CHANGED
@@ -1,13 +1,28 @@
1
  ---
2
  library_name: transformers
 
 
3
  base_model: gokulsrinivasagan/bert_base_lda_20_v1_book
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - spearmanr
8
  model-index:
9
  - name: bert_base_lda_20_v1_book_stsb
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,12 +30,12 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # bert_base_lda_20_v1_book_stsb
17
 
18
- This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_20_v1_book](https://huggingface.co/gokulsrinivasagan/bert_base_lda_20_v1_book) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.6833
21
- - Pearson: 0.8393
22
- - Spearmanr: 0.8380
23
- - Combined Score: 0.8387
24
 
25
  ## Model description
26
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  base_model: gokulsrinivasagan/bert_base_lda_20_v1_book
6
  tags:
7
  - generated_from_trainer
8
+ datasets:
9
+ - glue
10
  metrics:
11
  - spearmanr
12
  model-index:
13
  - name: bert_base_lda_20_v1_book_stsb
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: GLUE STSB
20
+ type: glue
21
+ args: stsb
22
+ metrics:
23
+ - name: Spearmanr
24
+ type: spearmanr
25
+ value: 0.8381999392722225
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_20_v1_book_stsb
32
 
33
+ This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_20_v1_book](https://huggingface.co/gokulsrinivasagan/bert_base_lda_20_v1_book) on the GLUE STSB dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.6650
36
+ - Pearson: 0.8407
37
+ - Spearmanr: 0.8382
38
+ - Combined Score: 0.8394
39
 
40
  ## Model description
41
 
all_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 17.0,
3
+ "eval_combined_score": 0.8394422302882345,
4
+ "eval_loss": 0.6650304198265076,
5
+ "eval_pearson": 0.8406845213042464,
6
+ "eval_runtime": 0.9741,
7
+ "eval_samples": 1500,
8
+ "eval_samples_per_second": 1539.936,
9
+ "eval_spearmanr": 0.8381999392722225,
10
+ "eval_steps_per_second": 6.16,
11
+ "total_flos": 1.2857200946093568e+16,
12
+ "train_loss": 0.5494434967675172,
13
+ "train_runtime": 221.1064,
14
+ "train_samples": 5749,
15
+ "train_samples_per_second": 1300.053,
16
+ "train_steps_per_second": 5.201
17
+ }
eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 17.0,
3
+ "eval_combined_score": 0.8394422302882345,
4
+ "eval_loss": 0.6650304198265076,
5
+ "eval_pearson": 0.8406845213042464,
6
+ "eval_runtime": 0.9741,
7
+ "eval_samples": 1500,
8
+ "eval_samples_per_second": 1539.936,
9
+ "eval_spearmanr": 0.8381999392722225,
10
+ "eval_steps_per_second": 6.16
11
+ }
logs/events.out.tfevents.1733846472.ki-g0008.520107.31 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d1c3de404078e4fd3f174f18e5cea91b552c97109fd16156fd851ad32729107
3
+ size 521
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 17.0,
3
+ "total_flos": 1.2857200946093568e+16,
4
+ "train_loss": 0.5494434967675172,
5
+ "train_runtime": 221.1064,
6
+ "train_samples": 5749,
7
+ "train_samples_per_second": 1300.053,
8
+ "train_steps_per_second": 5.201
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,357 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6650304198265076,
3
+ "best_model_checkpoint": "bert_base_lda_20_v1_book_stsb/checkpoint-276",
4
+ "epoch": 17.0,
5
+ "eval_steps": 500,
6
+ "global_step": 391,
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": 6.7477006912231445,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 2.8738,
16
+ "step": 23
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_combined_score": 0.17561117616234614,
21
+ "eval_loss": 2.4670398235321045,
22
+ "eval_pearson": 0.17646745724560672,
23
+ "eval_runtime": 0.9997,
24
+ "eval_samples_per_second": 1500.502,
25
+ "eval_spearmanr": 0.17475489507908556,
26
+ "eval_steps_per_second": 6.002,
27
+ "step": 23
28
+ },
29
+ {
30
+ "epoch": 2.0,
31
+ "grad_norm": 35.44430160522461,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 1.4719,
34
+ "step": 46
35
+ },
36
+ {
37
+ "epoch": 2.0,
38
+ "eval_combined_score": 0.7400782076458396,
39
+ "eval_loss": 1.0279998779296875,
40
+ "eval_pearson": 0.739723981540606,
41
+ "eval_runtime": 1.0078,
42
+ "eval_samples_per_second": 1488.42,
43
+ "eval_spearmanr": 0.7404324337510731,
44
+ "eval_steps_per_second": 5.954,
45
+ "step": 46
46
+ },
47
+ {
48
+ "epoch": 3.0,
49
+ "grad_norm": 13.613875389099121,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.9801,
52
+ "step": 69
53
+ },
54
+ {
55
+ "epoch": 3.0,
56
+ "eval_combined_score": 0.7954812287252586,
57
+ "eval_loss": 0.8275899887084961,
58
+ "eval_pearson": 0.7955648654056936,
59
+ "eval_runtime": 1.0022,
60
+ "eval_samples_per_second": 1496.75,
61
+ "eval_spearmanr": 0.7953975920448235,
62
+ "eval_steps_per_second": 5.987,
63
+ "step": 69
64
+ },
65
+ {
66
+ "epoch": 4.0,
67
+ "grad_norm": 16.052230834960938,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.783,
70
+ "step": 92
71
+ },
72
+ {
73
+ "epoch": 4.0,
74
+ "eval_combined_score": 0.8195001768993989,
75
+ "eval_loss": 0.7431384921073914,
76
+ "eval_pearson": 0.8197032146737679,
77
+ "eval_runtime": 0.9931,
78
+ "eval_samples_per_second": 1510.427,
79
+ "eval_spearmanr": 0.8192971391250299,
80
+ "eval_steps_per_second": 6.042,
81
+ "step": 92
82
+ },
83
+ {
84
+ "epoch": 5.0,
85
+ "grad_norm": 12.761335372924805,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.5677,
88
+ "step": 115
89
+ },
90
+ {
91
+ "epoch": 5.0,
92
+ "eval_combined_score": 0.8143535964097317,
93
+ "eval_loss": 0.9074862599372864,
94
+ "eval_pearson": 0.8135246219484462,
95
+ "eval_runtime": 1.0017,
96
+ "eval_samples_per_second": 1497.517,
97
+ "eval_spearmanr": 0.8151825708710173,
98
+ "eval_steps_per_second": 5.99,
99
+ "step": 115
100
+ },
101
+ {
102
+ "epoch": 6.0,
103
+ "grad_norm": 14.109099388122559,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.4407,
106
+ "step": 138
107
+ },
108
+ {
109
+ "epoch": 6.0,
110
+ "eval_combined_score": 0.8269323052226907,
111
+ "eval_loss": 0.7474443316459656,
112
+ "eval_pearson": 0.8267083714336028,
113
+ "eval_runtime": 1.0083,
114
+ "eval_samples_per_second": 1487.66,
115
+ "eval_spearmanr": 0.8271562390117786,
116
+ "eval_steps_per_second": 5.951,
117
+ "step": 138
118
+ },
119
+ {
120
+ "epoch": 7.0,
121
+ "grad_norm": 6.391584396362305,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.3821,
124
+ "step": 161
125
+ },
126
+ {
127
+ "epoch": 7.0,
128
+ "eval_combined_score": 0.838118234588908,
129
+ "eval_loss": 0.6753207445144653,
130
+ "eval_pearson": 0.8391483582280732,
131
+ "eval_runtime": 0.9964,
132
+ "eval_samples_per_second": 1505.478,
133
+ "eval_spearmanr": 0.8370881109497429,
134
+ "eval_steps_per_second": 6.022,
135
+ "step": 161
136
+ },
137
+ {
138
+ "epoch": 8.0,
139
+ "grad_norm": 9.437135696411133,
140
+ "learning_rate": 4.2e-05,
141
+ "loss": 0.3036,
142
+ "step": 184
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "eval_combined_score": 0.8252995711473009,
147
+ "eval_loss": 0.8726378679275513,
148
+ "eval_pearson": 0.8245684237762525,
149
+ "eval_runtime": 0.9644,
150
+ "eval_samples_per_second": 1555.381,
151
+ "eval_spearmanr": 0.8260307185183493,
152
+ "eval_steps_per_second": 6.222,
153
+ "step": 184
154
+ },
155
+ {
156
+ "epoch": 9.0,
157
+ "grad_norm": 6.426690101623535,
158
+ "learning_rate": 4.1e-05,
159
+ "loss": 0.269,
160
+ "step": 207
161
+ },
162
+ {
163
+ "epoch": 9.0,
164
+ "eval_combined_score": 0.8302312339843521,
165
+ "eval_loss": 0.7330970168113708,
166
+ "eval_pearson": 0.8311362222183013,
167
+ "eval_runtime": 0.968,
168
+ "eval_samples_per_second": 1549.529,
169
+ "eval_spearmanr": 0.8293262457504029,
170
+ "eval_steps_per_second": 6.198,
171
+ "step": 207
172
+ },
173
+ {
174
+ "epoch": 10.0,
175
+ "grad_norm": 6.680917263031006,
176
+ "learning_rate": 4e-05,
177
+ "loss": 0.2191,
178
+ "step": 230
179
+ },
180
+ {
181
+ "epoch": 10.0,
182
+ "eval_combined_score": 0.8375282460597571,
183
+ "eval_loss": 0.7562392354011536,
184
+ "eval_pearson": 0.8382616394860685,
185
+ "eval_runtime": 0.9959,
186
+ "eval_samples_per_second": 1506.245,
187
+ "eval_spearmanr": 0.8367948526334458,
188
+ "eval_steps_per_second": 6.025,
189
+ "step": 230
190
+ },
191
+ {
192
+ "epoch": 11.0,
193
+ "grad_norm": 3.755885124206543,
194
+ "learning_rate": 3.9000000000000006e-05,
195
+ "loss": 0.1854,
196
+ "step": 253
197
+ },
198
+ {
199
+ "epoch": 11.0,
200
+ "eval_combined_score": 0.8353770667011837,
201
+ "eval_loss": 0.7022337317466736,
202
+ "eval_pearson": 0.8364761178604215,
203
+ "eval_runtime": 1.0014,
204
+ "eval_samples_per_second": 1497.897,
205
+ "eval_spearmanr": 0.834278015541946,
206
+ "eval_steps_per_second": 5.992,
207
+ "step": 253
208
+ },
209
+ {
210
+ "epoch": 12.0,
211
+ "grad_norm": 7.932562828063965,
212
+ "learning_rate": 3.8e-05,
213
+ "loss": 0.1718,
214
+ "step": 276
215
+ },
216
+ {
217
+ "epoch": 12.0,
218
+ "eval_combined_score": 0.8394422302882345,
219
+ "eval_loss": 0.6650304198265076,
220
+ "eval_pearson": 0.8406845213042464,
221
+ "eval_runtime": 0.9788,
222
+ "eval_samples_per_second": 1532.489,
223
+ "eval_spearmanr": 0.8381999392722225,
224
+ "eval_steps_per_second": 6.13,
225
+ "step": 276
226
+ },
227
+ {
228
+ "epoch": 13.0,
229
+ "grad_norm": 6.083053112030029,
230
+ "learning_rate": 3.7e-05,
231
+ "loss": 0.1685,
232
+ "step": 299
233
+ },
234
+ {
235
+ "epoch": 13.0,
236
+ "eval_combined_score": 0.8341740484470688,
237
+ "eval_loss": 0.7269710302352905,
238
+ "eval_pearson": 0.8350427176753902,
239
+ "eval_runtime": 0.9854,
240
+ "eval_samples_per_second": 1522.222,
241
+ "eval_spearmanr": 0.8333053792187473,
242
+ "eval_steps_per_second": 6.089,
243
+ "step": 299
244
+ },
245
+ {
246
+ "epoch": 14.0,
247
+ "grad_norm": 5.380353927612305,
248
+ "learning_rate": 3.6e-05,
249
+ "loss": 0.1368,
250
+ "step": 322
251
+ },
252
+ {
253
+ "epoch": 14.0,
254
+ "eval_combined_score": 0.8384150656102521,
255
+ "eval_loss": 0.7532300353050232,
256
+ "eval_pearson": 0.839212923010702,
257
+ "eval_runtime": 0.9703,
258
+ "eval_samples_per_second": 1545.963,
259
+ "eval_spearmanr": 0.8376172082098022,
260
+ "eval_steps_per_second": 6.184,
261
+ "step": 322
262
+ },
263
+ {
264
+ "epoch": 15.0,
265
+ "grad_norm": 2.213524103164673,
266
+ "learning_rate": 3.5e-05,
267
+ "loss": 0.1351,
268
+ "step": 345
269
+ },
270
+ {
271
+ "epoch": 15.0,
272
+ "eval_combined_score": 0.8378988273941752,
273
+ "eval_loss": 0.8710149526596069,
274
+ "eval_pearson": 0.8378603538577427,
275
+ "eval_runtime": 0.9708,
276
+ "eval_samples_per_second": 1545.192,
277
+ "eval_spearmanr": 0.8379373009306077,
278
+ "eval_steps_per_second": 6.181,
279
+ "step": 345
280
+ },
281
+ {
282
+ "epoch": 16.0,
283
+ "grad_norm": 5.186318874359131,
284
+ "learning_rate": 3.4000000000000007e-05,
285
+ "loss": 0.1459,
286
+ "step": 368
287
+ },
288
+ {
289
+ "epoch": 16.0,
290
+ "eval_combined_score": 0.840746533861038,
291
+ "eval_loss": 0.7801129817962646,
292
+ "eval_pearson": 0.841643298465437,
293
+ "eval_runtime": 0.9846,
294
+ "eval_samples_per_second": 1523.477,
295
+ "eval_spearmanr": 0.8398497692566391,
296
+ "eval_steps_per_second": 6.094,
297
+ "step": 368
298
+ },
299
+ {
300
+ "epoch": 17.0,
301
+ "grad_norm": 4.310553550720215,
302
+ "learning_rate": 3.3e-05,
303
+ "loss": 0.106,
304
+ "step": 391
305
+ },
306
+ {
307
+ "epoch": 17.0,
308
+ "eval_combined_score": 0.8386885053587652,
309
+ "eval_loss": 0.6833200454711914,
310
+ "eval_pearson": 0.8393476630897322,
311
+ "eval_runtime": 1.0147,
312
+ "eval_samples_per_second": 1478.234,
313
+ "eval_spearmanr": 0.838029347627798,
314
+ "eval_steps_per_second": 5.913,
315
+ "step": 391
316
+ },
317
+ {
318
+ "epoch": 17.0,
319
+ "step": 391,
320
+ "total_flos": 1.2857200946093568e+16,
321
+ "train_loss": 0.5494434967675172,
322
+ "train_runtime": 221.1064,
323
+ "train_samples_per_second": 1300.053,
324
+ "train_steps_per_second": 5.201
325
+ }
326
+ ],
327
+ "logging_steps": 1,
328
+ "max_steps": 1150,
329
+ "num_input_tokens_seen": 0,
330
+ "num_train_epochs": 50,
331
+ "save_steps": 500,
332
+ "stateful_callbacks": {
333
+ "EarlyStoppingCallback": {
334
+ "args": {
335
+ "early_stopping_patience": 5,
336
+ "early_stopping_threshold": 0.0
337
+ },
338
+ "attributes": {
339
+ "early_stopping_patience_counter": 5
340
+ }
341
+ },
342
+ "TrainerControl": {
343
+ "args": {
344
+ "should_epoch_stop": false,
345
+ "should_evaluate": false,
346
+ "should_log": false,
347
+ "should_save": true,
348
+ "should_training_stop": true
349
+ },
350
+ "attributes": {}
351
+ }
352
+ },
353
+ "total_flos": 1.2857200946093568e+16,
354
+ "train_batch_size": 256,
355
+ "trial_name": null,
356
+ "trial_params": null
357
+ }