gokulsrinivasagan commited on
Commit
88b471d
·
verified ·
1 Parent(s): f755eb9

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,32 @@
1
  ---
2
  library_name: transformers
 
 
3
  base_model: gokulsrinivasagan/bert_base_lda_5_v1
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - matthews_correlation
8
  - accuracy
9
  model-index:
10
  - name: bert_base_lda_5_v1_cola
11
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -16,11 +34,11 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # bert_base_lda_5_v1_cola
18
 
19
- This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_5_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_5_v1) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.9654
22
- - Matthews Correlation: 0.1201
23
- - Accuracy: 0.6424
24
 
25
  ## Model description
26
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  base_model: gokulsrinivasagan/bert_base_lda_5_v1
6
  tags:
7
  - generated_from_trainer
8
+ datasets:
9
+ - glue
10
  metrics:
11
  - matthews_correlation
12
  - accuracy
13
  model-index:
14
  - name: bert_base_lda_5_v1_cola
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: GLUE COLA
21
+ type: glue
22
+ args: cola
23
+ metrics:
24
+ - name: Matthews Correlation
25
+ type: matthews_correlation
26
+ value: 0.014335296446004425
27
+ - name: Accuracy
28
+ type: accuracy
29
+ value: 0.6788111329078674
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_5_v1_cola
36
 
37
+ This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_5_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_5_v1) on the GLUE COLA dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.6141
40
+ - Matthews Correlation: 0.0143
41
+ - Accuracy: 0.6788
42
 
43
  ## Model description
44
 
all_results.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
- "epoch": 9.0,
3
- "eval_accuracy": 0.6912751793861389,
4
- "eval_loss": 0.6183110475540161,
5
- "eval_matthews_correlation": 0.0,
6
- "eval_runtime": 0.6645,
7
  "eval_samples": 1043,
8
- "eval_samples_per_second": 1569.501,
9
- "eval_steps_per_second": 7.524,
10
- "total_flos": 1.012438185472512e+16,
11
- "train_loss": 0.6631240346073325,
12
- "train_runtime": 151.6801,
13
  "train_samples": 8551,
14
- "train_samples_per_second": 2818.761,
15
- "train_steps_per_second": 11.208
16
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.6788111329078674,
4
+ "eval_loss": 0.6140850782394409,
5
+ "eval_matthews_correlation": 0.014335296446004425,
6
+ "eval_runtime": 0.6747,
7
  "eval_samples": 1043,
8
+ "eval_samples_per_second": 1545.816,
9
+ "eval_steps_per_second": 7.41,
10
+ "total_flos": 8999450537533440.0,
11
+ "train_loss": 0.47134509156731996,
12
+ "train_runtime": 138.7221,
13
  "train_samples": 8551,
14
+ "train_samples_per_second": 3082.061,
15
+ "train_steps_per_second": 12.255
16
  }
eval_results.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
- "epoch": 9.0,
3
- "eval_accuracy": 0.6912751793861389,
4
- "eval_loss": 0.6183110475540161,
5
- "eval_matthews_correlation": 0.0,
6
- "eval_runtime": 0.6645,
7
  "eval_samples": 1043,
8
- "eval_samples_per_second": 1569.501,
9
- "eval_steps_per_second": 7.524
10
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.6788111329078674,
4
+ "eval_loss": 0.6140850782394409,
5
+ "eval_matthews_correlation": 0.014335296446004425,
6
+ "eval_runtime": 0.6747,
7
  "eval_samples": 1043,
8
+ "eval_samples_per_second": 1545.816,
9
+ "eval_steps_per_second": 7.41
10
  }
logs/events.out.tfevents.1733309485.ki-g0008.1206925.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f6de4dfc7f801c3383ca1c209d13a2cfa3406b7db32b6e242c8203776eb2750
3
+ size 475
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 9.0,
3
- "total_flos": 1.012438185472512e+16,
4
- "train_loss": 0.6631240346073325,
5
- "train_runtime": 151.6801,
6
  "train_samples": 8551,
7
- "train_samples_per_second": 2818.761,
8
- "train_steps_per_second": 11.208
9
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "total_flos": 8999450537533440.0,
4
+ "train_loss": 0.47134509156731996,
5
+ "train_runtime": 138.7221,
6
  "train_samples": 8551,
