rukundob451 commited on
Commit
14bf67f
1 Parent(s): a97aa4c

End of training

Browse files
README.md CHANGED
@@ -32,7 +32,7 @@ should probably proofread and complete it, then remove this comment. -->
32
 
33
  This model is a fine-tuned version of [facebook/convnext-tiny-224](https://huggingface.co/facebook/convnext-tiny-224) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.6010
36
  - Accuracy: 0.7794
37
 
38
  ## Model description
 
32
 
33
  This model is a fine-tuned version of [facebook/convnext-tiny-224](https://huggingface.co/facebook/convnext-tiny-224) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.6033
36
  - Accuracy: 0.7794
37
 
38
  ## Model description
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 14.805194805194805,
3
+ "eval_accuracy": 0.7794117647058824,
4
+ "eval_loss": 0.6032511591911316,
5
+ "eval_runtime": 28.9923,
6
+ "eval_samples_per_second": 4.691,
7
+ "eval_steps_per_second": 0.31,
8
+ "total_flos": 4.55564191810388e+17,
9
+ "train_loss": 0.9492872991059956,
10
+ "train_runtime": 4189.5915,
11
+ "train_samples_per_second": 4.382,
12
+ "train_steps_per_second": 0.068
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 14.805194805194805,
3
+ "eval_accuracy": 0.7794117647058824,
4
+ "eval_loss": 0.6032511591911316,
5
+ "eval_runtime": 28.9923,
6
+ "eval_samples_per_second": 4.691,
7
+ "eval_steps_per_second": 0.31
8
+ }
runs/Sep20_04-40-08_5f17a1ad0634/events.out.tfevents.1726812126.5f17a1ad0634.36.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8e6fdaed5af3a730d85ee9ea92853e36e2b1b412ada9c7b8533e7f9fea2dbcd
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 14.805194805194805,
3
+ "total_flos": 4.55564191810388e+17,
4
+ "train_loss": 0.9492872991059956,
5
+ "train_runtime": 4189.5915,
6
+ "train_samples_per_second": 4.382,
7
+ "train_steps_per_second": 0.068
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,373 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7794117647058824,
3
+ "best_model_checkpoint": "convnext-tiny-224-finetuned-papsmear/checkpoint-269",
4
+ "epoch": 14.805194805194805,
5
+ "eval_steps": 500,
6
+ "global_step": 285,
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.5194805194805194,
13
+ "grad_norm": 2.7057783603668213,
14
+ "learning_rate": 1.7241379310344828e-05,
15
+ "loss": 1.8151,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.987012987012987,
20
+ "eval_accuracy": 0.34558823529411764,
21
+ "eval_loss": 1.6491025686264038,
22
+ "eval_runtime": 28.2457,
23
+ "eval_samples_per_second": 4.815,
24
+ "eval_steps_per_second": 0.319,
25
+ "step": 19
26
+ },
27
+ {
28
+ "epoch": 1.0389610389610389,
29
+ "grad_norm": 2.921726703643799,
30
+ "learning_rate": 3.4482758620689657e-05,
31
+ "loss": 1.7253,
32
+ "step": 20
33
+ },
34
+ {
35
+ "epoch": 1.5584415584415585,
36
+ "grad_norm": 2.692876100540161,
37
+ "learning_rate": 4.9804687500000004e-05,
38
+ "loss": 1.6104,
39
+ "step": 30
40
+ },
41
+ {
42
+ "epoch": 1.974025974025974,
43
+ "eval_accuracy": 0.4264705882352941,
44
+ "eval_loss": 1.4321942329406738,
45
+ "eval_runtime": 28.4975,
46
+ "eval_samples_per_second": 4.772,
47
+ "eval_steps_per_second": 0.316,
48
+ "step": 38
49
+ },
50
+ {
51
+ "epoch": 2.0779220779220777,
52
+ "grad_norm": 4.681018829345703,
53
+ "learning_rate": 4.78515625e-05,
54
+ "loss": 1.4815,
55
+ "step": 40
56
+ },
57
+ {
58
+ "epoch": 2.5974025974025974,
59
+ "grad_norm": 6.916051864624023,
60
+ "learning_rate": 4.58984375e-05,
61
+ "loss": 1.4002,
62
+ "step": 50
63
+ },
64
+ {
65
+ "epoch": 2.961038961038961,
66
+ "eval_accuracy": 0.5882352941176471,
67
+ "eval_loss": 1.2286293506622314,
68
+ "eval_runtime": 28.7786,
69
+ "eval_samples_per_second": 4.726,
70
+ "eval_steps_per_second": 0.313,
71
+ "step": 57
72
+ },
73
+ {
74
+ "epoch": 3.116883116883117,
75
+ "grad_norm": 6.231860637664795,
76
+ "learning_rate": 4.3945312500000005e-05,
77
+ "loss": 1.2972,
78
+ "step": 60
79
+ },
80
+ {
81
+ "epoch": 3.6363636363636362,
82
+ "grad_norm": 5.155839443206787,
83
+ "learning_rate": 4.1992187500000003e-05,
84
+ "loss": 1.203,
85
+ "step": 70
86
+ },
87
+ {
88
+ "epoch": 4.0,
89
+ "eval_accuracy": 0.6544117647058824,
90
+ "eval_loss": 1.0558613538742065,
91
+ "eval_runtime": 29.1144,
92
+ "eval_samples_per_second": 4.671,
93
+ "eval_steps_per_second": 0.309,
94
+ "step": 77
95
+ },
96
+ {
97
+ "epoch": 4.1558441558441555,
98
+ "grad_norm": 4.061820983886719,
99
+ "learning_rate": 4.00390625e-05,
100
+ "loss": 1.1157,
101
+ "step": 80
102
+ },
103
+ {
104
+ "epoch": 4.675324675324675,
105
+ "grad_norm": 6.426987171173096,
106
+ "learning_rate": 3.80859375e-05,
107
+ "loss": 1.047,
108
+ "step": 90
109
+ },
110
+ {
111
+ "epoch": 4.987012987012987,
112
+ "eval_accuracy": 0.6764705882352942,
113
+ "eval_loss": 0.9356656074523926,
114
+ "eval_runtime": 28.6745,
115
+ "eval_samples_per_second": 4.743,
116
+ "eval_steps_per_second": 0.314,
117
+ "step": 96
118
+ },
119
+ {
120
+ "epoch": 5.194805194805195,
121
+ "grad_norm": 8.75316333770752,
122
+ "learning_rate": 3.6132812500000005e-05,
123
+ "loss": 0.9786,
124
+ "step": 100
125
+ },
126
+ {
127
+ "epoch": 5.714285714285714,
128
+ "grad_norm": 18.9505615234375,
129
+ "learning_rate": 3.41796875e-05,
130
+ "loss": 0.9083,
131
+ "step": 110
132
+ },
133
+ {
134
+ "epoch": 5.974025974025974,
135
+ "eval_accuracy": 0.7279411764705882,
136
+ "eval_loss": 0.8477045893669128,
137
+ "eval_runtime": 28.1374,
138
+ "eval_samples_per_second": 4.833,
139
+ "eval_steps_per_second": 0.32,
140
+ "step": 115
141
+ },
142
+ {
143
+ "epoch": 6.233766233766234,
144
+ "grad_norm": 10.591647148132324,
145
+ "learning_rate": 3.22265625e-05,
146
+ "loss": 0.8763,
147
+ "step": 120
148
+ },
149
+ {
150
+ "epoch": 6.753246753246753,
151
+ "grad_norm": 22.407350540161133,
152
+ "learning_rate": 3.02734375e-05,
153
+ "loss": 0.8756,
154
+ "step": 130
155
+ },
156
+ {
157
+ "epoch": 6.961038961038961,
158
+ "eval_accuracy": 0.75,
159
+ "eval_loss": 0.7761698365211487,
160
+ "eval_runtime": 28.746,
161
+ "eval_samples_per_second": 4.731,
162
+ "eval_steps_per_second": 0.313,
163
+ "step": 134
164
+ },
165
+ {
166
+ "epoch": 7.2727272727272725,
167
+ "grad_norm": 14.485121726989746,
168
+ "learning_rate": 2.83203125e-05,
169
+ "loss": 0.7762,
170
+ "step": 140
171
+ },
172
+ {
173
+ "epoch": 7.792207792207792,
174
+ "grad_norm": 12.85451889038086,
175
+ "learning_rate": 2.63671875e-05,
176
+ "loss": 0.7853,
177
+ "step": 150
178
+ },
179
+ {
180
+ "epoch": 8.0,
181
+ "eval_accuracy": 0.7647058823529411,
182
+ "eval_loss": 0.7257648706436157,
183
+ "eval_runtime": 28.5887,
184
+ "eval_samples_per_second": 4.757,
185
+ "eval_steps_per_second": 0.315,
186
+ "step": 154
187
+ },
188
+ {
189
+ "epoch": 8.311688311688311,
190
+ "grad_norm": 15.272162437438965,
191
+ "learning_rate": 2.44140625e-05,
192
+ "loss": 0.7991,
193
+ "step": 160
194
+ },
195
+ {
196
+ "epoch": 8.831168831168831,
197
+ "grad_norm": 23.24527931213379,
198
+ "learning_rate": 2.24609375e-05,
199
+ "loss": 0.7198,
200
+ "step": 170
201
+ },
202
+ {
203
+ "epoch": 8.987012987012987,
204
+ "eval_accuracy": 0.7573529411764706,
205
+ "eval_loss": 0.7022554874420166,
206
+ "eval_runtime": 28.5238,
207
+ "eval_samples_per_second": 4.768,
208
+ "eval_steps_per_second": 0.316,
209
+ "step": 173
210
+ },
211
+ {
212
+ "epoch": 9.35064935064935,
213
+ "grad_norm": 41.553192138671875,
214
+ "learning_rate": 2.05078125e-05,
215
+ "loss": 0.7277,
216
+ "step": 180
217
+ },
218
+ {
219
+ "epoch": 9.87012987012987,
220
+ "grad_norm": 17.23739242553711,
221
+ "learning_rate": 1.85546875e-05,
222
+ "loss": 0.7151,
223
+ "step": 190
224
+ },
225
+ {
226
+ "epoch": 9.974025974025974,
227
+ "eval_accuracy": 0.7573529411764706,
228
+ "eval_loss": 0.6756320595741272,
229
+ "eval_runtime": 28.3293,
230
+ "eval_samples_per_second": 4.801,
231
+ "eval_steps_per_second": 0.318,
232
+ "step": 192
233
+ },
234
+ {
235
+ "epoch": 10.38961038961039,
236
+ "grad_norm": 38.664608001708984,
237
+ "learning_rate": 1.66015625e-05,
238
+ "loss": 0.7012,
239
+ "step": 200
240
+ },
241
+ {
242
+ "epoch": 10.909090909090908,
243
+ "grad_norm": 16.148284912109375,
244
+ "learning_rate": 1.4648437500000001e-05,
245
+ "loss": 0.7049,
246
+ "step": 210
247
+ },
248
+ {
249
+ "epoch": 10.96103896103896,
250
+ "eval_accuracy": 0.7573529411764706,
251
+ "eval_loss": 0.6492503881454468,
252
+ "eval_runtime": 28.3206,
253
+ "eval_samples_per_second": 4.802,
254
+ "eval_steps_per_second": 0.318,
255
+ "step": 211
256
+ },
257
+ {
258
+ "epoch": 11.428571428571429,
259
+ "grad_norm": 11.50155258178711,
260
+ "learning_rate": 1.2695312500000001e-05,
261
+ "loss": 0.6742,
262
+ "step": 220
263
+ },
264
+ {
265
+ "epoch": 11.948051948051948,
266
+ "grad_norm": 7.969295978546143,
267
+ "learning_rate": 1.0742187500000001e-05,
268
+ "loss": 0.6387,
269
+ "step": 230
270
+ },
271
+ {
272
+ "epoch": 12.0,
273
+ "eval_accuracy": 0.7720588235294118,
274
+ "eval_loss": 0.6256288290023804,
275
+ "eval_runtime": 28.2852,
276
+ "eval_samples_per_second": 4.808,
277
+ "eval_steps_per_second": 0.318,
278
+ "step": 231
279
+ },
280
+ {
281
+ "epoch": 12.467532467532468,
282
+ "grad_norm": 23.28668975830078,
283
+ "learning_rate": 8.789062500000001e-06,
284
+ "loss": 0.6393,
285
+ "step": 240
286
+ },
287
+ {
288
+ "epoch": 12.987012987012987,
289
+ "grad_norm": 20.532899856567383,
290
+ "learning_rate": 6.8359375e-06,
291
+ "loss": 0.6387,
292
+ "step": 250
293
+ },
294
+ {
295
+ "epoch": 12.987012987012987,
296
+ "eval_accuracy": 0.7720588235294118,
297
+ "eval_loss": 0.6295046806335449,
298
+ "eval_runtime": 27.9632,
299
+ "eval_samples_per_second": 4.864,
300
+ "eval_steps_per_second": 0.322,
301
+ "step": 250
302
+ },
303
+ {
304
+ "epoch": 13.506493506493506,
305
+ "grad_norm": 17.684839248657227,
306
+ "learning_rate": 4.8828125e-06,
307
+ "loss": 0.6233,
308
+ "step": 260
309
+ },
310
+ {
311
+ "epoch": 13.974025974025974,
312
+ "eval_accuracy": 0.7794117647058824,
313
+ "eval_loss": 0.6032511591911316,
314
+ "eval_runtime": 28.638,
315
+ "eval_samples_per_second": 4.749,
316
+ "eval_steps_per_second": 0.314,
317
+ "step": 269
318
+ },
319
+ {
320
+ "epoch": 14.025974025974026,
321
+ "grad_norm": 7.872328281402588,
322
+ "learning_rate": 2.9296875e-06,
323
+ "loss": 0.6251,
324
+ "step": 270
325
+ },
326
+ {
327
+ "epoch": 14.545454545454545,
328
+ "grad_norm": 14.434428215026855,
329
+ "learning_rate": 9.765625e-07,
330
+ "loss": 0.632,
331
+ "step": 280
332
+ },
333
+ {
334
+ "epoch": 14.805194805194805,
335
+ "eval_accuracy": 0.7794117647058824,
336
+ "eval_loss": 0.6009563207626343,
337
+ "eval_runtime": 28.5598,
338
+ "eval_samples_per_second": 4.762,
339
+ "eval_steps_per_second": 0.315,
340
+ "step": 285
341
+ },
342
+ {
343
+ "epoch": 14.805194805194805,
344
+ "step": 285,
345
+ "total_flos": 4.55564191810388e+17,
346
+ "train_loss": 0.9492872991059956,
347
+ "train_runtime": 4189.5915,
348
+ "train_samples_per_second": 4.382,
349
+ "train_steps_per_second": 0.068
350
+ }
351
+ ],
352
+ "logging_steps": 10,
353
+ "max_steps": 285,
354
+ "num_input_tokens_seen": 0,
355
+ "num_train_epochs": 15,
356
+ "save_steps": 500,
357
+ "stateful_callbacks": {
358
+ "TrainerControl": {
359
+ "args": {
360
+ "should_epoch_stop": false,
361
+ "should_evaluate": false,
362
+ "should_log": false,
363
+ "should_save": true,
364
+ "should_training_stop": true
365
+ },
366
+ "attributes": {}
367
+ }
368
+ },
369
+ "total_flos": 4.55564191810388e+17,
370
+ "train_batch_size": 16,
371
+ "trial_name": null,
372
+ "trial_params": null
373
+ }