gokulsrinivasagan
commited on
Commit
•
ae001c0
1
Parent(s):
44b8030
End of training
Browse files- README.md +18 -3
- all_results.json +15 -0
- eval_results.json +9 -0
- logs/events.out.tfevents.1732274506.ki-g0008.1608654.33 +3 -0
- train_results.json +9 -0
- trainer_state.json +339 -0
README.md
CHANGED
@@ -1,13 +1,28 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
|
|
|
|
3 |
base_model: gokulsrinivasagan/bert_base_lda
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
model-index:
|
9 |
- name: bert_base_lda_wnli
|
10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -15,9 +30,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# bert_base_lda_wnli
|
17 |
|
18 |
-
This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda](https://huggingface.co/gokulsrinivasagan/bert_base_lda) on
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 0.
|
21 |
- Accuracy: 0.5634
|
22 |
|
23 |
## Model description
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
language:
|
4 |
+
- en
|
5 |
base_model: gokulsrinivasagan/bert_base_lda
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- glue
|
10 |
metrics:
|
11 |
- accuracy
|
12 |
model-index:
|
13 |
- name: bert_base_lda_wnli
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Text Classification
|
17 |
+
type: text-classification
|
18 |
+
dataset:
|
19 |
+
name: GLUE WNLI
|
20 |
+
type: glue
|
21 |
+
args: wnli
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.5633802816901409
|
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_wnli
|
32 |
|
33 |
+
This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda](https://huggingface.co/gokulsrinivasagan/bert_base_lda) on the GLUE WNLI dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.6864
|
36 |
- Accuracy: 0.5634
|
37 |
|
38 |
## Model description
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 18.0,
|
3 |
+
"eval_accuracy": 0.5633802816901409,
|
4 |
+
"eval_loss": 0.6863997578620911,
|
5 |
+
"eval_runtime": 0.0529,
|
6 |
+
"eval_samples": 71,
|
7 |
+
"eval_samples_per_second": 1343.352,
|
8 |
+
"eval_steps_per_second": 18.92,
|
9 |
+
"total_flos": 1503679681382400.0,
|
10 |
+
"train_loss": 0.7837636250036734,
|
11 |
+
"train_runtime": 61.4069,
|
12 |
+
"train_samples": 635,
|
13 |
+
"train_samples_per_second": 517.043,
|
14 |
+
"train_steps_per_second": 2.443
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 18.0,
|
3 |
+
"eval_accuracy": 0.5633802816901409,
|
4 |
+
"eval_loss": 0.6863997578620911,
|
5 |
+
"eval_runtime": 0.0529,
|
6 |
+
"eval_samples": 71,
|
7 |
+
"eval_samples_per_second": 1343.352,
|
8 |
+
"eval_steps_per_second": 18.92
|
9 |
+
}
|
logs/events.out.tfevents.1732274506.ki-g0008.1608654.33
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab55f0aa10c14ddee16800c644393f99dbdcfdb74306b626f7a6f8d763579084
|
3 |
+
size 405
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 18.0,
|
3 |
+
"total_flos": 1503679681382400.0,
|
4 |
+
"train_loss": 0.7837636250036734,
|
5 |
+
"train_runtime": 61.4069,
|
6 |
+
"train_samples": 635,
|
7 |
+
"train_samples_per_second": 517.043,
|
8 |
+
"train_steps_per_second": 2.443
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.6863997578620911,
|
3 |
+
"best_model_checkpoint": "bert_base_lda_wnli/checkpoint-39",
|
4 |
+
"epoch": 18.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 54,
|
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": 18.621891021728516,
|
14 |
+
"learning_rate": 0.00098,
|
15 |
+
"loss": 1.1638,
|
16 |
+
"step": 3
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.5633802816901409,
|
21 |
+
"eval_loss": 1.4607518911361694,
|
22 |
+
"eval_runtime": 0.056,
|
23 |
+
"eval_samples_per_second": 1268.435,
|
24 |
+
"eval_steps_per_second": 17.865,
|
25 |
+
"step": 3
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"grad_norm": 6.636824131011963,
|
30 |
+
"learning_rate": 0.00096,
|
31 |
+
"loss": 1.0198,
|
32 |
+
"step": 6
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.5633802816901409,
|
37 |
+
"eval_loss": 1.109704852104187,
|
38 |
+
"eval_runtime": 0.0609,
|
39 |
+
"eval_samples_per_second": 1164.911,
|
40 |
+
"eval_steps_per_second": 16.407,
|
41 |
+
"step": 6
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"grad_norm": 2.0930373668670654,
|
46 |
+
"learning_rate": 0.00094,
|
47 |
+
"loss": 1.1474,
|
48 |
+
"step": 9
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.5633802816901409,
|
53 |
+
"eval_loss": 0.8995377421379089,
|
54 |
+
"eval_runtime": 0.0517,
|
55 |
+
"eval_samples_per_second": 1372.362,
|
56 |
+
"eval_steps_per_second": 19.329,
|
57 |
+
"step": 9
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 4.0,
|
61 |
+
"grad_norm": 3.016080617904663,
|
62 |
+
"learning_rate": 0.00092,
|
63 |
+
"loss": 0.8846,
|
64 |
+
"step": 12
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.0,
|
68 |
+
"eval_accuracy": 0.43661971830985913,
|
69 |
+
"eval_loss": 0.820120096206665,
|
70 |
+
"eval_runtime": 0.0532,
|
71 |
+
"eval_samples_per_second": 1335.808,
|
72 |
+
"eval_steps_per_second": 18.814,
|
73 |
+
"step": 12
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 5.0,
|
77 |
+
"grad_norm": 2.1296448707580566,
|
78 |
+
"learning_rate": 0.0009000000000000001,
|
79 |
+
"loss": 0.7886,
|
80 |
+
"step": 15
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 5.0,
|
84 |
+
"eval_accuracy": 0.43661971830985913,
|
85 |
+
"eval_loss": 0.6994389295578003,
|
86 |
+
"eval_runtime": 0.0527,
|
87 |
+
"eval_samples_per_second": 1348.431,
|
88 |
+
"eval_steps_per_second": 18.992,
|
89 |
+
"step": 15
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"grad_norm": 2.4899051189422607,
|
94 |
+
"learning_rate": 0.00088,
|
95 |
+
"loss": 0.738,
|
96 |
+
"step": 18
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 6.0,
|
100 |
+
"eval_accuracy": 0.5633802816901409,
|
101 |
+
"eval_loss": 0.708736777305603,
|
102 |
+
"eval_runtime": 0.0518,
|
103 |
+
"eval_samples_per_second": 1369.427,
|
104 |
+
"eval_steps_per_second": 19.288,
|
105 |
+
"step": 18
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 7.0,
|
109 |
+
"grad_norm": 0.7382462024688721,
|
110 |
+
"learning_rate": 0.00086,
|
111 |
+
"loss": 0.7195,
|
112 |
+
"step": 21
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 7.0,
|
116 |
+
"eval_accuracy": 0.43661971830985913,
|
117 |
+
"eval_loss": 0.7214460372924805,
|
118 |
+
"eval_runtime": 0.0517,
|
119 |
+
"eval_samples_per_second": 1372.273,
|
120 |
+
"eval_steps_per_second": 19.328,
|
121 |
+
"step": 21
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 8.0,
|
125 |
+
"grad_norm": 0.9765424132347107,
|
126 |
+
"learning_rate": 0.00084,
|
127 |
+
"loss": 0.7036,
|
128 |
+
"step": 24
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 8.0,
|
132 |
+
"eval_accuracy": 0.5633802816901409,
|
133 |
+
"eval_loss": 0.693111777305603,
|
134 |
+
"eval_runtime": 0.0536,
|
135 |
+
"eval_samples_per_second": 1325.279,
|
136 |
+
"eval_steps_per_second": 18.666,
|
137 |
+
"step": 24
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 9.0,
|
141 |
+
"grad_norm": 0.2757832407951355,
|
142 |
+
"learning_rate": 0.00082,
|
143 |
+
"loss": 0.6935,
|
144 |
+
"step": 27
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 9.0,
|
148 |
+
"eval_accuracy": 0.5633802816901409,
|
149 |
+
"eval_loss": 0.689645528793335,
|
150 |
+
"eval_runtime": 0.0517,
|
151 |
+
"eval_samples_per_second": 1372.33,
|
152 |
+
"eval_steps_per_second": 19.329,
|
153 |
+
"step": 27
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 10.0,
|
157 |
+
"grad_norm": 0.41503846645355225,
|
158 |
+
"learning_rate": 0.0008,
|
159 |
+
"loss": 0.6941,
|
160 |
+
"step": 30
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 10.0,
|
164 |
+
"eval_accuracy": 0.5633802816901409,
|
165 |
+
"eval_loss": 0.6926164627075195,
|
166 |
+
"eval_runtime": 0.0542,
|
167 |
+
"eval_samples_per_second": 1310.789,
|
168 |
+
"eval_steps_per_second": 18.462,
|
169 |
+
"step": 30
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 11.0,
|
173 |
+
"grad_norm": 0.1713160276412964,
|
174 |
+
"learning_rate": 0.0007800000000000001,
|
175 |
+
"loss": 0.6949,
|
176 |
+
"step": 33
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 11.0,
|
180 |
+
"eval_accuracy": 0.43661971830985913,
|
181 |
+
"eval_loss": 0.693606972694397,
|
182 |
+
"eval_runtime": 0.0536,
|
183 |
+
"eval_samples_per_second": 1325.279,
|
184 |
+
"eval_steps_per_second": 18.666,
|
185 |
+
"step": 33
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"epoch": 12.0,
|
189 |
+
"grad_norm": 0.817528247833252,
|
190 |
+
"learning_rate": 0.00076,
|
191 |
+
"loss": 0.6959,
|
192 |
+
"step": 36
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 12.0,
|
196 |
+
"eval_accuracy": 0.5633802816901409,
|
197 |
+
"eval_loss": 0.6911312341690063,
|
198 |
+
"eval_runtime": 0.0527,
|
199 |
+
"eval_samples_per_second": 1346.784,
|
200 |
+
"eval_steps_per_second": 18.969,
|
201 |
+
"step": 36
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 13.0,
|
205 |
+
"grad_norm": 0.3534504175186157,
|
206 |
+
"learning_rate": 0.00074,
|
207 |
+
"loss": 0.6927,
|
208 |
+
"step": 39
|
209 |
+
},
|
210 |
+
{
|
211 |
+
"epoch": 13.0,
|
212 |
+
"eval_accuracy": 0.5633802816901409,
|
213 |
+
"eval_loss": 0.6863997578620911,
|
214 |
+
"eval_runtime": 0.0533,
|
215 |
+
"eval_samples_per_second": 1330.984,
|
216 |
+
"eval_steps_per_second": 18.746,
|
217 |
+
"step": 39
|
218 |
+
},
|
219 |
+
{
|
220 |
+
"epoch": 14.0,
|
221 |
+
"grad_norm": 0.8052321076393127,
|
222 |
+
"learning_rate": 0.0007199999999999999,
|
223 |
+
"loss": 0.6928,
|
224 |
+
"step": 42
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 14.0,
|
228 |
+
"eval_accuracy": 0.5633802816901409,
|
229 |
+
"eval_loss": 0.6893155574798584,
|
230 |
+
"eval_runtime": 0.0524,
|
231 |
+
"eval_samples_per_second": 1353.85,
|
232 |
+
"eval_steps_per_second": 19.068,
|
233 |
+
"step": 42
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 15.0,
|
237 |
+
"grad_norm": 0.29218751192092896,
|
238 |
+
"learning_rate": 0.0007,
|
239 |
+
"loss": 0.6958,
|
240 |
+
"step": 45
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 15.0,
|
244 |
+
"eval_accuracy": 0.5633802816901409,
|
245 |
+
"eval_loss": 0.689645528793335,
|
246 |
+
"eval_runtime": 0.0518,
|
247 |
+
"eval_samples_per_second": 1371.091,
|
248 |
+
"eval_steps_per_second": 19.311,
|
249 |
+
"step": 45
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 16.0,
|
253 |
+
"grad_norm": 0.19813981652259827,
|
254 |
+
"learning_rate": 0.00068,
|
255 |
+
"loss": 0.6936,
|
256 |
+
"step": 48
|
257 |
+
},
|
258 |
+
{
|
259 |
+
"epoch": 16.0,
|
260 |
+
"eval_accuracy": 0.5633802816901409,
|
261 |
+
"eval_loss": 0.6911312341690063,
|
262 |
+
"eval_runtime": 0.0523,
|
263 |
+
"eval_samples_per_second": 1358.408,
|
264 |
+
"eval_steps_per_second": 19.133,
|
265 |
+
"step": 48
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 17.0,
|
269 |
+
"grad_norm": 0.6377934217453003,
|
270 |
+
"learning_rate": 0.00066,
|
271 |
+
"loss": 0.6955,
|
272 |
+
"step": 51
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"epoch": 17.0,
|
276 |
+
"eval_accuracy": 0.5633802816901409,
|
277 |
+
"eval_loss": 0.6911312341690063,
|
278 |
+
"eval_runtime": 0.0549,
|
279 |
+
"eval_samples_per_second": 1292.678,
|
280 |
+
"eval_steps_per_second": 18.207,
|
281 |
+
"step": 51
|
282 |
+
},
|
283 |
+
{
|
284 |
+
"epoch": 18.0,
|
285 |
+
"grad_norm": 0.3209940493106842,
|
286 |
+
"learning_rate": 0.00064,
|
287 |
+
"loss": 0.6939,
|
288 |
+
"step": 54
|
289 |
+
},
|
290 |
+
{
|
291 |
+
"epoch": 18.0,
|
292 |
+
"eval_accuracy": 0.5633802816901409,
|
293 |
+
"eval_loss": 0.6906359791755676,
|
294 |
+
"eval_runtime": 0.1325,
|
295 |
+
"eval_samples_per_second": 535.893,
|
296 |
+
"eval_steps_per_second": 7.548,
|
297 |
+
"step": 54
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 18.0,
|
301 |
+
"step": 54,
|
302 |
+
"total_flos": 1503679681382400.0,
|
303 |
+
"train_loss": 0.7837636250036734,
|
304 |
+
"train_runtime": 61.4069,
|
305 |
+
"train_samples_per_second": 517.043,
|
306 |
+
"train_steps_per_second": 2.443
|
307 |
+
}
|
308 |
+
],
|
309 |
+
"logging_steps": 1,
|
310 |
+
"max_steps": 150,
|
311 |
+
"num_input_tokens_seen": 0,
|
312 |
+
"num_train_epochs": 50,
|
313 |
+
"save_steps": 500,
|
314 |
+
"stateful_callbacks": {
|
315 |
+
"EarlyStoppingCallback": {
|
316 |
+
"args": {
|
317 |
+
"early_stopping_patience": 5,
|
318 |
+
"early_stopping_threshold": 0.0
|
319 |
+
},
|
320 |
+
"attributes": {
|
321 |
+
"early_stopping_patience_counter": 5
|
322 |
+
}
|
323 |
+
},
|
324 |
+
"TrainerControl": {
|
325 |
+
"args": {
|
326 |
+
"should_epoch_stop": false,
|
327 |
+
"should_evaluate": false,
|
328 |
+
"should_log": false,
|
329 |
+
"should_save": true,
|
330 |
+
"should_training_stop": true
|
331 |
+
},
|
332 |
+
"attributes": {}
|
333 |
+
}
|
334 |
+
},
|
335 |
+
"total_flos": 1503679681382400.0,
|
336 |
+
"train_batch_size": 256,
|
337 |
+
"trial_name": null,
|
338 |
+
"trial_params": null
|
339 |
+
}
|