7
+ "train_samples_per_second": 3082.061,
8
+ "train_steps_per_second": 12.255
9
  }
trainer_state.json CHANGED
@@ -1,174 +1,157 @@
1
  {
2
- "best_metric": 0.6183110475540161,
3
- "best_model_checkpoint": "bert_base_lda_5_v1_cola/checkpoint-136",
4
- "epoch": 9.0,
5
  "eval_steps": 500,
6
- "global_step": 306,
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": 2.0946457386016846,
14
- "learning_rate": 0.00098,
15
- "loss": 1.0659,
16
  "step": 34
17
  },
18
  {
19
  "epoch": 1.0,
20
  "eval_accuracy": 0.6912751793861389,
21
- "eval_loss": 0.620131254196167,
22
  "eval_matthews_correlation": 0.0,
23
- "eval_runtime": 0.673,
24
- "eval_samples_per_second": 1549.697,
25
- "eval_steps_per_second": 7.429,
26
  "step": 34
27
  },
28
  {
29
  "epoch": 2.0,
30
- "grad_norm": 0.8950899243354797,
31
- "learning_rate": 0.00096,
32
- "loss": 0.6315,
33
  "step": 68
34
  },
35
  {
36
  "epoch": 2.0,
37
- "eval_accuracy": 0.6912751793861389,
38
- "eval_loss": 0.619966447353363,
39
- "eval_matthews_correlation": 0.0,
40
- "eval_runtime": 0.6704,
41
- "eval_samples_per_second": 1555.756,
42
- "eval_steps_per_second": 7.458,
43
  "step": 68
44
  },
45
  {
46
  "epoch": 3.0,
47
- "grad_norm": 1.0940829515457153,
48
- "learning_rate": 0.00094,
49
- "loss": 0.61,
50
  "step": 102
51
  },
52
  {
53
  "epoch": 3.0,
54
- "eval_accuracy": 0.6912751793861389,
55
- "eval_loss": 0.6210225820541382,
56
- "eval_matthews_correlation": 0.0,
57
- "eval_runtime": 0.6796,
58
- "eval_samples_per_second": 1534.67,
59
- "eval_steps_per_second": 7.357,
60
  "step": 102
61
  },
62
  {
63
  "epoch": 4.0,
64
- "grad_norm": 0.41540974378585815,
65
- "learning_rate": 0.00092,
66
- "loss": 0.6103,
67
  "step": 136
68
  },
69
  {
70
  "epoch": 4.0,
71
- "eval_accuracy": 0.6912751793861389,
72
- "eval_loss": 0.6183110475540161,
73
- "eval_matthews_correlation": 0.0,
74
- "eval_runtime": 0.6842,
75
- "eval_samples_per_second": 1524.426,
76
- "eval_steps_per_second": 7.308,
77
  "step": 136
78
  },
79
  {
80
  "epoch": 5.0,
81
- "grad_norm": 0.882623016834259,
82
- "learning_rate": 0.0009000000000000001,
83
- "loss": 0.6103,
84
  "step": 170
85
  },
86
  {
87
  "epoch": 5.0,
88
- "eval_accuracy": 0.6912751793861389,
89
- "eval_loss": 0.622185468673706,
90
- "eval_matthews_correlation": 0.0,
91
- "eval_runtime": 0.6821,
92
- "eval_samples_per_second": 1529.048,
93
- "eval_steps_per_second": 7.33,
94
  "step": 170
95
  },
96
  {
97
  "epoch": 6.0,
98
- "grad_norm": 0.45722779631614685,
99
- "learning_rate": 0.00088,
100
- "loss": 0.6105,
101
  "step": 204
102
  },
103
  {
104
  "epoch": 6.0,
105
- "eval_accuracy": 0.6912751793861389,
106
- "eval_loss": 0.6192323565483093,
107
- "eval_matthews_correlation": 0.0,
108
- "eval_runtime": 0.6777,
109
- "eval_samples_per_second": 1539.028,
110
- "eval_steps_per_second": 7.378,
111
  "step": 204
112
  },
