gokulsrinivasagan commited on
Commit
6aaadf1
·
verified ·
1 Parent(s): 6a0b16a

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,32 @@
1
  ---
2
  library_name: transformers
 
 
3
  base_model: gokulsrinivasagan/bert_tiny_lda_20_v1
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  - f1
9
  model-index:
10
  - name: bert_tiny_lda_20_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_tiny_lda_20_v1_mrpc
18
 
19
- This model is a fine-tuned version of [gokulsrinivasagan/bert_tiny_lda_20_v1](https://huggingface.co/gokulsrinivasagan/bert_tiny_lda_20_v1) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.9865
22
- - Accuracy: 0.6225
23
- - F1: 0.7004
24
- - Combined Score: 0.6615
25
 
26
  ## Model description
27
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  base_model: gokulsrinivasagan/bert_tiny_lda_20_v1
6
  tags:
7
  - generated_from_trainer
8
+ datasets:
9
+ - glue
10
  metrics:
11
  - accuracy
12
  - f1
13
  model-index:
14
  - name: bert_tiny_lda_20_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.6985294117647058
27
+ - name: F1
28
+ type: f1
29
+ value: 0.8098918083462132
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
34
 
35
  # bert_tiny_lda_20_v1_mrpc
36
 
37
+ This model is a fine-tuned version of [gokulsrinivasagan/bert_tiny_lda_20_v1](https://huggingface.co/gokulsrinivasagan/bert_tiny_lda_20_v1) on the GLUE MRPC dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.5935
40
+ - Accuracy: 0.6985
41
+ - F1: 0.8099
42
+ - Combined Score: 0.7542
43
 
44
  ## Model description
45
 
all_results.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
- "epoch": 11.0,
3
- "eval_accuracy": 0.6838235294117647,
4
- "eval_combined_score": 0.7480253018237863,
5
- "eval_f1": 0.8122270742358079,
6
- "eval_loss": 0.6233484745025635,
7
- "eval_runtime": 0.1332,
8
  "eval_samples": 408,
9
- "eval_samples_per_second": 3062.177,
10
- "eval_steps_per_second": 15.011,
11
- "total_flos": 1058068929662976.0,
12
- "train_loss": 0.6397525556159742,
13
- "train_runtime": 32.0741,
14
  "train_samples": 3668,
15
- "train_samples_per_second": 5718.002,
16
- "train_steps_per_second": 23.383
17
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.6985294117647058,
4
+ "eval_combined_score": 0.7542106100554595,
5
+ "eval_f1": 0.8098918083462132,
6
+ "eval_loss": 0.5935130715370178,
7
+ "eval_runtime": 0.1495,
8
  "eval_samples": 408,
9
+ "eval_samples_per_second": 2728.516,
10
+ "eval_steps_per_second": 13.375,
11
+ "total_flos": 769504676118528.0,
12
+ "train_loss": 0.4692632933457693,
13
+ "train_runtime": 24.0661,
14
  "train_samples": 3668,
15
+ "train_samples_per_second": 7620.676,
16
+ "train_steps_per_second": 31.164
17
  }
eval_results.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "epoch": 11.0,
3
- "eval_accuracy": 0.6838235294117647,
4
- "eval_combined_score": 0.7480253018237863,
5
- "eval_f1": 0.8122270742358079,
6
- "eval_loss": 0.6233484745025635,
7
- "eval_runtime": 0.1332,
8
  "eval_samples": 408,
9
- "eval_samples_per_second": 3062.177,
10
- "eval_steps_per_second": 15.011
11
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.6985294117647058,
4
+ "eval_combined_score": 0.7542106100554595,
5
+ "eval_f1": 0.8098918083462132,
6
+ "eval_loss": 0.5935130715370178,
7
+ "eval_runtime": 0.1495,
8
  "eval_samples": 408,
9
+ "eval_samples_per_second": 2728.516,
10
+ "eval_steps_per_second": 13.375
11
  }
