sbottazziunsam commited on
Commit
25b4f85
1 Parent(s): dd36b25

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
+ - accuracy
9
+ model-index:
10
+ - name: 5-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: Accuracy
23
+ type: accuracy
24
+ value: 0.7643504531722054
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
+ # 5-classifier-finetuned-padchest
31
+
32
+ This model is a fine-tuned version of [nickmuchi/vit-finetuned-chest-xray-pneumonia](https://huggingface.co/nickmuchi/vit-finetuned-chest-xray-pneumonia) on the imagefolder dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.7307
35
+ - Accuracy: 0.7644
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 | Accuracy |
68
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
69
+ | 2.0492 | 1.0 | 16 | 1.9604 | 0.3142 |
70
+ | 1.8545 | 2.0 | 32 | 1.7361 | 0.4079 |
71
+ | 1.724 | 3.0 | 48 | 1.5064 | 0.5166 |
72
+ | 1.4761 | 4.0 | 64 | 1.3116 | 0.5710 |
73
+ | 1.3215 | 5.0 | 80 | 1.2030 | 0.6344 |
74
+ | 1.2325 | 6.0 | 96 | 1.0904 | 0.6254 |
75
+ | 1.124 | 7.0 | 112 | 1.0145 | 0.6677 |
76
+ | 1.0516 | 8.0 | 128 | 0.9864 | 0.6707 |
77
+ | 0.9858 | 9.0 | 144 | 0.9372 | 0.6767 |
78
+ | 0.9518 | 10.0 | 160 | 0.9161 | 0.6949 |
79
+ | 0.9612 | 11.0 | 176 | 0.8916 | 0.6949 |
80
+ | 0.8994 | 12.0 | 192 | 0.8579 | 0.7069 |
81
+ | 0.8194 | 13.0 | 208 | 0.8281 | 0.7100 |
82
+ | 0.8141 | 14.0 | 224 | 0.8064 | 0.7341 |
83
+ | 0.8056 | 15.0 | 240 | 0.8272 | 0.7221 |
84
+ | 0.7953 | 16.0 | 256 | 0.7751 | 0.7251 |
85
+ | 0.7679 | 17.0 | 272 | 0.7638 | 0.7523 |
86
+ | 0.7262 | 18.0 | 288 | 0.7867 | 0.7432 |
87
+ | 0.7302 | 19.0 | 304 | 0.7835 | 0.7311 |
88
+ | 0.7237 | 20.0 | 320 | 0.7698 | 0.7492 |
89
+ | 0.6496 | 21.0 | 336 | 0.7618 | 0.7523 |
90
+ | 0.6708 | 22.0 | 352 | 0.7595 | 0.7492 |
91
+ | 0.6719 | 23.0 | 368 | 0.7455 | 0.7553 |
92
+ | 0.6361 | 24.0 | 384 | 0.7993 | 0.7221 |
93
+ | 0.6125 | 25.0 | 400 | 0.7372 | 0.7432 |
94
+ | 0.6392 | 26.0 | 416 | 0.7321 | 0.7613 |
95
+ | 0.6175 | 27.0 | 432 | 0.7310 | 0.7704 |
96
+ | 0.5613 | 28.0 | 448 | 0.7244 | 0.7462 |
97
+ | 0.5831 | 29.0 | 464 | 0.7535 | 0.7523 |
98
+ | 0.5892 | 30.0 | 480 | 0.7299 | 0.7583 |
99
+ | 0.5259 | 31.0 | 496 | 0.7211 | 0.7674 |
100
+ | 0.5553 | 32.0 | 512 | 0.7564 | 0.7341 |
101
+ | 0.5497 | 33.0 | 528 | 0.7233 | 0.7704 |
102
+ | 0.5699 | 34.0 | 544 | 0.7314 | 0.7523 |
103
+ | 0.5263 | 35.0 | 560 | 0.7334 | 0.7583 |
104
+ | 0.4953 | 36.0 | 576 | 0.6991 | 0.7674 |
105
+ | 0.5029 | 37.0 | 592 | 0.7191 | 0.7674 |
106
+ | 0.5253 | 38.0 | 608 | 0.7233 | 0.7704 |
107
+ | 0.4657 | 39.0 | 624 | 0.7204 | 0.7644 |
108
+ | 0.498 | 40.0 | 640 | 0.7236 | 0.7674 |
109
+ | 0.4768 | 41.0 | 656 | 0.7242 | 0.7734 |
110
+ | 0.5016 | 42.0 | 672 | 0.7405 | 0.7553 |
111
+ | 0.4774 | 43.0 | 688 | 0.7363 | 0.7674 |
112
+ | 0.4859 | 44.0 | 704 | 0.7208 | 0.7734 |
113
+ | 0.4628 | 45.0 | 720 | 0.7393 | 0.7674 |
114
+ | 0.4515 | 46.0 | 736 | 0.7078 | 0.7734 |
115
+ | 0.4297 | 47.0 | 752 | 0.7287 | 0.7674 |
116
+ | 0.4023 | 48.0 | 768 | 0.7138 | 0.7734 |
117
+ | 0.4404 | 49.0 | 784 | 0.7272 | 0.7674 |
118
+ | 0.4236 | 50.0 | 800 | 0.7307 | 0.7644 |
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