Bastik22 commited on
Commit
2c4d661
·
verified ·
1 Parent(s): 974cfe7

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ base_model: microsoft/resnet-50
7
+ widget:
8
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
9
+ example_title: Tiger
10
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
11
+ example_title: Teapot
12
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
13
+ example_title: Palace
14
+ ---
15
+
16
+ # Model Trained Using AutoTrain
17
+
18
+ - Problem type: Image Classification
19
+
20
+ ## Validation Metrics
21
+ loss: 0.5226172208786011
22
+
23
+ f1: 0.8527472527472527
24
+
25
+ precision: 0.7432950191570882
26
+
27
+ recall: 1.0
28
+
29
+ auc: 0.9095966687182644
30
+
31
+ accuracy: 0.7432950191570882
checkpoint-2086/config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "NORMAL",
25
+ "1": "PNEUMONIA"
26
+ },
27
+ "label2id": {
28
+ "NORMAL": 0,
29
+ "PNEUMONIA": 1
30
+ },
31
+ "layer_type": "bottleneck",
32
+ "model_type": "resnet",
33
+ "num_channels": 3,
34
+ "out_features": [
35
+ "stage4"
36
+ ],
37
+ "out_indices": [
38
+ 4
39
+ ],
40
+ "problem_type": "single_label_classification",
41
+ "stage_names": [
42
+ "stem",
43
+ "stage1",
44
+ "stage2",
45
+ "stage3",
46
+ "stage4"
47
+ ],
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.47.1"
50
+ }
checkpoint-2086/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:144d0c6d0f6d14dfd6ad073f78c8eae42edf53b2adebb05bc31a120071c803a5
3
+ size 94302952
checkpoint-2086/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbcfb286226f58a5bcde613406f52be9a9f91f93967e38d68284e30cc5aa66cf
3
+ size 188232506
checkpoint-2086/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ff264f99d31b522cc7e2a4eac9d38606d0c58a34c0adc74d71e0ca8b371dc36
3
+ size 14244
checkpoint-2086/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c9548928507ea303e185c67d1fcef0aba2957f30f64d88011e1335fc2553f4b
3
+ size 1064
checkpoint-2086/trainer_state.json ADDED
@@ -0,0 +1,636 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5226172208786011,
3
+ "best_model_checkpoint": "pneumonia/checkpoint-2086",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 2086,
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.011984659635666348,
13
+ "grad_norm": 22.44640350341797,
14
+ "learning_rate": 4.784688995215311e-06,
15
+ "loss": 0.7004,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.023969319271332695,
20
+ "grad_norm": 82.92088317871094,
21
+ "learning_rate": 1.0765550239234451e-05,
22
+ "loss": 0.7018,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.03595397890699904,
27
+ "grad_norm": 22.585725784301758,
28
+ "learning_rate": 1.674641148325359e-05,
29
+ "loss": 0.6939,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.04793863854266539,
34
+ "grad_norm": 17.42257308959961,
35
+ "learning_rate": 2.272727272727273e-05,
36
+ "loss": 0.6731,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.05992329817833174,
41
+ "grad_norm": 25.288122177124023,
42
+ "learning_rate": 2.8708133971291868e-05,
43
+ "loss": 0.674,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 0.07190795781399809,
48
+ "grad_norm": 41.24620056152344,
49
+ "learning_rate": 3.4688995215311004e-05,
50
+ "loss": 0.6299,
51
+ "step": 150
52
+ },
53
+ {
54
+ "epoch": 0.08389261744966443,
55
+ "grad_norm": 46.39698791503906,
56
+ "learning_rate": 4.0669856459330146e-05,
57
+ "loss": 0.6048,
58
+ "step": 175
59
+ },
60
+ {
61
+ "epoch": 0.09587727708533078,
62
+ "grad_norm": 32.887577056884766,
63
+ "learning_rate": 4.665071770334928e-05,
64
+ "loss": 0.6027,
65
+ "step": 200
66
+ },
67
+ {
68
+ "epoch": 0.10786193672099713,
69
+ "grad_norm": 22.294187545776367,
70
+ "learning_rate": 4.970697922216303e-05,
71
+ "loss": 0.5801,
72
+ "step": 225
73
+ },
74
+ {
75
+ "epoch": 0.11984659635666348,
76
+ "grad_norm": 41.33298110961914,
77
+ "learning_rate": 4.904102290889718e-05,
78
+ "loss": 0.6209,
79
+ "step": 250
80
+ },
81
+ {
82
+ "epoch": 0.1318312559923298,
83
+ "grad_norm": 13.162328720092773,
84
+ "learning_rate": 4.837506659563133e-05,
85
+ "loss": 0.5501,
86
+ "step": 275
87
+ },
88
+ {
89
+ "epoch": 0.14381591562799617,
90
+ "grad_norm": 13.487895011901855,
91
+ "learning_rate": 4.7709110282365475e-05,
92
+ "loss": 0.5771,
93
+ "step": 300
94
+ },
95
+ {
96
+ "epoch": 0.1558005752636625,
97
+ "grad_norm": 51.791908264160156,
98
+ "learning_rate": 4.7043153969099626e-05,
99
+ "loss": 0.6109,
100
+ "step": 325
101
+ },
102
+ {
103
+ "epoch": 0.16778523489932887,
104
+ "grad_norm": 76.57781219482422,
105
+ "learning_rate": 4.6377197655833785e-05,
106
+ "loss": 0.6925,
107
+ "step": 350
108
+ },
109
+ {
110
+ "epoch": 0.1797698945349952,
111
+ "grad_norm": 14.648024559020996,
112
+ "learning_rate": 4.571124134256793e-05,
113
+ "loss": 0.5078,
114
+ "step": 375
115
+ },
116
+ {
117
+ "epoch": 0.19175455417066156,
118
+ "grad_norm": 43.30339050292969,
119
+ "learning_rate": 4.507192328183271e-05,
120
+ "loss": 0.5822,
121
+ "step": 400
122
+ },
123
+ {
124
+ "epoch": 0.2037392138063279,
125
+ "grad_norm": 26.784236907958984,
126
+ "learning_rate": 4.440596696856686e-05,
127
+ "loss": 0.5797,
128
+ "step": 425
129
+ },
130
+ {
131
+ "epoch": 0.21572387344199426,
132
+ "grad_norm": 13.54200267791748,
133
+ "learning_rate": 4.3740010655301014e-05,
134
+ "loss": 0.6601,
135
+ "step": 450
136
+ },
137
+ {
138
+ "epoch": 0.2277085330776606,
139
+ "grad_norm": 8.089241027832031,
140
+ "learning_rate": 4.3074054342035166e-05,
141
+ "loss": 0.4977,
142
+ "step": 475
143
+ },
144
+ {
145
+ "epoch": 0.23969319271332695,
146
+ "grad_norm": 10.356745719909668,
147
+ "learning_rate": 4.240809802876932e-05,
148
+ "loss": 0.5198,
149
+ "step": 500
150
+ },
151
+ {
152
+ "epoch": 0.2516778523489933,
153
+ "grad_norm": 107.47809600830078,
154
+ "learning_rate": 4.174214171550346e-05,
155
+ "loss": 0.5255,
156
+ "step": 525
157
+ },
158
+ {
159
+ "epoch": 0.2636625119846596,
160
+ "grad_norm": 56.090843200683594,
161
+ "learning_rate": 4.1076185402237614e-05,
162
+ "loss": 0.4976,
163
+ "step": 550
164
+ },
165
+ {
166
+ "epoch": 0.275647171620326,
167
+ "grad_norm": 93.14395141601562,
168
+ "learning_rate": 4.04368673415024e-05,
169
+ "loss": 0.6228,
170
+ "step": 575
171
+ },
172
+ {
173
+ "epoch": 0.28763183125599234,
174
+ "grad_norm": 12.689223289489746,
175
+ "learning_rate": 3.9770911028236554e-05,
176
+ "loss": 0.6831,
177
+ "step": 600
178
+ },
179
+ {
180
+ "epoch": 0.2996164908916587,
181
+ "grad_norm": 3.7985801696777344,
182
+ "learning_rate": 3.91049547149707e-05,
183
+ "loss": 0.9355,
184
+ "step": 625
185
+ },
186
+ {
187
+ "epoch": 0.311601150527325,
188
+ "grad_norm": 4.948027610778809,
189
+ "learning_rate": 3.843899840170485e-05,
190
+ "loss": 0.4708,
191
+ "step": 650
192
+ },
193
+ {
194
+ "epoch": 0.32358581016299137,
195
+ "grad_norm": 2.9941139221191406,
196
+ "learning_rate": 3.7773042088438995e-05,
197
+ "loss": 0.6471,
198
+ "step": 675
199
+ },
200
+ {
201
+ "epoch": 0.33557046979865773,
202
+ "grad_norm": 56.935447692871094,
203
+ "learning_rate": 3.7107085775173154e-05,
204
+ "loss": 0.7584,
205
+ "step": 700
206
+ },
207
+ {
208
+ "epoch": 0.34755512943432404,
209
+ "grad_norm": 68.4711685180664,
210
+ "learning_rate": 3.6441129461907305e-05,
211
+ "loss": 0.4402,
212
+ "step": 725
213
+ },
214
+ {
215
+ "epoch": 0.3595397890699904,
216
+ "grad_norm": 5.413974285125732,
217
+ "learning_rate": 3.577517314864145e-05,
218
+ "loss": 0.897,
219
+ "step": 750
220
+ },
221
+ {
222
+ "epoch": 0.37152444870565676,
223
+ "grad_norm": 55.57856750488281,
224
+ "learning_rate": 3.51092168353756e-05,
225
+ "loss": 0.6414,
226
+ "step": 775
227
+ },
228
+ {
229
+ "epoch": 0.3835091083413231,
230
+ "grad_norm": 2.719517230987549,
231
+ "learning_rate": 3.444326052210975e-05,
232
+ "loss": 0.8812,
233
+ "step": 800
234
+ },
235
+ {
236
+ "epoch": 0.39549376797698943,
237
+ "grad_norm": 76.24633026123047,
238
+ "learning_rate": 3.3777304208843905e-05,
239
+ "loss": 0.7965,
240
+ "step": 825
241
+ },
242
+ {
243
+ "epoch": 0.4074784276126558,
244
+ "grad_norm": 4.724920749664307,
245
+ "learning_rate": 3.311134789557806e-05,
246
+ "loss": 1.1703,
247
+ "step": 850
248
+ },
249
+ {
250
+ "epoch": 0.41946308724832215,
251
+ "grad_norm": 218.15879821777344,
252
+ "learning_rate": 3.24453915823122e-05,
253
+ "loss": 0.7672,
254
+ "step": 875
255
+ },
256
+ {
257
+ "epoch": 0.4314477468839885,
258
+ "grad_norm": 2.2168684005737305,
259
+ "learning_rate": 3.177943526904635e-05,
260
+ "loss": 0.7211,
261
+ "step": 900
262
+ },
263
+ {
264
+ "epoch": 0.4434324065196548,
265
+ "grad_norm": 4.2121148109436035,
266
+ "learning_rate": 3.11134789557805e-05,
267
+ "loss": 0.359,
268
+ "step": 925
269
+ },
270
+ {
271
+ "epoch": 0.4554170661553212,
272
+ "grad_norm": 6.157179355621338,
273
+ "learning_rate": 3.0447522642514653e-05,
274
+ "loss": 0.6215,
275
+ "step": 950
276
+ },
277
+ {
278
+ "epoch": 0.46740172579098754,
279
+ "grad_norm": 65.53479766845703,
280
+ "learning_rate": 2.97815663292488e-05,
281
+ "loss": 0.8941,
282
+ "step": 975
283
+ },
284
+ {
285
+ "epoch": 0.4793863854266539,
286
+ "grad_norm": 109.75424194335938,
287
+ "learning_rate": 2.9115610015982953e-05,
288
+ "loss": 1.164,
289
+ "step": 1000
290
+ },
291
+ {
292
+ "epoch": 0.4913710450623202,
293
+ "grad_norm": 2.563488483428955,
294
+ "learning_rate": 2.8449653702717105e-05,
295
+ "loss": 1.0481,
296
+ "step": 1025
297
+ },
298
+ {
299
+ "epoch": 0.5033557046979866,
300
+ "grad_norm": 107.44654083251953,
301
+ "learning_rate": 2.7783697389451253e-05,
302
+ "loss": 0.5872,
303
+ "step": 1050
304
+ },
305
+ {
306
+ "epoch": 0.5153403643336529,
307
+ "grad_norm": 2.5341882705688477,
308
+ "learning_rate": 2.7117741076185404e-05,
309
+ "loss": 0.9421,
310
+ "step": 1075
311
+ },
312
+ {
313
+ "epoch": 0.5273250239693192,
314
+ "grad_norm": 6.708165168762207,
315
+ "learning_rate": 2.6451784762919553e-05,
316
+ "loss": 0.6116,
317
+ "step": 1100
318
+ },
319
+ {
320
+ "epoch": 0.5393096836049857,
321
+ "grad_norm": 1.0671868324279785,
322
+ "learning_rate": 2.5785828449653704e-05,
323
+ "loss": 0.7756,
324
+ "step": 1125
325
+ },
326
+ {
327
+ "epoch": 0.551294343240652,
328
+ "grad_norm": 78.16886901855469,
329
+ "learning_rate": 2.5119872136387856e-05,
330
+ "loss": 1.1696,
331
+ "step": 1150
332
+ },
333
+ {
334
+ "epoch": 0.5632790028763183,
335
+ "grad_norm": 136.11036682128906,
336
+ "learning_rate": 2.4453915823122004e-05,
337
+ "loss": 0.9569,
338
+ "step": 1175
339
+ },
340
+ {
341
+ "epoch": 0.5752636625119847,
342
+ "grad_norm": 1.0577061176300049,
343
+ "learning_rate": 2.3787959509856156e-05,
344
+ "loss": 0.467,
345
+ "step": 1200
346
+ },
347
+ {
348
+ "epoch": 0.587248322147651,
349
+ "grad_norm": 0.9427183270454407,
350
+ "learning_rate": 2.3122003196590304e-05,
351
+ "loss": 1.3372,
352
+ "step": 1225
353
+ },
354
+ {
355
+ "epoch": 0.5992329817833174,
356
+ "grad_norm": 97.67792510986328,
357
+ "learning_rate": 2.2456046883324456e-05,
358
+ "loss": 0.864,
359
+ "step": 1250
360
+ },
361
+ {
362
+ "epoch": 0.6112176414189837,
363
+ "grad_norm": 2.7464029788970947,
364
+ "learning_rate": 2.1790090570058604e-05,
365
+ "loss": 0.7595,
366
+ "step": 1275
367
+ },
368
+ {
369
+ "epoch": 0.62320230105465,
370
+ "grad_norm": 95.08504486083984,
371
+ "learning_rate": 2.1124134256792756e-05,
372
+ "loss": 1.0773,
373
+ "step": 1300
374
+ },
375
+ {
376
+ "epoch": 0.6351869606903164,
377
+ "grad_norm": 1.0676350593566895,
378
+ "learning_rate": 2.0458177943526904e-05,
379
+ "loss": 1.1903,
380
+ "step": 1325
381
+ },
382
+ {
383
+ "epoch": 0.6471716203259827,
384
+ "grad_norm": 5.375354290008545,
385
+ "learning_rate": 1.9792221630261055e-05,
386
+ "loss": 1.1127,
387
+ "step": 1350
388
+ },
389
+ {
390
+ "epoch": 0.659156279961649,
391
+ "grad_norm": 1.794204592704773,
392
+ "learning_rate": 1.9126265316995207e-05,
393
+ "loss": 0.6351,
394
+ "step": 1375
395
+ },
396
+ {
397
+ "epoch": 0.6711409395973155,
398
+ "grad_norm": 0.9654992818832397,
399
+ "learning_rate": 1.8460309003729355e-05,
400
+ "loss": 0.7279,
401
+ "step": 1400
402
+ },
403
+ {
404
+ "epoch": 0.6831255992329818,
405
+ "grad_norm": 0.8633553385734558,
406
+ "learning_rate": 1.7794352690463507e-05,
407
+ "loss": 0.9018,
408
+ "step": 1425
409
+ },
410
+ {
411
+ "epoch": 0.6951102588686481,
412
+ "grad_norm": 77.58744812011719,
413
+ "learning_rate": 1.7128396377197655e-05,
414
+ "loss": 1.1306,
415
+ "step": 1450
416
+ },
417
+ {
418
+ "epoch": 0.7070949185043145,
419
+ "grad_norm": 1.456486701965332,
420
+ "learning_rate": 1.6462440063931807e-05,
421
+ "loss": 1.2435,
422
+ "step": 1475
423
+ },
424
+ {
425
+ "epoch": 0.7190795781399808,
426
+ "grad_norm": 79.47314453125,
427
+ "learning_rate": 1.5823122003196592e-05,
428
+ "loss": 1.0485,
429
+ "step": 1500
430
+ },
431
+ {
432
+ "epoch": 0.7310642377756472,
433
+ "grad_norm": 1.6162257194519043,
434
+ "learning_rate": 1.5157165689930742e-05,
435
+ "loss": 0.9324,
436
+ "step": 1525
437
+ },
438
+ {
439
+ "epoch": 0.7430488974113135,
440
+ "grad_norm": 156.02178955078125,
441
+ "learning_rate": 1.4491209376664892e-05,
442
+ "loss": 1.1623,
443
+ "step": 1550
444
+ },
445
+ {
446
+ "epoch": 0.7550335570469798,
447
+ "grad_norm": 129.96287536621094,
448
+ "learning_rate": 1.382525306339904e-05,
449
+ "loss": 1.6398,
450
+ "step": 1575
451
+ },
452
+ {
453
+ "epoch": 0.7670182166826462,
454
+ "grad_norm": 102.53872680664062,
455
+ "learning_rate": 1.3159296750133193e-05,
456
+ "loss": 1.8177,
457
+ "step": 1600
458
+ },
459
+ {
460
+ "epoch": 0.7790028763183126,
461
+ "grad_norm": 132.3037109375,
462
+ "learning_rate": 1.2493340436867341e-05,
463
+ "loss": 1.1434,
464
+ "step": 1625
465
+ },
466
+ {
467
+ "epoch": 0.7909875359539789,
468
+ "grad_norm": 114.42461395263672,
469
+ "learning_rate": 1.1827384123601493e-05,
470
+ "loss": 0.8654,
471
+ "step": 1650
472
+ },
473
+ {
474
+ "epoch": 0.8029721955896453,
475
+ "grad_norm": 3.2126619815826416,
476
+ "learning_rate": 1.1161427810335643e-05,
477
+ "loss": 1.2462,
478
+ "step": 1675
479
+ },
480
+ {
481
+ "epoch": 0.8149568552253116,
482
+ "grad_norm": 0.6572347283363342,
483
+ "learning_rate": 1.0495471497069791e-05,
484
+ "loss": 1.5831,
485
+ "step": 1700
486
+ },
487
+ {
488
+ "epoch": 0.826941514860978,
489
+ "grad_norm": 103.75675201416016,
490
+ "learning_rate": 9.829515183803943e-06,
491
+ "loss": 0.8005,
492
+ "step": 1725
493
+ },
494
+ {
495
+ "epoch": 0.8389261744966443,
496
+ "grad_norm": 80.1824722290039,
497
+ "learning_rate": 9.163558870538093e-06,
498
+ "loss": 1.4811,
499
+ "step": 1750
500
+ },
501
+ {
502
+ "epoch": 0.8509108341323106,
503
+ "grad_norm": 92.21504974365234,
504
+ "learning_rate": 8.497602557272244e-06,
505
+ "loss": 1.0397,
506
+ "step": 1775
507
+ },
508
+ {
509
+ "epoch": 0.862895493767977,
510
+ "grad_norm": 1.7870984077453613,
511
+ "learning_rate": 7.831646244006394e-06,
512
+ "loss": 1.3601,
513
+ "step": 1800
514
+ },
515
+ {
516
+ "epoch": 0.8748801534036433,
517
+ "grad_norm": 89.05985260009766,
518
+ "learning_rate": 7.1656899307405435e-06,
519
+ "loss": 0.6506,
520
+ "step": 1825
521
+ },
522
+ {
523
+ "epoch": 0.8868648130393096,
524
+ "grad_norm": 277.79034423828125,
525
+ "learning_rate": 6.499733617474694e-06,
526
+ "loss": 0.879,
527
+ "step": 1850
528
+ },
529
+ {
530
+ "epoch": 0.8988494726749761,
531
+ "grad_norm": 4.206939697265625,
532
+ "learning_rate": 5.833777304208844e-06,
533
+ "loss": 0.9588,
534
+ "step": 1875
535
+ },
536
+ {
537
+ "epoch": 0.9108341323106424,
538
+ "grad_norm": 0.783758819103241,
539
+ "learning_rate": 5.167820990942995e-06,
540
+ "loss": 1.0649,
541
+ "step": 1900
542
+ },
543
+ {
544
+ "epoch": 0.9228187919463087,
545
+ "grad_norm": 2.857933521270752,
546
+ "learning_rate": 4.501864677677144e-06,
547
+ "loss": 0.87,
548
+ "step": 1925
549
+ },
550
+ {
551
+ "epoch": 0.9348034515819751,
552
+ "grad_norm": 128.2999725341797,
553
+ "learning_rate": 3.835908364411295e-06,
554
+ "loss": 1.1402,
555
+ "step": 1950
556
+ },
557
+ {
558
+ "epoch": 0.9467881112176414,
559
+ "grad_norm": 73.04863739013672,
560
+ "learning_rate": 3.1699520511454453e-06,
561
+ "loss": 1.1813,
562
+ "step": 1975
563
+ },
564
+ {
565
+ "epoch": 0.9587727708533078,
566
+ "grad_norm": 1.8950786590576172,
567
+ "learning_rate": 2.503995737879595e-06,
568
+ "loss": 0.6842,
569
+ "step": 2000
570
+ },
571
+ {
572
+ "epoch": 0.9707574304889741,
573
+ "grad_norm": 60.83633041381836,
574
+ "learning_rate": 1.8380394246137453e-06,
575
+ "loss": 0.8301,
576
+ "step": 2025
577
+ },
578
+ {
579
+ "epoch": 0.9827420901246404,
580
+ "grad_norm": 118.53413391113281,
581
+ "learning_rate": 1.1720831113478957e-06,
582
+ "loss": 1.4424,
583
+ "step": 2050
584
+ },
585
+ {
586
+ "epoch": 0.9947267497603068,
587
+ "grad_norm": 0.6057926416397095,
588
+ "learning_rate": 5.061267980820459e-07,
589
+ "loss": 1.2756,
590
+ "step": 2075
591
+ },
592
+ {
593
+ "epoch": 1.0,
594
+ "eval_accuracy": 0.7432950191570882,
595
+ "eval_auc": 0.9095966687182644,
596
+ "eval_f1": 0.8527472527472527,
597
+ "eval_loss": 0.5226172208786011,
598
+ "eval_precision": 0.7432950191570882,
599
+ "eval_recall": 1.0,
600
+ "eval_runtime": 26.6212,
601
+ "eval_samples_per_second": 39.217,
602
+ "eval_steps_per_second": 9.804,
603
+ "step": 2086
604
+ }
605
+ ],
606
+ "logging_steps": 25,
607
+ "max_steps": 2086,
608
+ "num_input_tokens_seen": 0,
609
+ "num_train_epochs": 1,
610
+ "save_steps": 500,
611
+ "stateful_callbacks": {
612
+ "EarlyStoppingCallback": {
613
+ "args": {
614
+ "early_stopping_patience": 5,
615
+ "early_stopping_threshold": 0.01
616
+ },
617
+ "attributes": {
618
+ "early_stopping_patience_counter": 0
619
+ }
620
+ },
621
+ "TrainerControl": {
622
+ "args": {
623
+ "should_epoch_stop": false,
624
+ "should_evaluate": false,
625
+ "should_log": false,
626
+ "should_save": true,
627
+ "should_training_stop": true
628
+ },
629
+ "attributes": {}
630
+ }
631
+ },
632
+ "total_flos": 8.859410310094848e+16,
633
+ "train_batch_size": 2,
634
+ "trial_name": null,
635
+ "trial_params": null
636
+ }
checkpoint-2086/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08b5079cc2d679193026f183db75ca3485df7812b4c1a2b3c0eddc9c3f2a2137
3
+ size 5304
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "NORMAL",
25
+ "1": "PNEUMONIA"
26
+ },
27
+ "label2id": {
28
+ "NORMAL": 0,
29
+ "PNEUMONIA": 1
30
+ },
31
+ "layer_type": "bottleneck",
32
+ "model_type": "resnet",
33
+ "num_channels": 3,
34
+ "out_features": [
35
+ "stage4"
36
+ ],
37
+ "out_indices": [
38
+ 4
39
+ ],
40
+ "problem_type": "single_label_classification",
41
+ "stage_names": [
42
+ "stem",
43
+ "stage1",
44
+ "stage2",
45
+ "stage3",
46
+ "stage4"
47
+ ],
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.47.1"
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:144d0c6d0f6d14dfd6ad073f78c8eae42edf53b2adebb05bc31a120071c803a5
3
+ size 94302952
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }
runs/Dec27_00-18-28_63ccf294c69f/events.out.tfevents.1735258709.63ccf294c69f.20234.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:56b4290d835f4754c15c5053b07a5676584600d3f862b1842a84f01e3ee4d1a4
3
- size 4184
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f4264b21f463d4aefe3582a638d3e6bb297439d6d3fcd9247adcc4e1e602f73
3
+ size 23513
runs/Dec27_00-18-28_63ccf294c69f/events.out.tfevents.1735258952.63ccf294c69f.20234.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b83a7bd2a89b9b4c616fdffcbad3b8bf383cf78e38a2c70cf91a956a29a60561
3
+ size 607
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08b5079cc2d679193026f183db75ca3485df7812b4c1a2b3c0eddc9c3f2a2137
3
+ size 5304
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "pneumonia/autotrain-data",
3
+ "model": "microsoft/resnet-50",
4
+ "username": "Bastik22",
5
+ "lr": 5e-05,
6
+ "epochs": 1,
7
+ "batch_size": 2,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "logging_steps": -1,
18
+ "project_name": "pneumonia",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp16",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "eval_strategy": "epoch",
24
+ "image_column": "autotrain_image",
25
+ "target_column": "autotrain_label",
26
+ "log": "tensorboard",
27
+ "early_stopping_patience": 5,
28
+ "early_stopping_threshold": 0.01
29
+ }