logs/events.out.tfevents.1733323324.ki-g0008.1207389.21 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b49643fad1b7bbe6a0f8e512d735abf99b606a74dbd2a051995ccc519fe9f91
3
+ size 507
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 11.0,
3
- "total_flos": 1058068929662976.0,
4
- "train_loss": 0.6397525556159742,
5
- "train_runtime": 32.0741,
6
  "train_samples": 3668,
7
- "train_samples_per_second": 5718.002,
8
- "train_steps_per_second": 23.383
9
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "total_flos": 769504676118528.0,
4
+ "train_loss": 0.4692632933457693,
5
+ "train_runtime": 24.0661,
6
  "train_samples": 3668,
7
+ "train_samples_per_second": 7620.676,
8
+ "train_steps_per_second": 31.164
9
  }
trainer_state.json CHANGED
@@ -1,219 +1,165 @@
1
  {
2
- "best_metric": 0.6233484745025635,
3
- "best_model_checkpoint": "bert_tiny_lda_20_v1_mrpc/checkpoint-90",
4
- "epoch": 11.0,
5
  "eval_steps": 500,
6
- "global_step": 165,
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.3626367449760437,
14
- "learning_rate": 0.00098,
15
- "loss": 0.7043,
16
  "step": 15
17
  },
18
  {
19
  "epoch": 1.0,
20
- "eval_accuracy": 0.6838235294117647,
21
- "eval_combined_score": 0.7480253018237863,
22
- "eval_f1": 0.8122270742358079,
23
- "eval_loss": 0.6263547539710999,
24
- "eval_runtime": 0.1373,
25
- "eval_samples_per_second": 2972.281,
26
- "eval_steps_per_second": 14.57,
27
  "step": 15
28
  },
29
  {
30
  "epoch": 2.0,
31
- "grad_norm": 1.480228066444397,
32
- "learning_rate": 0.00096,
33
- "loss": 0.6367,
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.6249425411224365,
42
- "eval_runtime": 0.144,
43
- "eval_samples_per_second": 2832.746,
44
- "eval_steps_per_second": 13.886,
45
  "step": 30
46
  },
47
  {
48
  "epoch": 3.0,
49
- "grad_norm": 0.5654810667037964,
50
- "learning_rate": 0.00094,
51
- "loss": 0.6299,
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.6277430057525635,
60
- "eval_runtime": 0.1408,
61
- "eval_samples_per_second": 2898.537,
62
- "eval_steps_per_second": 14.209,
63
  "step": 45
64
  },
65
  {
66
  "epoch": 4.0,
67
- "grad_norm": 0.6313713788986206,
68
- "learning_rate": 0.00092,
69
- "loss": 0.6347,
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.6264792680740356,
78
- "eval_runtime": 0.1397,
79
- "eval_samples_per_second": 2920.306,
80
- "eval_steps_per_second": 14.315,
81
  "step": 60
82
  },
83
  {
84
  "epoch": 5.0,
85
- "grad_norm": 0.23377956449985504,
86
- "learning_rate": 0.0009000000000000001,
87
- "loss": 0.633,
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.626091480255127,
96
- "eval_runtime": 0.1403,
97
- "eval_samples_per_second": 2908.355,
98
- "eval_steps_per_second": 14.257,
99
  "step": 75
100
  },
101
  {
102
  "epoch": 6.0,
103
- "grad_norm": 0.40783149003982544,
104
- "learning_rate": 0.00088,
105
- "loss": 0.6335,
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.6233484745025635,
114
- "eval_runtime": 0.1371,
115
- "eval_samples_per_second": 2976.003,
116
- "eval_steps_per_second": 14.588,
117
  "step": 90
118
  },
119
  {
120
  "epoch": 7.0,
121
- "grad_norm": 0.4742684066295624,
122
- "learning_rate": 0.00086,
123
- "loss": 0.6321,
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.6243536472320557,
132
- "eval_runtime": 0.1448,
133
- "eval_samples_per_second": 2817.356,
134
- "eval_steps_per_second": 13.811,
135
  "step": 105
136
  },