113
  {
114
  "epoch": 7.0,
115
- "grad_norm": 1.1227401494979858,
116
- "learning_rate": 0.00086,
117
- "loss": 0.6098,
118
  "step": 238
119
  },
120
  {
121
  "epoch": 7.0,
122
- "eval_accuracy": 0.6912751793861389,
123
- "eval_loss": 0.6202510595321655,
124
- "eval_matthews_correlation": 0.0,
125
- "eval_runtime": 0.6848,
126
- "eval_samples_per_second": 1523.07,
127
- "eval_steps_per_second": 7.301,
128
  "step": 238
129
  },
130
  {
131
  "epoch": 8.0,
132
- "grad_norm": 0.3862515985965729,
133
- "learning_rate": 0.00084,
134
- "loss": 0.6104,
135
  "step": 272
136
  },
137
  {
138
  "epoch": 8.0,
139
- "eval_accuracy": 0.6912751793861389,
140
- "eval_loss": 0.6233483552932739,
141
- "eval_matthews_correlation": 0.0,
142
- "eval_runtime": 0.6616,
143
- "eval_samples_per_second": 1576.417,
144
- "eval_steps_per_second": 7.557,
145
  "step": 272
146
  },
147
  {
148
- "epoch": 9.0,
149
- "grad_norm": 0.5181242227554321,
150
- "learning_rate": 0.00082,
151
- "loss": 0.6095,
152
- "step": 306
153
- },
154
- {
155
- "epoch": 9.0,
156
- "eval_accuracy": 0.6912751793861389,
157
- "eval_loss": 0.6256685256958008,
158
- "eval_matthews_correlation": 0.0,
159
- "eval_runtime": 0.6813,
160
- "eval_samples_per_second": 1530.94,
161
- "eval_steps_per_second": 7.339,
162
- "step": 306
163
- },
164
- {
165
- "epoch": 9.0,
166
- "step": 306,
167
- "total_flos": 1.012438185472512e+16,
168
- "train_loss": 0.6631240346073325,
169
- "train_runtime": 151.6801,
170
- "train_samples_per_second": 2818.761,
171
- "train_steps_per_second": 11.208
172
  }
173
  ],
174
  "logging_steps": 1,
@@ -197,7 +180,7 @@
197
  "attributes": {}
198
  }
199
  },
200
- "total_flos": 1.012438185472512e+16,
201
  "train_batch_size": 256,
202
  "trial_name": null,
203
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.6140850782394409,
3
+ "best_model_checkpoint": "bert_base_lda_5_v1_cola/checkpoint-102",
4
+ "epoch": 8.0,
5
  "eval_steps": 500,
6
+ "global_step": 272,
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.8962923884391785,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.6165,
16
  "step": 34
17
  },
18
  {
19
  "epoch": 1.0,
20
  "eval_accuracy": 0.6912751793861389,
21
+ "eval_loss": 0.6255748867988586,
22
  "eval_matthews_correlation": 0.0,
23
+ "eval_runtime": 0.6921,
24
+ "eval_samples_per_second": 1507.045,
25
+ "eval_steps_per_second": 7.225,
26
  "step": 34
27
  },
28
  {
29
  "epoch": 2.0,
30
+ "grad_norm": 1.1500860452651978,
31
+ "learning_rate": 4.8e-05,
32
+ "loss": 0.6085,
33
  "step": 68
34
  },
35
  {
36
  "epoch": 2.0,
37
+ "eval_accuracy": 0.6922339200973511,
38
+ "eval_loss": 0.6206546425819397,
39
+ "eval_matthews_correlation": 0.0437601222642778,
40
+ "eval_runtime": 0.6888,
41
+ "eval_samples_per_second": 1514.269,
42
+ "eval_steps_per_second": 7.259,
43
  "step": 68
44
  },
45
  {
46
  "epoch": 3.0,
47
+ "grad_norm": 1.3318846225738525,
48
+ "learning_rate": 4.7e-05,
49
+ "loss": 0.5767,
50
  "step": 102
51
  },
