yaojiapeng commited on
Commit
94bba6f
1 Parent(s): ea48156

End of training

Browse files
Files changed (5) hide show
  1. README.md +2 -0
  2. all_results.json +12 -0
  3. eval_results.json +8 -0
  4. train_results.json +7 -0
  5. trainer_state.json +463 -0
README.md CHANGED
@@ -2,6 +2,8 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
 
 
5
  - generated_from_trainer
6
  datasets:
7
  - beans
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
+ - image-classification
6
+ - vision
7
  - generated_from_trainer
8
  datasets:
9
  - beans
all_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.9849624060150376,
4
+ "eval_loss": 0.08610910177230835,
5
+ "eval_runtime": 0.4723,
6
+ "eval_samples_per_second": 281.622,
7
+ "eval_steps_per_second": 35.997,
8
+ "train_loss": 0.23309387693038353,
9
+ "train_runtime": 43.0217,
10
+ "train_samples_per_second": 120.172,
11
+ "train_steps_per_second": 15.109
12
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.9849624060150376,
4
+ "eval_loss": 0.08610910177230835,
5
+ "eval_runtime": 0.4723,
6
+ "eval_samples_per_second": 281.622,
7
+ "eval_steps_per_second": 35.997
8
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.23309387693038353,
4
+ "train_runtime": 43.0217,
5
+ "train_samples_per_second": 120.172,
6
+ "train_steps_per_second": 15.109
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,463 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.08610910177230835,
3
+ "best_model_checkpoint": "./beans_outputs/checkpoint-650",
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.08,
13
+ "learning_rate": 1.9692307692307696e-05,
14
+ "loss": 1.0127,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.15,
19
+ "learning_rate": 1.9384615384615386e-05,
20
+ "loss": 0.9815,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.23,
25
+ "learning_rate": 1.907692307692308e-05,
26
+ "loss": 0.8538,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.31,
31
+ "learning_rate": 1.876923076923077e-05,
32
+ "loss": 0.7641,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.38,
37
+ "learning_rate": 1.8461538461538465e-05,
38
+ "loss": 0.6857,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.46,
43
+ "learning_rate": 1.8153846153846155e-05,
44
+ "loss": 0.6337,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.54,
49
+ "learning_rate": 1.784615384615385e-05,
50
+ "loss": 0.5627,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.62,
55
+ "learning_rate": 1.753846153846154e-05,
56
+ "loss": 0.4329,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 0.69,
61
+ "learning_rate": 1.7230769230769234e-05,
62
+ "loss": 0.3781,
63
+ "step": 90
64
+ },
65
+ {
66
+ "epoch": 0.77,
67
+ "learning_rate": 1.6923076923076924e-05,
68
+ "loss": 0.3269,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.85,
73
+ "learning_rate": 1.6615384615384618e-05,
74
+ "loss": 0.3404,
75
+ "step": 110
76
+ },
77
+ {
78
+ "epoch": 0.92,
79
+ "learning_rate": 1.630769230769231e-05,
80
+ "loss": 0.2653,
81
+ "step": 120
82
+ },
83
+ {
84
+ "epoch": 1.0,
85
+ "learning_rate": 1.6000000000000003e-05,
86
+ "loss": 0.3095,
87
+ "step": 130
88
+ },
89
+ {
90
+ "epoch": 1.0,
91
+ "eval_accuracy": 0.9774436090225563,
92
+ "eval_loss": 0.21018099784851074,
93
+ "eval_runtime": 0.4811,
94
+ "eval_samples_per_second": 276.454,
95
+ "eval_steps_per_second": 35.336,
96
+ "step": 130
97
+ },
98
+ {
99
+ "epoch": 1.08,
100
+ "learning_rate": 1.5692307692307693e-05,
101
+ "loss": 0.2811,
102
+ "step": 140
103
+ },
104
+ {
105
+ "epoch": 1.15,
106
+ "learning_rate": 1.5384615384615387e-05,
107
+ "loss": 0.2346,
108
+ "step": 150
109
+ },
110
+ {
111
+ "epoch": 1.23,
112
+ "learning_rate": 1.5076923076923078e-05,
113
+ "loss": 0.2372,
114
+ "step": 160
115
+ },
116
+ {
117
+ "epoch": 1.31,
118
+ "learning_rate": 1.4769230769230772e-05,
119
+ "loss": 0.146,
120
+ "step": 170
121
+ },
122
+ {
123
+ "epoch": 1.38,
124
+ "learning_rate": 1.4461538461538462e-05,
125
+ "loss": 0.1919,
126
+ "step": 180
127
+ },
128
+ {
129
+ "epoch": 1.46,
130
+ "learning_rate": 1.4153846153846156e-05,
131
+ "loss": 0.1979,
132
+ "step": 190
133
+ },
134
+ {
135
+ "epoch": 1.54,
136
+ "learning_rate": 1.3846153846153847e-05,
137
+ "loss": 0.1513,
138
+ "step": 200
139
+ },
140
+ {
141
+ "epoch": 1.62,
142
+ "learning_rate": 1.353846153846154e-05,
143
+ "loss": 0.1451,
144
+ "step": 210
145
+ },
146
+ {
147
+ "epoch": 1.69,
148
+ "learning_rate": 1.3230769230769231e-05,
149
+ "loss": 0.1793,
150
+ "step": 220
151
+ },
152
+ {
153
+ "epoch": 1.77,
154
+ "learning_rate": 1.2923076923076925e-05,
155
+ "loss": 0.1909,
156
+ "step": 230
157
+ },
158
+ {
159
+ "epoch": 1.85,
160
+ "learning_rate": 1.2615384615384616e-05,
161
+ "loss": 0.184,
162
+ "step": 240
163
+ },
164
+ {
165
+ "epoch": 1.92,
166
+ "learning_rate": 1.230769230769231e-05,
167
+ "loss": 0.2167,
168
+ "step": 250
169
+ },
170
+ {
171
+ "epoch": 2.0,
172
+ "learning_rate": 1.2e-05,
173
+ "loss": 0.2114,
174
+ "step": 260
175
+ },
176
+ {
177
+ "epoch": 2.0,
178
+ "eval_accuracy": 0.9624060150375939,
179
+ "eval_loss": 0.1359749287366867,
180
+ "eval_runtime": 0.4733,
181
+ "eval_samples_per_second": 280.995,
182
+ "eval_steps_per_second": 35.917,
183
+ "step": 260
184
+ },
185
+ {
186
+ "epoch": 2.08,
187
+ "learning_rate": 1.1692307692307694e-05,
188
+ "loss": 0.1597,
189
+ "step": 270
190
+ },
191
+ {
192
+ "epoch": 2.15,
193
+ "learning_rate": 1.1384615384615385e-05,
194
+ "loss": 0.177,
195
+ "step": 280
196
+ },
197
+ {
198
+ "epoch": 2.23,
199
+ "learning_rate": 1.1076923076923079e-05,
200
+ "loss": 0.2366,
201
+ "step": 290
202
+ },
203
+ {
204
+ "epoch": 2.31,
205
+ "learning_rate": 1.076923076923077e-05,
206
+ "loss": 0.1534,
207
+ "step": 300
208
+ },
209
+ {
210
+ "epoch": 2.38,
211
+ "learning_rate": 1.0461538461538463e-05,
212
+ "loss": 0.2045,
213
+ "step": 310
214
+ },
215
+ {
216
+ "epoch": 2.46,
217
+ "learning_rate": 1.0153846153846154e-05,
218
+ "loss": 0.1695,
219
+ "step": 320
220
+ },
221
+ {
222
+ "epoch": 2.54,
223
+ "learning_rate": 9.846153846153848e-06,
224
+ "loss": 0.1266,
225
+ "step": 330
226
+ },
227
+ {
228
+ "epoch": 2.62,
229
+ "learning_rate": 9.53846153846154e-06,
230
+ "loss": 0.1707,
231
+ "step": 340
232
+ },
233
+ {
234
+ "epoch": 2.69,
235
+ "learning_rate": 9.230769230769232e-06,
236
+ "loss": 0.1291,
237
+ "step": 350
238
+ },
239
+ {
240
+ "epoch": 2.77,
241
+ "learning_rate": 8.923076923076925e-06,
242
+ "loss": 0.1201,
243
+ "step": 360
244
+ },
245
+ {
246
+ "epoch": 2.85,
247
+ "learning_rate": 8.615384615384617e-06,
248
+ "loss": 0.1329,
249
+ "step": 370
250
+ },
251
+ {
252
+ "epoch": 2.92,
253
+ "learning_rate": 8.307692307692309e-06,
254
+ "loss": 0.0998,
255
+ "step": 380
256
+ },
257
+ {
258
+ "epoch": 3.0,
259
+ "learning_rate": 8.000000000000001e-06,
260
+ "loss": 0.1861,
261
+ "step": 390
262
+ },
263
+ {
264
+ "epoch": 3.0,
265
+ "eval_accuracy": 0.9699248120300752,
266
+ "eval_loss": 0.11543189734220505,
267
+ "eval_runtime": 0.4608,
268
+ "eval_samples_per_second": 288.658,
269
+ "eval_steps_per_second": 36.896,
270
+ "step": 390
271
+ },
272
+ {
273
+ "epoch": 3.08,
274
+ "learning_rate": 7.692307692307694e-06,
275
+ "loss": 0.1112,
276
+ "step": 400
277
+ },
278
+ {
279
+ "epoch": 3.15,
280
+ "learning_rate": 7.384615384615386e-06,
281
+ "loss": 0.1491,
282
+ "step": 410
283
+ },
284
+ {
285
+ "epoch": 3.23,
286
+ "learning_rate": 7.076923076923078e-06,
287
+ "loss": 0.0977,
288
+ "step": 420
289
+ },
290
+ {
291
+ "epoch": 3.31,
292
+ "learning_rate": 6.76923076923077e-06,
293
+ "loss": 0.1226,
294
+ "step": 430
295
+ },
296
+ {
297
+ "epoch": 3.38,
298
+ "learning_rate": 6.461538461538463e-06,
299
+ "loss": 0.1549,
300
+ "step": 440
301
+ },
302
+ {
303
+ "epoch": 3.46,
304
+ "learning_rate": 6.153846153846155e-06,
305
+ "loss": 0.0999,
306
+ "step": 450
307
+ },
308
+ {
309
+ "epoch": 3.54,
310
+ "learning_rate": 5.846153846153847e-06,
311
+ "loss": 0.1231,
312
+ "step": 460
313
+ },
314
+ {
315
+ "epoch": 3.62,
316
+ "learning_rate": 5.538461538461539e-06,
317
+ "loss": 0.2239,
318
+ "step": 470
319
+ },
320
+ {
321
+ "epoch": 3.69,
322
+ "learning_rate": 5.230769230769232e-06,
323
+ "loss": 0.0979,
324
+ "step": 480
325
+ },
326
+ {
327
+ "epoch": 3.77,
328
+ "learning_rate": 4.923076923076924e-06,
329
+ "loss": 0.1113,
330
+ "step": 490
331
+ },
332
+ {
333
+ "epoch": 3.85,
334
+ "learning_rate": 4.615384615384616e-06,
335
+ "loss": 0.0589,
336
+ "step": 500
337
+ },
338
+ {
339
+ "epoch": 3.92,
340
+ "learning_rate": 4.307692307692308e-06,
341
+ "loss": 0.1542,
342
+ "step": 510
343
+ },
344
+ {
345
+ "epoch": 4.0,
346
+ "learning_rate": 4.000000000000001e-06,
347
+ "loss": 0.0827,
348
+ "step": 520
349
+ },
350
+ {
351
+ "epoch": 4.0,
352
+ "eval_accuracy": 0.9774436090225563,
353
+ "eval_loss": 0.10220497846603394,
354
+ "eval_runtime": 0.4648,
355
+ "eval_samples_per_second": 286.127,
356
+ "eval_steps_per_second": 36.573,
357
+ "step": 520
358
+ },
359
+ {
360
+ "epoch": 4.08,
361
+ "learning_rate": 3.692307692307693e-06,
362
+ "loss": 0.1184,
363
+ "step": 530
364
+ },
365
+ {
366
+ "epoch": 4.15,
367
+ "learning_rate": 3.384615384615385e-06,
368
+ "loss": 0.0792,
369
+ "step": 540
370
+ },
371
+ {
372
+ "epoch": 4.23,
373
+ "learning_rate": 3.0769230769230774e-06,
374
+ "loss": 0.1268,
375
+ "step": 550
376
+ },
377
+ {
378
+ "epoch": 4.31,
379
+ "learning_rate": 2.7692307692307697e-06,
380
+ "loss": 0.1331,
381
+ "step": 560
382
+ },
383
+ {
384
+ "epoch": 4.38,
385
+ "learning_rate": 2.461538461538462e-06,
386
+ "loss": 0.1315,
387
+ "step": 570
388
+ },
389
+ {
390
+ "epoch": 4.46,
391
+ "learning_rate": 2.153846153846154e-06,
392
+ "loss": 0.0683,
393
+ "step": 580
394
+ },
395
+ {
396
+ "epoch": 4.54,
397
+ "learning_rate": 1.8461538461538465e-06,
398
+ "loss": 0.0833,
399
+ "step": 590
400
+ },
401
+ {
402
+ "epoch": 4.62,
403
+ "learning_rate": 1.5384615384615387e-06,
404
+ "loss": 0.0728,
405
+ "step": 600
406
+ },
407
+ {
408
+ "epoch": 4.69,
409
+ "learning_rate": 1.230769230769231e-06,
410
+ "loss": 0.0892,
411
+ "step": 610
412
+ },
413
+ {
414
+ "epoch": 4.77,
415
+ "learning_rate": 9.230769230769232e-07,
416
+ "loss": 0.0953,
417
+ "step": 620
418
+ },
419
+ {
420
+ "epoch": 4.85,
421
+ "learning_rate": 6.153846153846155e-07,
422
+ "loss": 0.1266,
423
+ "step": 630
424
+ },
425
+ {
426
+ "epoch": 4.92,
427
+ "learning_rate": 3.0769230769230774e-07,
428
+ "loss": 0.1304,
429
+ "step": 640
430
+ },
431
+ {
432
+ "epoch": 5.0,
433
+ "learning_rate": 0.0,
434
+ "loss": 0.1281,
435
+ "step": 650
436
+ },
437
+ {
438
+ "epoch": 5.0,
439
+ "eval_accuracy": 0.9849624060150376,
440
+ "eval_loss": 0.08610910177230835,
441
+ "eval_runtime": 0.4624,
442
+ "eval_samples_per_second": 287.659,
443
+ "eval_steps_per_second": 36.768,
444
+ "step": 650
445
+ },
446
+ {
447
+ "epoch": 5.0,
448
+ "step": 650,
449
+ "total_flos": 4.006371770595533e+17,
450
+ "train_loss": 0.23309387693038353,
451
+ "train_runtime": 43.0217,
452
+ "train_samples_per_second": 120.172,
453
+ "train_steps_per_second": 15.109
454
+ }
455
+ ],
456
+ "logging_steps": 10,
457
+ "max_steps": 650,
458
+ "num_train_epochs": 5,
459
+ "save_steps": 500,
460
+ "total_flos": 4.006371770595533e+17,
461
+ "trial_name": null,
462
+ "trial_params": null
463
+ }