137
  {
138
  "epoch": 8.0,
139
- "grad_norm": 0.4599599540233612,
140
- "learning_rate": 0.00084,
141
- "loss": 0.6341,
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.624885082244873,
150
- "eval_runtime": 0.1371,
151
- "eval_samples_per_second": 2975.46,
152
- "eval_steps_per_second": 14.586,
153
  "step": 120
154
  },
155
  {
156
- "epoch": 9.0,
157
- "grad_norm": 0.6461894512176514,
158
- "learning_rate": 0.00082,
159
- "loss": 0.6283,
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.6298109889030457,
168
- "eval_runtime": 0.142,
169
- "eval_samples_per_second": 2872.907,
170
- "eval_steps_per_second": 14.083,
171
- "step": 135
172
- },
173
- {
174
- "epoch": 10.0,
175
- "grad_norm": 0.2639431357383728,
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.6238223314285278,
186
- "eval_runtime": 0.1445,
187
- "eval_samples_per_second": 2824.153,
188
- "eval_steps_per_second": 13.844,
189
- "step": 150
190
- },
191
- {
192
- "epoch": 11.0,
193
- "grad_norm": 0.7383787035942078,
194
- "learning_rate": 0.0007800000000000001,
195
- "loss": 0.635,
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.6249233484268188,
204
- "eval_runtime": 0.1377,
205
- "eval_samples_per_second": 2962.771,
206
- "eval_steps_per_second": 14.523,
207
- "step": 165
208
- },
209
- {
210
- "epoch": 11.0,
211
- "step": 165,
212
- "total_flos": 1058068929662976.0,
213
- "train_loss": 0.6397525556159742,
214
- "train_runtime": 32.0741,
215
- "train_samples_per_second": 5718.002,
216
- "train_steps_per_second": 23.383
217
  }
218
  ],
219
  "logging_steps": 1,
@@ -242,7 +188,7 @@
242
  "attributes": {}
243
  }
244
  },
245
- "total_flos": 1058068929662976.0,
246
  "train_batch_size": 256,
247
  "trial_name": null,
248
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.5935130715370178,
3
+ "best_model_checkpoint": "bert_tiny_lda_20_v1_mrpc/checkpoint-45",
4
+ "epoch": 8.0,
5
  "eval_steps": 500,
6
+ "global_step": 120,
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.7700666189193726,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.6315,
16
  "step": 15
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "eval_accuracy": 0.6862745098039216,
21
+ "eval_combined_score": 0.7492956126732218,
22
+ "eval_f1": 0.812316715542522,
23
+ "eval_loss": 0.6003513932228088,
24
+ "eval_runtime": 0.1367,
25
+ "eval_samples_per_second": 2984.452,
26
+ "eval_steps_per_second": 14.63,
27
  "step": 15
28
  },
29
  {
30
  "epoch": 2.0,
31
+ "grad_norm": 1.322261929512024,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.6013,
34
  "step": 30
35
  },
36
  {
37
  "epoch": 2.0,
38
+ "eval_accuracy": 0.6887254901960784,
39
+ "eval_combined_score": 0.7462174591629542,
40
+ "eval_f1": 0.8037094281298299,
41
+ "eval_loss": 0.5958060622215271,
42
+ "eval_runtime": 0.1396,
43
+ "eval_samples_per_second": 2921.977,
44
+ "eval_steps_per_second": 14.323,
45
  "step": 30
46
  },
47
  {
48
  "epoch": 3.0,
49
+ "grad_norm": 1.471887469291687,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.5707,
52
  "step": 45
53
  },
54
  {
55
  "epoch": 3.0,
56
+ "eval_accuracy": 0.6985294117647058,
57
+ "eval_combined_score": 0.7542106100554595,
58
+ "eval_f1": 0.8098918083462132,
59
+ "eval_loss": 0.5935130715370178,
60
+ "eval_runtime": 0.1333,
61
+ "eval_samples_per_second": 3060.988,
62
+ "eval_steps_per_second": 15.005,
63
  "step": 45
64
  },