52
  {
53
  "epoch": 3.0,
54
+ "eval_accuracy": 0.6788111329078674,
55
+ "eval_loss": 0.6140850782394409,
56
+ "eval_matthews_correlation": 0.014335296446004425,
57
+ "eval_runtime": 0.6907,
58
+ "eval_samples_per_second": 1510.046,
59
+ "eval_steps_per_second": 7.239,
60
  "step": 102
61
  },
62
  {
63
  "epoch": 4.0,
64
+ "grad_norm": 3.0688295364379883,
65
+ "learning_rate": 4.600000000000001e-05,
66
+ "loss": 0.5249,
67
  "step": 136
68
  },
69
  {
70
  "epoch": 4.0,
71
+ "eval_accuracy": 0.6625120043754578,
72
+ "eval_loss": 0.6585533022880554,
73
+ "eval_matthews_correlation": 0.05998312692220892,
74
+ "eval_runtime": 0.7395,
75
+ "eval_samples_per_second": 1410.335,
76
+ "eval_steps_per_second": 6.761,
77
  "step": 136
78
  },
79
  {
80
  "epoch": 5.0,
81
+ "grad_norm": 2.6873955726623535,
82
+ "learning_rate": 4.5e-05,
83
+ "loss": 0.4572,
84
  "step": 170
85
  },
86
  {
87
  "epoch": 5.0,
88
+ "eval_accuracy": 0.6519654989242554,
89
+ "eval_loss": 0.7236359715461731,
90
+ "eval_matthews_correlation": 0.13356139258109112,
91
+ "eval_runtime": 0.6908,
92
+ "eval_samples_per_second": 1509.857,
93
+ "eval_steps_per_second": 7.238,
94
  "step": 170
95
  },
96
  {
97
  "epoch": 6.0,
98
+ "grad_norm": 3.0232486724853516,
99
+ "learning_rate": 4.4000000000000006e-05,
100
+ "loss": 0.3844,
101
  "step": 204
102
  },
103
  {
104
  "epoch": 6.0,
105
+ "eval_accuracy": 0.640460193157196,
106
+ "eval_loss": 0.8147491812705994,
107
+ "eval_matthews_correlation": 0.08177474609901102,
108
+ "eval_runtime": 0.6894,
109
+ "eval_samples_per_second": 1513.007,
110
+ "eval_steps_per_second": 7.253,
111
  "step": 204
112
  },
113
  {
114
  "epoch": 7.0,
115
+ "grad_norm": 2.7721943855285645,
116
+ "learning_rate": 4.3e-05,
117
+ "loss": 0.327,
118
  "step": 238
119
  },
120
  {
121
  "epoch": 7.0,
122
+ "eval_accuracy": 0.6126558184623718,
123
+ "eval_loss": 0.9067552089691162,
124
+ "eval_matthews_correlation": 0.08937795209450178,
125
+ "eval_runtime": 0.684,
126
+ "eval_samples_per_second": 1524.939,
127
+ "eval_steps_per_second": 7.31,
128
  "step": 238
129
  },
130
  {
131
  "epoch": 8.0,
132
+ "grad_norm": 4.930617332458496,
133
+ "learning_rate": 4.2e-05,
134
+ "loss": 0.2756,
135
  "step": 272
136
  },
137
  {
138
  "epoch": 8.0,
139
+ "eval_accuracy": 0.6423777341842651,
140
+ "eval_loss": 0.9654455184936523,
141
+ "eval_matthews_correlation": 0.12007934236570234,
142
+ "eval_runtime": 0.6807,
143
+ "eval_samples_per_second": 1532.247,
144
+ "eval_steps_per_second": 7.345,
145
  "step": 272
146
  },
147
  {
148
+ "epoch": 8.0,
149
+ "step": 272,
150
+ "total_flos": 8999450537533440.0,
151
+ "train_loss": 0.47134509156731996,
152
+ "train_runtime": 138.7221,
153
+ "train_samples_per_second": 3082.061,
154
+ "train_steps_per_second": 12.255
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  }
156
  ],
157
  "logging_steps": 1,
 
180
  "attributes": {}
181
  }
182
  },
183
+ "total_flos": 8999450537533440.0,
184
  "train_batch_size": 256,
185
  "trial_name": null,
186
  "trial_params": null