sbottazziunsam commited on
Commit
7e32391
1 Parent(s): d4d8370

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +126 -0
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - imagefolder
7
+ metrics:
8
+ - f1
9
+ model-index:
10
+ - name: 10-classifier-finetuned-padchest
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ dataset:
16
+ name: imagefolder
17
+ type: imagefolder
18
+ config: default
19
+ split: train
20
+ args: default
21
+ metrics:
22
+ - name: F1
23
+ type: f1
24
+ value: 0.9061888902800384
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ # 10-classifier-finetuned-padchest
31
+
32
+ This model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) on the imagefolder dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.2197
35
+ - F1: 0.9062
36
+
37
+ ## Model description
38
+
39
+ More information needed
40
+
41
+ ## Intended uses & limitations
42
+
43
+ More information needed
44
+
45
+ ## Training and evaluation data
46
+
47
+ More information needed
48
+
49
+ ## Training procedure
50
+
51
+ ### Training hyperparameters
52
+
53
+ The following hyperparameters were used during training:
54
+ - learning_rate: 5e-05
55
+ - train_batch_size: 32
56
+ - eval_batch_size: 32
57
+ - seed: 42
58
+ - gradient_accumulation_steps: 4
59
+ - total_train_batch_size: 128
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - lr_scheduler_warmup_ratio: 0.1
63
+ - num_epochs: 50
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | F1 |
68
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
69
+ | 0.7175 | 1.0 | 18 | 0.6978 | 0.5508 |
70
+ | 0.6996 | 2.0 | 36 | 0.6699 | 0.7605 |
71
+ | 0.659 | 3.0 | 54 | 0.6291 | 0.8044 |
72
+ | 0.5937 | 4.0 | 72 | 0.5778 | 0.7920 |
73
+ | 0.5124 | 5.0 | 90 | 0.5113 | 0.7934 |
74
+ | 0.4668 | 6.0 | 108 | 0.4066 | 0.7934 |
75
+ | 0.4079 | 7.0 | 126 | 0.4105 | 0.7934 |
76
+ | 0.363 | 8.0 | 144 | 0.3652 | 0.7934 |
77
+ | 0.337 | 9.0 | 162 | 0.3410 | 0.7934 |
78
+ | 0.3172 | 10.0 | 180 | 0.3272 | 0.7934 |
79
+ | 0.3082 | 11.0 | 198 | 0.2930 | 0.7934 |
80
+ | 0.2967 | 12.0 | 216 | 0.2814 | 0.7934 |
81
+ | 0.2889 | 13.0 | 234 | 0.2665 | 0.7934 |
82
+ | 0.2636 | 14.0 | 252 | 0.2846 | 0.7934 |
83
+ | 0.2694 | 15.0 | 270 | 0.2610 | 0.7934 |
84
+ | 0.2663 | 16.0 | 288 | 0.2828 | 0.7934 |
85
+ | 0.2573 | 17.0 | 306 | 0.2615 | 0.7934 |
86
+ | 0.2558 | 18.0 | 324 | 0.2606 | 0.7934 |
87
+ | 0.2492 | 19.0 | 342 | 0.2532 | 0.7934 |
88
+ | 0.2513 | 20.0 | 360 | 0.2559 | 0.7934 |
89
+ | 0.2429 | 21.0 | 378 | 0.2497 | 0.7934 |
90
+ | 0.2361 | 22.0 | 396 | 0.2412 | 0.7934 |
91
+ | 0.2423 | 23.0 | 414 | 0.2494 | 0.8235 |
92
+ | 0.2479 | 24.0 | 432 | 0.2446 | 0.8290 |
93
+ | 0.2237 | 25.0 | 450 | 0.2425 | 0.8428 |
94
+ | 0.2282 | 26.0 | 468 | 0.2446 | 0.8573 |
95
+ | 0.2343 | 27.0 | 486 | 0.2348 | 0.8344 |
96
+ | 0.2169 | 28.0 | 504 | 0.2358 | 0.8547 |
97
+ | 0.2169 | 29.0 | 522 | 0.2400 | 0.8622 |
98
+ | 0.2341 | 30.0 | 540 | 0.2342 | 0.8579 |
99
+ | 0.2241 | 31.0 | 558 | 0.2266 | 0.8511 |
100
+ | 0.2132 | 32.0 | 576 | 0.2250 | 0.8662 |
101
+ | 0.2155 | 33.0 | 594 | 0.2222 | 0.8485 |
102
+ | 0.2014 | 34.0 | 612 | 0.2279 | 0.8659 |
103
+ | 0.2033 | 35.0 | 630 | 0.2296 | 0.8886 |
104
+ | 0.1993 | 36.0 | 648 | 0.2252 | 0.8909 |
105
+ | 0.228 | 37.0 | 666 | 0.2226 | 0.8742 |
106
+ | 0.2292 | 38.0 | 684 | 0.2274 | 0.9030 |
107
+ | 0.202 | 39.0 | 702 | 0.2307 | 0.8997 |
108
+ | 0.2133 | 40.0 | 720 | 0.2244 | 0.8977 |
109
+ | 0.214 | 41.0 | 738 | 0.2281 | 0.9053 |
110
+ | 0.2203 | 42.0 | 756 | 0.2251 | 0.9020 |
111
+ | 0.2071 | 43.0 | 774 | 0.2214 | 0.8848 |
112
+ | 0.2125 | 44.0 | 792 | 0.2196 | 0.8932 |
113
+ | 0.2137 | 45.0 | 810 | 0.2187 | 0.8811 |
114
+ | 0.2073 | 46.0 | 828 | 0.2183 | 0.9020 |
115
+ | 0.2119 | 47.0 | 846 | 0.2185 | 0.9109 |
116
+ | 0.2018 | 48.0 | 864 | 0.2199 | 0.8943 |
117
+ | 0.1971 | 49.0 | 882 | 0.2211 | 0.9053 |
118
+ | 0.2079 | 50.0 | 900 | 0.2197 | 0.9062 |
119
+
120
+
121
+ ### Framework versions
122
+
123
+ - Transformers 4.28.0.dev0
124
+ - Pytorch 2.0.0+cu117
125
+ - Datasets 2.18.0
126
+ - Tokenizers 0.13.3