65
  {
66
  "epoch": 4.0,
67
+ "grad_norm": 1.2280375957489014,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.5415,
70
  "step": 60
71
  },
72
  {
73
  "epoch": 4.0,
74
+ "eval_accuracy": 0.6985294117647058,
75
+ "eval_combined_score": 0.750864705882353,
76
+ "eval_f1": 0.8032000000000001,
77
+ "eval_loss": 0.6068510413169861,
78
+ "eval_runtime": 0.1378,
79
+ "eval_samples_per_second": 2961.536,
80
+ "eval_steps_per_second": 14.517,
81
  "step": 60
82
  },
83
  {
84
  "epoch": 5.0,
85
+ "grad_norm": 2.841067314147949,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.4866,
88
  "step": 75
89
  },
90
  {
91
  "epoch": 5.0,
92
+ "eval_accuracy": 0.678921568627451,
93
+ "eval_combined_score": 0.7263347048664026,
94
+ "eval_f1": 0.7737478411053541,
95
+ "eval_loss": 0.6273573040962219,
96
+ "eval_runtime": 0.1355,
97
+ "eval_samples_per_second": 3011.787,
98
+ "eval_steps_per_second": 14.764,
99
  "step": 75
100
  },
101
  {
102
  "epoch": 6.0,
103
+ "grad_norm": 7.474719524383545,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.397,
106
  "step": 90
107
  },
108
  {
109
  "epoch": 6.0,
110
+ "eval_accuracy": 0.6985294117647058,
111
+ "eval_combined_score": 0.7495888549909429,
112
+ "eval_f1": 0.8006482982171799,
113
+ "eval_loss": 0.7452647089958191,
114
+ "eval_runtime": 0.137,
115
+ "eval_samples_per_second": 2978.759,
116
+ "eval_steps_per_second": 14.602,
117
  "step": 90
118
  },
119
  {
120
  "epoch": 7.0,
121
+ "grad_norm": 6.474092483520508,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.3039,
124
  "step": 105
125
  },
126
  {
127
  "epoch": 7.0,
128
+ "eval_accuracy": 0.6519607843137255,
129
+ "eval_combined_score": 0.6968894830659537,
130
+ "eval_f1": 0.7418181818181818,
131
+ "eval_loss": 0.8151072859764099,
132
+ "eval_runtime": 0.1328,
133
+ "eval_samples_per_second": 3071.421,
134
+ "eval_steps_per_second": 15.056,
135
  "step": 105
136
  },
137
  {
138
  "epoch": 8.0,
139
+ "grad_norm": 3.6470448970794678,
140
+ "learning_rate": 4.2e-05,
141
+ "loss": 0.2217,
142
  "step": 120
143
  },
144
  {
145
  "epoch": 8.0,
146
+ "eval_accuracy": 0.6225490196078431,
147
+ "eval_combined_score": 0.6614690623331044,
148
+ "eval_f1": 0.7003891050583657,
149
+ "eval_loss": 0.986514687538147,
150
+ "eval_runtime": 0.1369,
151
+ "eval_samples_per_second": 2979.22,
152
+ "eval_steps_per_second": 14.604,
153
  "step": 120
154
  },
155
  {
156
+ "epoch": 8.0,
157
+ "step": 120,
158
+ "total_flos": 769504676118528.0,
159
+ "train_loss": 0.4692632933457693,
160
+ "train_runtime": 24.0661,
161
+ "train_samples_per_second": 7620.676,
162
+ "train_steps_per_second": 31.164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
164
  ],
165
  "logging_steps": 1,
 
188
  "attributes": {}
189
  }
190
  },
191
+ "total_flos": 769504676118528.0,
192
  "train_batch_size": 256,
193
  "trial_name": null,
194
  "trial_params": null