vuongnhathien commited on
Commit
81b5eb4
1 Parent(s): bcfbf17

End of training

Browse files
README.md CHANGED
@@ -22,7 +22,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.9308151093439364
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 [facebook/convnextv2-nano-22k-384](https://huggingface.co/facebook/convnextv2-nano-22k-384) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.2618
36
- - Accuracy: 0.9308
37
 
38
  ## Model description
39
 
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.9333333333333333
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 [facebook/convnextv2-nano-22k-384](https://huggingface.co/facebook/convnextv2-nano-22k-384) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.2467
36
+ - Accuracy: 0.9333
37
 
38
  ## Model description
39
 
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "total_flos": 7.000491898906214e+18,
4
+ "train_loss": 0.49915996170043947,
5
+ "train_runtime": 8370.5251,
6
+ "train_samples_per_second": 21.003,
7
+ "train_steps_per_second": 0.657
8
+ }
runs/May30_03-19-39_cb8dd7a87949/events.out.tfevents.1717047820.cb8dd7a87949.24.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08e23fc81c0d7aa3ebdeb75ff5beea45f2e23e5dc79d693ccdf59a637100baad
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "total_flos": 7.000491898906214e+18,
4
+ "train_loss": 0.49915996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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.26184722781181335,
3
+ "best_model_checkpoint": "./convnext-nano-new-1e-4/checkpoint-5500",
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5500,
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.18,
13
+ "grad_norm": 19.579008102416992,
14
+ "learning_rate": 9.991845519630678e-05,
15
+ "loss": 2.3491,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.36,
20
+ "grad_norm": 31.21416664123535,
21
+ "learning_rate": 9.967408676742751e-05,
22
+ "loss": 1.2966,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.55,
27
+ "grad_norm": 15.68994140625,
28
+ "learning_rate": 9.926769179238466e-05,
29
+ "loss": 1.0475,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.73,
34
+ "grad_norm": 17.57521629333496,
35
+ "learning_rate": 9.870059584711668e-05,
36
+ "loss": 0.9611,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.91,
41
+ "grad_norm": 19.856332778930664,
42
+ "learning_rate": 9.797464868072488e-05,
43
+ "loss": 0.8703,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 1.0,
48
+ "eval_accuracy": 0.8473161033797216,
49
+ "eval_loss": 0.5358882546424866,
50
+ "eval_runtime": 60.8074,
51
+ "eval_samples_per_second": 41.36,
52
+ "eval_steps_per_second": 1.299,
53
+ "step": 550
54
+ },
55
+ {
56
+ "epoch": 1.09,
57
+ "grad_norm": 17.288860321044922,
58
+ "learning_rate": 9.709221818197624e-05,
59
+ "loss": 0.8327,
60
+ "step": 600
61
+ },
62
+ {
63
+ "epoch": 1.27,
64
+ "grad_norm": 15.169794082641602,
65
+ "learning_rate": 9.60561826557425e-05,
66
+ "loss": 0.7284,
67
+ "step": 700
68
+ },
69
+ {
70
+ "epoch": 1.45,
71
+ "grad_norm": 14.436149597167969,
72
+ "learning_rate": 9.486992143456792e-05,
73
+ "loss": 0.6652,
74
+ "step": 800
75
+ },
76
+ {
77
+ "epoch": 1.64,
78
+ "grad_norm": 21.993471145629883,
79
+ "learning_rate": 9.353730385598887e-05,
80
+ "loss": 0.7387,
81
+ "step": 900
82
+ },
83
+ {
84
+ "epoch": 1.82,
85
+ "grad_norm": 17.582576751708984,
86
+ "learning_rate": 9.206267664155907e-05,
87
+ "loss": 0.678,
88
+ "step": 1000
89
+ },
90
+ {
91
+ "epoch": 2.0,
92
+ "grad_norm": 23.1961727142334,
93
+ "learning_rate": 9.045084971874738e-05,
94
+ "loss": 0.6685,
95
+ "step": 1100
96
+ },
97
+ {
98
+ "epoch": 2.0,
99
+ "eval_accuracy": 0.8854870775347913,
100
+ "eval_loss": 0.41691645979881287,
101
+ "eval_runtime": 60.6738,
102
+ "eval_samples_per_second": 41.451,
103
+ "eval_steps_per_second": 1.302,
104
+ "step": 1100
105
+ },
106
+ {
107
+ "epoch": 2.18,
108
+ "grad_norm": 13.541474342346191,
109
+ "learning_rate": 8.870708053195413e-05,
110
+ "loss": 0.5784,
111
+ "step": 1200
112
+ },
113
+ {
114
+ "epoch": 2.36,
115
+ "grad_norm": 14.434982299804688,
116
+ "learning_rate": 8.683705689382024e-05,
117
+ "loss": 0.6053,
118
+ "step": 1300
119
+ },
120
+ {
121
+ "epoch": 2.55,
122
+ "grad_norm": 9.445209503173828,
123
+ "learning_rate": 8.484687843276469e-05,
124
+ "loss": 0.5885,
125
+ "step": 1400
126
+ },
127
+ {
128
+ "epoch": 2.73,
129
+ "grad_norm": 18.613405227661133,
130
+ "learning_rate": 8.274303669726426e-05,
131
+ "loss": 0.5734,
132
+ "step": 1500
133
+ },
134
+ {
135
+ "epoch": 2.91,
136
+ "grad_norm": 16.23317527770996,
137
+ "learning_rate": 8.053239398177191e-05,
138
+ "loss": 0.5564,
139
+ "step": 1600
140
+ },
141
+ {
142
+ "epoch": 3.0,
143
+ "eval_accuracy": 0.9041749502982107,
144
+ "eval_loss": 0.3498544692993164,
145
+ "eval_runtime": 61.3833,
146
+ "eval_samples_per_second": 40.972,
147
+ "eval_steps_per_second": 1.287,
148
+ "step": 1650
149
+ },
150
+ {
151
+ "epoch": 3.09,
152
+ "grad_norm": 17.68219566345215,
153
+ "learning_rate": 7.822216094333847e-05,
154
+ "loss": 0.5309,
155
+ "step": 1700
156
+ },
157
+ {
158
+ "epoch": 3.27,
159
+ "grad_norm": 13.154298782348633,
160
+ "learning_rate": 7.58198730819481e-05,
161
+ "loss": 0.5068,
162
+ "step": 1800
163
+ },
164
+ {
165
+ "epoch": 3.45,
166
+ "grad_norm": 12.262152671813965,
167
+ "learning_rate": 7.333336616128369e-05,
168
+ "loss": 0.4878,
169
+ "step": 1900
170
+ },
171
+ {
172
+ "epoch": 3.64,
173
+ "grad_norm": 13.857909202575684,
174
+ "learning_rate": 7.077075065009433e-05,
175
+ "loss": 0.4992,
176
+ "step": 2000
177
+ },
178
+ {
179
+ "epoch": 3.82,
180
+ "grad_norm": 11.467909812927246,
181
+ "learning_rate": 6.814038526753205e-05,
182
+ "loss": 0.4905,
183
+ "step": 2100
184
+ },
185
+ {
186
+ "epoch": 4.0,
187
+ "grad_norm": 28.545787811279297,
188
+ "learning_rate": 6.545084971874738e-05,
189
+ "loss": 0.4515,
190
+ "step": 2200
191
+ },
192
+ {
193
+ "epoch": 4.0,
194
+ "eval_accuracy": 0.9141153081510934,
195
+ "eval_loss": 0.31653931736946106,
196
+ "eval_runtime": 60.4281,
197
+ "eval_samples_per_second": 41.62,
198
+ "eval_steps_per_second": 1.307,
199
+ "step": 2200
200
+ },
201
+ {
202
+ "epoch": 4.18,
203
+ "grad_norm": 15.704607963562012,
204
+ "learning_rate": 6.271091670967436e-05,
205
+ "loss": 0.4485,
206
+ "step": 2300
207
+ },
208
+ {
209
+ "epoch": 4.36,
210
+ "grad_norm": 15.504982948303223,
211
+ "learning_rate": 5.992952333228728e-05,
212
+ "loss": 0.4265,
213
+ "step": 2400
214
+ },
215
+ {
216
+ "epoch": 4.55,
217
+ "grad_norm": 10.627553939819336,
218
+ "learning_rate": 5.7115741913664264e-05,
219
+ "loss": 0.4132,
220
+ "step": 2500
221
+ },
222
+ {
223
+ "epoch": 4.73,
224
+ "grad_norm": 14.083510398864746,
225
+ "learning_rate": 5.427875042394199e-05,
226
+ "loss": 0.4428,
227
+ "step": 2600
228
+ },
229
+ {
230
+ "epoch": 4.91,
231
+ "grad_norm": 7.471627235412598,
232
+ "learning_rate": 5.142780253968481e-05,
233
+ "loss": 0.442,
234
+ "step": 2700
235
+ },
236
+ {
237
+ "epoch": 5.0,
238
+ "eval_accuracy": 0.9081510934393638,
239
+ "eval_loss": 0.3228101134300232,
240
+ "eval_runtime": 60.6673,
241
+ "eval_samples_per_second": 41.456,
242
+ "eval_steps_per_second": 1.302,
243
+ "step": 2750
244
+ },
245
+ {
246
+ "epoch": 5.09,
247
+ "grad_norm": 14.514873504638672,
248
+ "learning_rate": 4.85721974603152e-05,
249
+ "loss": 0.383,
250
+ "step": 2800
251
+ },
252
+ {
253
+ "epoch": 5.27,
254
+ "grad_norm": 10.791834831237793,
255
+ "learning_rate": 4.5721249576058027e-05,
256
+ "loss": 0.39,
257
+ "step": 2900
258
+ },
259
+ {
260
+ "epoch": 5.45,
261
+ "grad_norm": 11.45054817199707,
262
+ "learning_rate": 4.288425808633575e-05,
263
+ "loss": 0.3562,
264
+ "step": 3000
265
+ },
266
+ {
267
+ "epoch": 5.64,
268
+ "grad_norm": 12.328774452209473,
269
+ "learning_rate": 4.007047666771274e-05,
270
+ "loss": 0.3457,
271
+ "step": 3100
272
+ },
273
+ {
274
+ "epoch": 5.82,
275
+ "grad_norm": 14.327699661254883,
276
+ "learning_rate": 3.728908329032567e-05,
277
+ "loss": 0.3893,
278
+ "step": 3200
279
+ },
280
+ {
281
+ "epoch": 6.0,
282
+ "grad_norm": 16.291210174560547,
283
+ "learning_rate": 3.4549150281252636e-05,
284
+ "loss": 0.3799,
285
+ "step": 3300
286
+ },
287
+ {
288
+ "epoch": 6.0,
289
+ "eval_accuracy": 0.9157057654075547,
290
+ "eval_loss": 0.3088889420032501,
291
+ "eval_runtime": 61.3966,
292
+ "eval_samples_per_second": 40.963,
293
+ "eval_steps_per_second": 1.287,
294
+ "step": 3300
295
+ },
296
+ {
297
+ "epoch": 6.18,
298
+ "grad_norm": 2.8535711765289307,
299
+ "learning_rate": 3.1859614732467954e-05,
300
+ "loss": 0.3477,
301
+ "step": 3400
302
+ },
303
+ {
304
+ "epoch": 6.36,
305
+ "grad_norm": 13.33967399597168,
306
+ "learning_rate": 2.9229249349905684e-05,
307
+ "loss": 0.3299,
308
+ "step": 3500
309
+ },
310
+ {
311
+ "epoch": 6.55,
312
+ "grad_norm": 14.240943908691406,
313
+ "learning_rate": 2.6666633838716314e-05,
314
+ "loss": 0.3453,
315
+ "step": 3600
316
+ },
317
+ {
318
+ "epoch": 6.73,
319
+ "grad_norm": 13.373929023742676,
320
+ "learning_rate": 2.418012691805191e-05,
321
+ "loss": 0.313,
322
+ "step": 3700
323
+ },
324
+ {
325
+ "epoch": 6.91,
326
+ "grad_norm": 8.548375129699707,
327
+ "learning_rate": 2.1777839056661554e-05,
328
+ "loss": 0.3311,
329
+ "step": 3800
330
+ },
331
+ {
332
+ "epoch": 7.0,
333
+ "eval_accuracy": 0.925248508946322,
334
+ "eval_loss": 0.2745630145072937,
335
+ "eval_runtime": 60.3297,
336
+ "eval_samples_per_second": 41.688,
337
+ "eval_steps_per_second": 1.309,
338
+ "step": 3850
339
+ },
340
+ {
341
+ "epoch": 7.09,
342
+ "grad_norm": 18.050865173339844,
343
+ "learning_rate": 1.946760601822809e-05,
344
+ "loss": 0.2854,
345
+ "step": 3900
346
+ },
347
+ {
348
+ "epoch": 7.27,
349
+ "grad_norm": 13.02624225616455,
350
+ "learning_rate": 1.725696330273575e-05,
351
+ "loss": 0.2972,
352
+ "step": 4000
353
+ },
354
+ {
355
+ "epoch": 7.45,
356
+ "grad_norm": 13.168692588806152,
357
+ "learning_rate": 1.5153121567235335e-05,
358
+ "loss": 0.3127,
359
+ "step": 4100
360
+ },
361
+ {
362
+ "epoch": 7.64,
363
+ "grad_norm": 12.672035217285156,
364
+ "learning_rate": 1.3162943106179749e-05,
365
+ "loss": 0.2909,
366
+ "step": 4200
367
+ },
368
+ {
369
+ "epoch": 7.82,
370
+ "grad_norm": 14.670820236206055,
371
+ "learning_rate": 1.1292919468045877e-05,
372
+ "loss": 0.2881,
373
+ "step": 4300
374
+ },
375
+ {
376
+ "epoch": 8.0,
377
+ "grad_norm": 25.280366897583008,
378
+ "learning_rate": 9.549150281252633e-06,
379
+ "loss": 0.2726,
380
+ "step": 4400
381
+ },
382
+ {
383
+ "epoch": 8.0,
384
+ "eval_accuracy": 0.9248508946322067,
385
+ "eval_loss": 0.26891395449638367,
386
+ "eval_runtime": 60.3039,
387
+ "eval_samples_per_second": 41.705,
388
+ "eval_steps_per_second": 1.31,
389
+ "step": 4400
390
+ },
391
+ {
392
+ "epoch": 8.18,
393
+ "grad_norm": 16.034042358398438,
394
+ "learning_rate": 7.937323358440935e-06,
395
+ "loss": 0.2687,
396
+ "step": 4500
397
+ },
398
+ {
399
+ "epoch": 8.36,
400
+ "grad_norm": 11.272032737731934,
401
+ "learning_rate": 6.462696144011149e-06,
402
+ "loss": 0.2633,
403
+ "step": 4600
404
+ },
405
+ {
406
+ "epoch": 8.55,
407
+ "grad_norm": 12.020566940307617,
408
+ "learning_rate": 5.13007856543209e-06,
409
+ "loss": 0.2478,
410
+ "step": 4700
411
+ },
412
+ {
413
+ "epoch": 8.73,
414
+ "grad_norm": 15.785858154296875,
415
+ "learning_rate": 3.9438173442575e-06,
416
+ "loss": 0.2792,
417
+ "step": 4800
418
+ },
419
+ {
420
+ "epoch": 8.91,
421
+ "grad_norm": 8.982597351074219,
422
+ "learning_rate": 2.9077818180237693e-06,
423
+ "loss": 0.2711,
424
+ "step": 4900
425
+ },
426
+ {
427
+ "epoch": 9.0,
428
+ "eval_accuracy": 0.927634194831014,
429
+ "eval_loss": 0.2651021480560303,
430
+ "eval_runtime": 61.2169,
431
+ "eval_samples_per_second": 41.083,
432
+ "eval_steps_per_second": 1.29,
433
+ "step": 4950
434
+ },
435
+ {
436
+ "epoch": 9.09,
437
+ "grad_norm": 11.63708209991455,
438
+ "learning_rate": 2.0253513192751373e-06,
439
+ "loss": 0.246,
440
+ "step": 5000
441
+ },
442
+ {
443
+ "epoch": 9.27,
444
+ "grad_norm": 9.835166931152344,
445
+ "learning_rate": 1.2994041528833266e-06,
446
+ "loss": 0.2542,
447
+ "step": 5100
448
+ },
449
+ {
450
+ "epoch": 9.45,
451
+ "grad_norm": 4.863436222076416,
452
+ "learning_rate": 7.323082076153509e-07,
453
+ "loss": 0.264,
454
+ "step": 5200
455
+ },
456
+ {
457
+ "epoch": 9.64,
458
+ "grad_norm": 15.75218677520752,
459
+ "learning_rate": 3.2591323257248893e-07,
460
+ "loss": 0.2809,
461
+ "step": 5300
462
+ },
463
+ {
464
+ "epoch": 9.82,
465
+ "grad_norm": 15.889384269714355,
466
+ "learning_rate": 8.15448036932176e-08,
467
+ "loss": 0.2674,
468
+ "step": 5400
469
+ },
470
+ {
471
+ "epoch": 10.0,
472
+ "grad_norm": 48.06371307373047,
473
+ "learning_rate": 0.0,
474
+ "loss": 0.2758,
475
+ "step": 5500
476
+ },
477
+ {
478
+ "epoch": 10.0,
479
+ "eval_accuracy": 0.9308151093439364,
480
+ "eval_loss": 0.26184722781181335,
481
+ "eval_runtime": 60.5892,
482
+ "eval_samples_per_second": 41.509,
483
+ "eval_steps_per_second": 1.304,
484
+ "step": 5500
485
+ },
486
+ {
487
+ "epoch": 10.0,
488
+ "step": 5500,
489
+ "total_flos": 7.000491898906214e+18,
490
+ "train_loss": 0.49915996170043947,
491
+ "train_runtime": 8370.5251,
492
+ "train_samples_per_second": 21.003,
493
+ "train_steps_per_second": 0.657
494
+ }
495
+ ],
496
+ "logging_steps": 100,
497
+ "max_steps": 5500,
498
+ "num_input_tokens_seen": 0,
499
+ "num_train_epochs": 10,
500
+ "save_steps": 500,
501
+ "total_flos": 7.000491898906214e+18,
502
+ "train_batch_size": 32,
503
+ "trial_name": null,
504
+ "trial_params": null
505
+ }