Augusto777
commited on
Commit
•
3abe90f
1
Parent(s):
1d052ce
End of training
Browse files- README.md +3 -3
- all_results.json +12 -0
- eval_results.json +8 -0
- runs/May23_17-03-49_DESKTOP-SKBE9FB/events.out.tfevents.1716506208.DESKTOP-SKBE9FB.13796.1 +3 -0
- train_results.json +7 -0
- trainer_state.json +348 -0
README.md
CHANGED
@@ -22,7 +22,7 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
|
33 |
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.85
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
32 |
|
33 |
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.6429
|
36 |
+
- Accuracy: 0.85
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.87,
|
3 |
+
"eval_accuracy": 0.85,
|
4 |
+
"eval_loss": 0.642919659614563,
|
5 |
+
"eval_runtime": 1.2491,
|
6 |
+
"eval_samples_per_second": 48.034,
|
7 |
+
"eval_steps_per_second": 1.601,
|
8 |
+
"train_loss": 0.31720146521141657,
|
9 |
+
"train_runtime": 770.452,
|
10 |
+
"train_samples_per_second": 63.599,
|
11 |
+
"train_steps_per_second": 0.493
|
12 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.87,
|
3 |
+
"eval_accuracy": 0.85,
|
4 |
+
"eval_loss": 0.642919659614563,
|
5 |
+
"eval_runtime": 1.2491,
|
6 |
+
"eval_samples_per_second": 48.034,
|
7 |
+
"eval_steps_per_second": 1.601
|
8 |
+
}
|
runs/May23_17-03-49_DESKTOP-SKBE9FB/events.out.tfevents.1716506208.DESKTOP-SKBE9FB.13796.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16928f7d1aa27769a3bb10e695237a2f0713f144a89ae69d1aa9f4a09a342413
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.87,
|
3 |
+
"train_loss": 0.31720146521141657,
|
4 |
+
"train_runtime": 770.452,
|
5 |
+
"train_samples_per_second": 63.599,
|
6 |
+
"train_steps_per_second": 0.493
|
7 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,348 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.85,
|
3 |
+
"best_model_checkpoint": "vit-base-patch16-224-RU2-10\\checkpoint-308",
|
4 |
+
"epoch": 9.87012987012987,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 380,
|
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.26,
|
13 |
+
"learning_rate": 2.894736842105263e-05,
|
14 |
+
"loss": 1.3769,
|
15 |
+
"step": 10
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.52,
|
19 |
+
"learning_rate": 5.484764542936288e-05,
|
20 |
+
"loss": 1.3067,
|
21 |
+
"step": 20
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.78,
|
25 |
+
"learning_rate": 5.332409972299169e-05,
|
26 |
+
"loss": 1.1641,
|
27 |
+
"step": 30
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.99,
|
31 |
+
"eval_accuracy": 0.7333333333333333,
|
32 |
+
"eval_loss": 0.9789325594902039,
|
33 |
+
"eval_runtime": 1.301,
|
34 |
+
"eval_samples_per_second": 46.117,
|
35 |
+
"eval_steps_per_second": 1.537,
|
36 |
+
"step": 38
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 1.04,
|
40 |
+
"learning_rate": 5.18005540166205e-05,
|
41 |
+
"loss": 1.0123,
|
42 |
+
"step": 40
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 1.3,
|
46 |
+
"learning_rate": 5.027700831024931e-05,
|
47 |
+
"loss": 0.87,
|
48 |
+
"step": 50
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 1.56,
|
52 |
+
"learning_rate": 4.8753462603878116e-05,
|
53 |
+
"loss": 0.7091,
|
54 |
+
"step": 60
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 1.82,
|
58 |
+
"learning_rate": 4.7229916897506926e-05,
|
59 |
+
"loss": 0.5847,
|
60 |
+
"step": 70
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 2.0,
|
64 |
+
"eval_accuracy": 0.8166666666666667,
|
65 |
+
"eval_loss": 0.637053370475769,
|
66 |
+
"eval_runtime": 1.0799,
|
67 |
+
"eval_samples_per_second": 55.56,
|
68 |
+
"eval_steps_per_second": 1.852,
|
69 |
+
"step": 77
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 2.08,
|
73 |
+
"learning_rate": 4.570637119113573e-05,
|
74 |
+
"loss": 0.5235,
|
75 |
+
"step": 80
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 2.34,
|
79 |
+
"learning_rate": 4.418282548476455e-05,
|
80 |
+
"loss": 0.4276,
|
81 |
+
"step": 90
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 2.6,
|
85 |
+
"learning_rate": 4.265927977839336e-05,
|
86 |
+
"loss": 0.3653,
|
87 |
+
"step": 100
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 2.86,
|
91 |
+
"learning_rate": 4.113573407202216e-05,
|
92 |
+
"loss": 0.2844,
|
93 |
+
"step": 110
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 2.99,
|
97 |
+
"eval_accuracy": 0.75,
|
98 |
+
"eval_loss": 0.6706024408340454,
|
99 |
+
"eval_runtime": 1.113,
|
100 |
+
"eval_samples_per_second": 53.906,
|
101 |
+
"eval_steps_per_second": 1.797,
|
102 |
+
"step": 115
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 3.12,
|
106 |
+
"learning_rate": 3.961218836565097e-05,
|
107 |
+
"loss": 0.2144,
|
108 |
+
"step": 120
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 3.38,
|
112 |
+
"learning_rate": 3.808864265927978e-05,
|
113 |
+
"loss": 0.2352,
|
114 |
+
"step": 130
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 3.64,
|
118 |
+
"learning_rate": 3.6565096952908585e-05,
|
119 |
+
"loss": 0.2413,
|
120 |
+
"step": 140
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"epoch": 3.9,
|
124 |
+
"learning_rate": 3.5041551246537395e-05,
|
125 |
+
"loss": 0.2275,
|
126 |
+
"step": 150
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 4.0,
|
130 |
+
"eval_accuracy": 0.8166666666666667,
|
131 |
+
"eval_loss": 0.535870373249054,
|
132 |
+
"eval_runtime": 1.0699,
|
133 |
+
"eval_samples_per_second": 56.079,
|
134 |
+
"eval_steps_per_second": 1.869,
|
135 |
+
"step": 154
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 4.16,
|
139 |
+
"learning_rate": 3.3518005540166206e-05,
|
140 |
+
"loss": 0.1779,
|
141 |
+
"step": 160
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 4.42,
|
145 |
+
"learning_rate": 3.1994459833795016e-05,
|
146 |
+
"loss": 0.1763,
|
147 |
+
"step": 170
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 4.68,
|
151 |
+
"learning_rate": 3.0470914127423827e-05,
|
152 |
+
"loss": 0.1581,
|
153 |
+
"step": 180
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 4.94,
|
157 |
+
"learning_rate": 2.894736842105263e-05,
|
158 |
+
"loss": 0.1539,
|
159 |
+
"step": 190
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 4.99,
|
163 |
+
"eval_accuracy": 0.8166666666666667,
|
164 |
+
"eval_loss": 0.6066630482673645,
|
165 |
+
"eval_runtime": 1.0523,
|
166 |
+
"eval_samples_per_second": 57.02,
|
167 |
+
"eval_steps_per_second": 1.901,
|
168 |
+
"step": 192
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 5.19,
|
172 |
+
"learning_rate": 2.742382271468144e-05,
|
173 |
+
"loss": 0.1287,
|
174 |
+
"step": 200
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 5.45,
|
178 |
+
"learning_rate": 2.590027700831025e-05,
|
179 |
+
"loss": 0.1306,
|
180 |
+
"step": 210
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 5.71,
|
184 |
+
"learning_rate": 2.4376731301939058e-05,
|
185 |
+
"loss": 0.1339,
|
186 |
+
"step": 220
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"epoch": 5.97,
|
190 |
+
"learning_rate": 2.2853185595567865e-05,
|
191 |
+
"loss": 0.1113,
|
192 |
+
"step": 230
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 6.0,
|
196 |
+
"eval_accuracy": 0.7666666666666667,
|
197 |
+
"eval_loss": 0.7886819839477539,
|
198 |
+
"eval_runtime": 1.095,
|
199 |
+
"eval_samples_per_second": 54.792,
|
200 |
+
"eval_steps_per_second": 1.826,
|
201 |
+
"step": 231
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 6.23,
|
205 |
+
"learning_rate": 2.132963988919668e-05,
|
206 |
+
"loss": 0.0957,
|
207 |
+
"step": 240
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 6.49,
|
211 |
+
"learning_rate": 1.9806094182825486e-05,
|
212 |
+
"loss": 0.1304,
|
213 |
+
"step": 250
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 6.75,
|
217 |
+
"learning_rate": 1.8282548476454293e-05,
|
218 |
+
"loss": 0.1117,
|
219 |
+
"step": 260
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 6.99,
|
223 |
+
"eval_accuracy": 0.8166666666666667,
|
224 |
+
"eval_loss": 0.6443384885787964,
|
225 |
+
"eval_runtime": 1.142,
|
226 |
+
"eval_samples_per_second": 52.54,
|
227 |
+
"eval_steps_per_second": 1.751,
|
228 |
+
"step": 269
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 7.01,
|
232 |
+
"learning_rate": 1.6759002770083103e-05,
|
233 |
+
"loss": 0.1033,
|
234 |
+
"step": 270
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 7.27,
|
238 |
+
"learning_rate": 1.5235457063711913e-05,
|
239 |
+
"loss": 0.0903,
|
240 |
+
"step": 280
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 7.53,
|
244 |
+
"learning_rate": 1.371191135734072e-05,
|
245 |
+
"loss": 0.086,
|
246 |
+
"step": 290
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"epoch": 7.79,
|
250 |
+
"learning_rate": 1.2188365650969529e-05,
|
251 |
+
"loss": 0.1088,
|
252 |
+
"step": 300
|
253 |
+
},
|
254 |
+
{
|
255 |
+
"epoch": 8.0,
|
256 |
+
"eval_accuracy": 0.85,
|
257 |
+
"eval_loss": 0.642919659614563,
|
258 |
+
"eval_runtime": 1.1112,
|
259 |
+
"eval_samples_per_second": 53.994,
|
260 |
+
"eval_steps_per_second": 1.8,
|
261 |
+
"step": 308
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 8.05,
|
265 |
+
"learning_rate": 1.066481994459834e-05,
|
266 |
+
"loss": 0.0725,
|
267 |
+
"step": 310
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"epoch": 8.31,
|
271 |
+
"learning_rate": 9.141274238227146e-06,
|
272 |
+
"loss": 0.0761,
|
273 |
+
"step": 320
|
274 |
+
},
|
275 |
+
{
|
276 |
+
"epoch": 8.57,
|
277 |
+
"learning_rate": 7.617728531855957e-06,
|
278 |
+
"loss": 0.0665,
|
279 |
+
"step": 330
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 8.83,
|
283 |
+
"learning_rate": 6.0941828254847645e-06,
|
284 |
+
"loss": 0.0824,
|
285 |
+
"step": 340
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"epoch": 8.99,
|
289 |
+
"eval_accuracy": 0.8333333333333334,
|
290 |
+
"eval_loss": 0.6498779654502869,
|
291 |
+
"eval_runtime": 1.0629,
|
292 |
+
"eval_samples_per_second": 56.449,
|
293 |
+
"eval_steps_per_second": 1.882,
|
294 |
+
"step": 346
|
295 |
+
},
|
296 |
+
{
|
297 |
+
"epoch": 9.09,
|
298 |
+
"learning_rate": 4.570637119113573e-06,
|
299 |
+
"loss": 0.0749,
|
300 |
+
"step": 350
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"epoch": 9.35,
|
304 |
+
"learning_rate": 3.0470914127423822e-06,
|
305 |
+
"loss": 0.0808,
|
306 |
+
"step": 360
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 9.61,
|
310 |
+
"learning_rate": 1.5235457063711911e-06,
|
311 |
+
"loss": 0.077,
|
312 |
+
"step": 370
|
313 |
+
},
|
314 |
+
{
|
315 |
+
"epoch": 9.87,
|
316 |
+
"learning_rate": 0.0,
|
317 |
+
"loss": 0.0834,
|
318 |
+
"step": 380
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"epoch": 9.87,
|
322 |
+
"eval_accuracy": 0.8166666666666667,
|
323 |
+
"eval_loss": 0.6802073121070862,
|
324 |
+
"eval_runtime": 1.0862,
|
325 |
+
"eval_samples_per_second": 55.236,
|
326 |
+
"eval_steps_per_second": 1.841,
|
327 |
+
"step": 380
|
328 |
+
},
|
329 |
+
{
|
330 |
+
"epoch": 9.87,
|
331 |
+
"step": 380,
|
332 |
+
"total_flos": 3.7497496079053947e+18,
|
333 |
+
"train_loss": 0.31720146521141657,
|
334 |
+
"train_runtime": 770.452,
|
335 |
+
"train_samples_per_second": 63.599,
|
336 |
+
"train_steps_per_second": 0.493
|
337 |
+
}
|
338 |
+
],
|
339 |
+
"logging_steps": 10,
|
340 |
+
"max_steps": 380,
|
341 |
+
"num_input_tokens_seen": 0,
|
342 |
+
"num_train_epochs": 10,
|
343 |
+
"save_steps": 500,
|
344 |
+
"total_flos": 3.7497496079053947e+18,
|
345 |
+
"train_batch_size": 32,
|
346 |
+
"trial_name": null,
|
347 |
+
"trial_params": null
|
348 |
+
}
|