zazazaChiang
commited on
Commit
•
de147e8
1
Parent(s):
1a6a553
End of training
Browse files- README.md +5 -3
- all_results.json +13 -0
- eval_results.json +8 -0
- train_results.json +8 -0
- trainer_state.json +542 -0
README.md
CHANGED
@@ -3,6 +3,8 @@ library_name: transformers
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
|
|
|
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
8 |
- accuracy
|
@@ -16,10 +18,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# vit-base-beans
|
18 |
|
19 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
-
- Accuracy: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
6 |
+
- image-classification
|
7 |
+
- vision
|
8 |
- generated_from_trainer
|
9 |
metrics:
|
10 |
- accuracy
|
|
|
18 |
|
19 |
# vit-base-beans
|
20 |
|
21 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the beans dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0667
|
24 |
+
- Accuracy: 0.9925
|
25 |
|
26 |
## Model description
|
27 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"eval_accuracy": 0.9924812030075187,
|
4 |
+
"eval_loss": 0.0667242482304573,
|
5 |
+
"eval_runtime": 1.7643,
|
6 |
+
"eval_samples_per_second": 75.384,
|
7 |
+
"eval_steps_per_second": 9.636,
|
8 |
+
"total_flos": 4.006371770595533e+17,
|
9 |
+
"train_loss": 0.21898786434760462,
|
10 |
+
"train_runtime": 156.7087,
|
11 |
+
"train_samples_per_second": 32.991,
|
12 |
+
"train_steps_per_second": 4.148
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"eval_accuracy": 0.9924812030075187,
|
4 |
+
"eval_loss": 0.0667242482304573,
|
5 |
+
"eval_runtime": 1.7643,
|
6 |
+
"eval_samples_per_second": 75.384,
|
7 |
+
"eval_steps_per_second": 9.636
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"total_flos": 4.006371770595533e+17,
|
4 |
+
"train_loss": 0.21898786434760462,
|
5 |
+
"train_runtime": 156.7087,
|
6 |
+
"train_samples_per_second": 32.991,
|
7 |
+
"train_steps_per_second": 4.148
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,542 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.0667242482304573,
|
3 |
+
"best_model_checkpoint": "./beans_outputs/checkpoint-520",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 650,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.07692307692307693,
|
13 |
+
"grad_norm": 2.219895124435425,
|
14 |
+
"learning_rate": 1.9692307692307696e-05,
|
15 |
+
"loss": 1.0246,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.15384615384615385,
|
20 |
+
"grad_norm": 1.8536828756332397,
|
21 |
+
"learning_rate": 1.9384615384615386e-05,
|
22 |
+
"loss": 0.9458,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.23076923076923078,
|
27 |
+
"grad_norm": 2.008911609649658,
|
28 |
+
"learning_rate": 1.907692307692308e-05,
|
29 |
+
"loss": 0.843,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.3076923076923077,
|
34 |
+
"grad_norm": 2.629420518875122,
|
35 |
+
"learning_rate": 1.876923076923077e-05,
|
36 |
+
"loss": 0.6982,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.38461538461538464,
|
41 |
+
"grad_norm": 4.437777519226074,
|
42 |
+
"learning_rate": 1.8461538461538465e-05,
|
43 |
+
"loss": 0.6645,
|
44 |
+
"step": 50
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.46153846153846156,
|
48 |
+
"grad_norm": 2.107313632965088,
|
49 |
+
"learning_rate": 1.8153846153846155e-05,
|
50 |
+
"loss": 0.589,
|
51 |
+
"step": 60
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.5384615384615384,
|
55 |
+
"grad_norm": 1.8212175369262695,
|
56 |
+
"learning_rate": 1.784615384615385e-05,
|
57 |
+
"loss": 0.525,
|
58 |
+
"step": 70
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.6153846153846154,
|
62 |
+
"grad_norm": 1.2224074602127075,
|
63 |
+
"learning_rate": 1.753846153846154e-05,
|
64 |
+
"loss": 0.3951,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.6923076923076923,
|
69 |
+
"grad_norm": 3.238478660583496,
|
70 |
+
"learning_rate": 1.7230769230769234e-05,
|
71 |
+
"loss": 0.3553,
|
72 |
+
"step": 90
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.7692307692307693,
|
76 |
+
"grad_norm": 3.0028467178344727,
|
77 |
+
"learning_rate": 1.6923076923076924e-05,
|
78 |
+
"loss": 0.369,
|
79 |
+
"step": 100
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.8461538461538461,
|
83 |
+
"grad_norm": 2.592329740524292,
|
84 |
+
"learning_rate": 1.6615384615384618e-05,
|
85 |
+
"loss": 0.3332,
|
86 |
+
"step": 110
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.9230769230769231,
|
90 |
+
"grad_norm": 2.486928701400757,
|
91 |
+
"learning_rate": 1.630769230769231e-05,
|
92 |
+
"loss": 0.2444,
|
93 |
+
"step": 120
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 1.0,
|
97 |
+
"grad_norm": 6.724624156951904,
|
98 |
+
"learning_rate": 1.6000000000000003e-05,
|
99 |
+
"loss": 0.2797,
|
100 |
+
"step": 130
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.0,
|
104 |
+
"eval_accuracy": 0.9624060150375939,
|
105 |
+
"eval_loss": 0.2228858470916748,
|
106 |
+
"eval_runtime": 1.6507,
|
107 |
+
"eval_samples_per_second": 80.574,
|
108 |
+
"eval_steps_per_second": 10.299,
|
109 |
+
"step": 130
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 1.0769230769230769,
|
113 |
+
"grad_norm": 1.6424057483673096,
|
114 |
+
"learning_rate": 1.5692307692307693e-05,
|
115 |
+
"loss": 0.2005,
|
116 |
+
"step": 140
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 1.1538461538461537,
|
120 |
+
"grad_norm": 2.9966392517089844,
|
121 |
+
"learning_rate": 1.5384615384615387e-05,
|
122 |
+
"loss": 0.2288,
|
123 |
+
"step": 150
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 1.2307692307692308,
|
127 |
+
"grad_norm": 1.444819688796997,
|
128 |
+
"learning_rate": 1.5076923076923078e-05,
|
129 |
+
"loss": 0.1986,
|
130 |
+
"step": 160
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"epoch": 1.3076923076923077,
|
134 |
+
"grad_norm": 0.5145019292831421,
|
135 |
+
"learning_rate": 1.4769230769230772e-05,
|
136 |
+
"loss": 0.2204,
|
137 |
+
"step": 170
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 1.3846153846153846,
|
141 |
+
"grad_norm": 0.6211402416229248,
|
142 |
+
"learning_rate": 1.4461538461538462e-05,
|
143 |
+
"loss": 0.202,
|
144 |
+
"step": 180
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 1.4615384615384617,
|
148 |
+
"grad_norm": 3.140580415725708,
|
149 |
+
"learning_rate": 1.4153846153846156e-05,
|
150 |
+
"loss": 0.1613,
|
151 |
+
"step": 190
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 1.5384615384615383,
|
155 |
+
"grad_norm": 0.4404226839542389,
|
156 |
+
"learning_rate": 1.3846153846153847e-05,
|
157 |
+
"loss": 0.2497,
|
158 |
+
"step": 200
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 1.6153846153846154,
|
162 |
+
"grad_norm": 0.7200615406036377,
|
163 |
+
"learning_rate": 1.353846153846154e-05,
|
164 |
+
"loss": 0.1831,
|
165 |
+
"step": 210
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 1.6923076923076923,
|
169 |
+
"grad_norm": 2.9941678047180176,
|
170 |
+
"learning_rate": 1.3230769230769231e-05,
|
171 |
+
"loss": 0.2164,
|
172 |
+
"step": 220
|
173 |
+
},
|
174 |
+
{
|
175 |
+
"epoch": 1.7692307692307692,
|
176 |
+
"grad_norm": 1.9048223495483398,
|
177 |
+
"learning_rate": 1.2923076923076925e-05,
|
178 |
+
"loss": 0.1766,
|
179 |
+
"step": 230
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"epoch": 1.8461538461538463,
|
183 |
+
"grad_norm": 3.728172779083252,
|
184 |
+
"learning_rate": 1.2615384615384616e-05,
|
185 |
+
"loss": 0.2649,
|
186 |
+
"step": 240
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"epoch": 1.9230769230769231,
|
190 |
+
"grad_norm": 0.38998943567276,
|
191 |
+
"learning_rate": 1.230769230769231e-05,
|
192 |
+
"loss": 0.1317,
|
193 |
+
"step": 250
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"epoch": 2.0,
|
197 |
+
"grad_norm": 0.3474988341331482,
|
198 |
+
"learning_rate": 1.2e-05,
|
199 |
+
"loss": 0.1283,
|
200 |
+
"step": 260
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 2.0,
|
204 |
+
"eval_accuracy": 0.9774436090225563,
|
205 |
+
"eval_loss": 0.12395505607128143,
|
206 |
+
"eval_runtime": 1.5924,
|
207 |
+
"eval_samples_per_second": 83.524,
|
208 |
+
"eval_steps_per_second": 10.676,
|
209 |
+
"step": 260
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 2.076923076923077,
|
213 |
+
"grad_norm": 0.41058436036109924,
|
214 |
+
"learning_rate": 1.1692307692307694e-05,
|
215 |
+
"loss": 0.0964,
|
216 |
+
"step": 270
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 2.1538461538461537,
|
220 |
+
"grad_norm": 0.33480939269065857,
|
221 |
+
"learning_rate": 1.1384615384615385e-05,
|
222 |
+
"loss": 0.1355,
|
223 |
+
"step": 280
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"epoch": 2.230769230769231,
|
227 |
+
"grad_norm": 7.664273262023926,
|
228 |
+
"learning_rate": 1.1076923076923079e-05,
|
229 |
+
"loss": 0.1332,
|
230 |
+
"step": 290
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 2.3076923076923075,
|
234 |
+
"grad_norm": 9.499696731567383,
|
235 |
+
"learning_rate": 1.076923076923077e-05,
|
236 |
+
"loss": 0.1403,
|
237 |
+
"step": 300
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 2.3846153846153846,
|
241 |
+
"grad_norm": 6.171899795532227,
|
242 |
+
"learning_rate": 1.0461538461538463e-05,
|
243 |
+
"loss": 0.1711,
|
244 |
+
"step": 310
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 2.4615384615384617,
|
248 |
+
"grad_norm": 0.33433911204338074,
|
249 |
+
"learning_rate": 1.0153846153846154e-05,
|
250 |
+
"loss": 0.1498,
|
251 |
+
"step": 320
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"epoch": 2.5384615384615383,
|
255 |
+
"grad_norm": 5.629538536071777,
|
256 |
+
"learning_rate": 9.846153846153848e-06,
|
257 |
+
"loss": 0.183,
|
258 |
+
"step": 330
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 2.6153846153846154,
|
262 |
+
"grad_norm": 1.226122498512268,
|
263 |
+
"learning_rate": 9.53846153846154e-06,
|
264 |
+
"loss": 0.0756,
|
265 |
+
"step": 340
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 2.6923076923076925,
|
269 |
+
"grad_norm": 0.3657732903957367,
|
270 |
+
"learning_rate": 9.230769230769232e-06,
|
271 |
+
"loss": 0.1332,
|
272 |
+
"step": 350
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"epoch": 2.769230769230769,
|
276 |
+
"grad_norm": 9.133737564086914,
|
277 |
+
"learning_rate": 8.923076923076925e-06,
|
278 |
+
"loss": 0.1113,
|
279 |
+
"step": 360
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 2.8461538461538463,
|
283 |
+
"grad_norm": 0.3178321123123169,
|
284 |
+
"learning_rate": 8.615384615384617e-06,
|
285 |
+
"loss": 0.1476,
|
286 |
+
"step": 370
|
287 |
+
},
|
288 |
+
{
|
289 |
+
"epoch": 2.9230769230769234,
|
290 |
+
"grad_norm": 1.165651559829712,
|
291 |
+
"learning_rate": 8.307692307692309e-06,
|
292 |
+
"loss": 0.1273,
|
293 |
+
"step": 380
|
294 |
+
},
|
295 |
+
{
|
296 |
+
"epoch": 3.0,
|
297 |
+
"grad_norm": 0.29111814498901367,
|
298 |
+
"learning_rate": 8.000000000000001e-06,
|
299 |
+
"loss": 0.1325,
|
300 |
+
"step": 390
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"epoch": 3.0,
|
304 |
+
"eval_accuracy": 0.9774436090225563,
|
305 |
+
"eval_loss": 0.09526458382606506,
|
306 |
+
"eval_runtime": 1.633,
|
307 |
+
"eval_samples_per_second": 81.444,
|
308 |
+
"eval_steps_per_second": 10.41,
|
309 |
+
"step": 390
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"epoch": 3.076923076923077,
|
313 |
+
"grad_norm": 2.0931763648986816,
|
314 |
+
"learning_rate": 7.692307692307694e-06,
|
315 |
+
"loss": 0.1379,
|
316 |
+
"step": 400
|
317 |
+
},
|
318 |
+
{
|
319 |
+
"epoch": 3.1538461538461537,
|
320 |
+
"grad_norm": 7.9508514404296875,
|
321 |
+
"learning_rate": 7.384615384615386e-06,
|
322 |
+
"loss": 0.1584,
|
323 |
+
"step": 410
|
324 |
+
},
|
325 |
+
{
|
326 |
+
"epoch": 3.230769230769231,
|
327 |
+
"grad_norm": 9.005721092224121,
|
328 |
+
"learning_rate": 7.076923076923078e-06,
|
329 |
+
"loss": 0.141,
|
330 |
+
"step": 420
|
331 |
+
},
|
332 |
+
{
|
333 |
+
"epoch": 3.3076923076923075,
|
334 |
+
"grad_norm": 0.2301061898469925,
|
335 |
+
"learning_rate": 6.76923076923077e-06,
|
336 |
+
"loss": 0.0763,
|
337 |
+
"step": 430
|
338 |
+
},
|
339 |
+
{
|
340 |
+
"epoch": 3.3846153846153846,
|
341 |
+
"grad_norm": 6.290613174438477,
|
342 |
+
"learning_rate": 6.461538461538463e-06,
|
343 |
+
"loss": 0.1248,
|
344 |
+
"step": 440
|
345 |
+
},
|
346 |
+
{
|
347 |
+
"epoch": 3.4615384615384617,
|
348 |
+
"grad_norm": 5.136843681335449,
|
349 |
+
"learning_rate": 6.153846153846155e-06,
|
350 |
+
"loss": 0.0763,
|
351 |
+
"step": 450
|
352 |
+
},
|
353 |
+
{
|
354 |
+
"epoch": 3.5384615384615383,
|
355 |
+
"grad_norm": 3.508342981338501,
|
356 |
+
"learning_rate": 5.846153846153847e-06,
|
357 |
+
"loss": 0.0988,
|
358 |
+
"step": 460
|
359 |
+
},
|
360 |
+
{
|
361 |
+
"epoch": 3.6153846153846154,
|
362 |
+
"grad_norm": 8.985827445983887,
|
363 |
+
"learning_rate": 5.538461538461539e-06,
|
364 |
+
"loss": 0.0794,
|
365 |
+
"step": 470
|
366 |
+
},
|
367 |
+
{
|
368 |
+
"epoch": 3.6923076923076925,
|
369 |
+
"grad_norm": 0.22434353828430176,
|
370 |
+
"learning_rate": 5.230769230769232e-06,
|
371 |
+
"loss": 0.0921,
|
372 |
+
"step": 480
|
373 |
+
},
|
374 |
+
{
|
375 |
+
"epoch": 3.769230769230769,
|
376 |
+
"grad_norm": 0.20995202660560608,
|
377 |
+
"learning_rate": 4.923076923076924e-06,
|
378 |
+
"loss": 0.0703,
|
379 |
+
"step": 490
|
380 |
+
},
|
381 |
+
{
|
382 |
+
"epoch": 3.8461538461538463,
|
383 |
+
"grad_norm": 0.9496172666549683,
|
384 |
+
"learning_rate": 4.615384615384616e-06,
|
385 |
+
"loss": 0.1448,
|
386 |
+
"step": 500
|
387 |
+
},
|
388 |
+
{
|
389 |
+
"epoch": 3.9230769230769234,
|
390 |
+
"grad_norm": 0.20678089559078217,
|
391 |
+
"learning_rate": 4.307692307692308e-06,
|
392 |
+
"loss": 0.1256,
|
393 |
+
"step": 510
|
394 |
+
},
|
395 |
+
{
|
396 |
+
"epoch": 4.0,
|
397 |
+
"grad_norm": 0.29890480637550354,
|
398 |
+
"learning_rate": 4.000000000000001e-06,
|
399 |
+
"loss": 0.0809,
|
400 |
+
"step": 520
|
401 |
+
},
|
402 |
+
{
|
403 |
+
"epoch": 4.0,
|
404 |
+
"eval_accuracy": 0.9924812030075187,
|
405 |
+
"eval_loss": 0.0667242482304573,
|
406 |
+
"eval_runtime": 1.6609,
|
407 |
+
"eval_samples_per_second": 80.077,
|
408 |
+
"eval_steps_per_second": 10.235,
|
409 |
+
"step": 520
|
410 |
+
},
|
411 |
+
{
|
412 |
+
"epoch": 4.076923076923077,
|
413 |
+
"grad_norm": 8.196810722351074,
|
414 |
+
"learning_rate": 3.692307692307693e-06,
|
415 |
+
"loss": 0.0989,
|
416 |
+
"step": 530
|
417 |
+
},
|
418 |
+
{
|
419 |
+
"epoch": 4.153846153846154,
|
420 |
+
"grad_norm": 1.6379270553588867,
|
421 |
+
"learning_rate": 3.384615384615385e-06,
|
422 |
+
"loss": 0.1574,
|
423 |
+
"step": 540
|
424 |
+
},
|
425 |
+
{
|
426 |
+
"epoch": 4.230769230769231,
|
427 |
+
"grad_norm": 0.3922630548477173,
|
428 |
+
"learning_rate": 3.0769230769230774e-06,
|
429 |
+
"loss": 0.1542,
|
430 |
+
"step": 550
|
431 |
+
},
|
432 |
+
{
|
433 |
+
"epoch": 4.3076923076923075,
|
434 |
+
"grad_norm": 1.2518798112869263,
|
435 |
+
"learning_rate": 2.7692307692307697e-06,
|
436 |
+
"loss": 0.0503,
|
437 |
+
"step": 560
|
438 |
+
},
|
439 |
+
{
|
440 |
+
"epoch": 4.384615384615385,
|
441 |
+
"grad_norm": 0.36044520139694214,
|
442 |
+
"learning_rate": 2.461538461538462e-06,
|
443 |
+
"loss": 0.1316,
|
444 |
+
"step": 570
|
445 |
+
},
|
446 |
+
{
|
447 |
+
"epoch": 4.461538461538462,
|
448 |
+
"grad_norm": 0.27382832765579224,
|
449 |
+
"learning_rate": 2.153846153846154e-06,
|
450 |
+
"loss": 0.0832,
|
451 |
+
"step": 580
|
452 |
+
},
|
453 |
+
{
|
454 |
+
"epoch": 4.538461538461538,
|
455 |
+
"grad_norm": 8.751910209655762,
|
456 |
+
"learning_rate": 1.8461538461538465e-06,
|
457 |
+
"loss": 0.0673,
|
458 |
+
"step": 590
|
459 |
+
},
|
460 |
+
{
|
461 |
+
"epoch": 4.615384615384615,
|
462 |
+
"grad_norm": 3.928022861480713,
|
463 |
+
"learning_rate": 1.5384615384615387e-06,
|
464 |
+
"loss": 0.0994,
|
465 |
+
"step": 600
|
466 |
+
},
|
467 |
+
{
|
468 |
+
"epoch": 4.6923076923076925,
|
469 |
+
"grad_norm": 5.436663627624512,
|
470 |
+
"learning_rate": 1.230769230769231e-06,
|
471 |
+
"loss": 0.0907,
|
472 |
+
"step": 610
|
473 |
+
},
|
474 |
+
{
|
475 |
+
"epoch": 4.769230769230769,
|
476 |
+
"grad_norm": 0.24947214126586914,
|
477 |
+
"learning_rate": 9.230769230769232e-07,
|
478 |
+
"loss": 0.0719,
|
479 |
+
"step": 620
|
480 |
+
},
|
481 |
+
{
|
482 |
+
"epoch": 4.846153846153846,
|
483 |
+
"grad_norm": 0.2187993824481964,
|
484 |
+
"learning_rate": 6.153846153846155e-07,
|
485 |
+
"loss": 0.0604,
|
486 |
+
"step": 630
|
487 |
+
},
|
488 |
+
{
|
489 |
+
"epoch": 4.923076923076923,
|
490 |
+
"grad_norm": 0.23066554963588715,
|
491 |
+
"learning_rate": 3.0769230769230774e-07,
|
492 |
+
"loss": 0.0797,
|
493 |
+
"step": 640
|
494 |
+
},
|
495 |
+
{
|
496 |
+
"epoch": 5.0,
|
497 |
+
"grad_norm": 0.6189086437225342,
|
498 |
+
"learning_rate": 0.0,
|
499 |
+
"loss": 0.1164,
|
500 |
+
"step": 650
|
501 |
+
},
|
502 |
+
{
|
503 |
+
"epoch": 5.0,
|
504 |
+
"eval_accuracy": 0.9774436090225563,
|
505 |
+
"eval_loss": 0.08415611833333969,
|
506 |
+
"eval_runtime": 1.6305,
|
507 |
+
"eval_samples_per_second": 81.568,
|
508 |
+
"eval_steps_per_second": 10.426,
|
509 |
+
"step": 650
|
510 |
+
},
|
511 |
+
{
|
512 |
+
"epoch": 5.0,
|
513 |
+
"step": 650,
|
514 |
+
"total_flos": 4.006371770595533e+17,
|
515 |
+
"train_loss": 0.21898786434760462,
|
516 |
+
"train_runtime": 156.7087,
|
517 |
+
"train_samples_per_second": 32.991,
|
518 |
+
"train_steps_per_second": 4.148
|
519 |
+
}
|
520 |
+
],
|
521 |
+
"logging_steps": 10,
|
522 |
+
"max_steps": 650,
|
523 |
+
"num_input_tokens_seen": 0,
|
524 |
+
"num_train_epochs": 5,
|
525 |
+
"save_steps": 500,
|
526 |
+
"stateful_callbacks": {
|
527 |
+
"TrainerControl": {
|
528 |
+
"args": {
|
529 |
+
"should_epoch_stop": false,
|
530 |
+
"should_evaluate": false,
|
531 |
+
"should_log": false,
|
532 |
+
"should_save": true,
|
533 |
+
"should_training_stop": true
|
534 |
+
},
|
535 |
+
"attributes": {}
|
536 |
+
}
|
537 |
+
},
|
538 |
+
"total_flos": 4.006371770595533e+17,
|
539 |
+
"train_batch_size": 8,
|
540 |
+
"trial_name": null,
|
541 |
+
"trial_params": null
|
542 |
+
}
|