sbottazziunsam commited on
Commit
6fa4a21
1 Parent(s): 901d513

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: 9-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.9562502564102563
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
+ # 9-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.1585
35
+ - F1: 0.9563
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
+ | 2.5332 | 1.0 | 18 | 0.5695 | 0.7920 |
70
+ | 0.4488 | 2.0 | 36 | 0.3419 | 0.7934 |
71
+ | 0.3259 | 3.0 | 54 | 0.2451 | 0.7934 |
72
+ | 0.2795 | 4.0 | 72 | 0.1954 | 0.9443 |
73
+ | 0.2348 | 5.0 | 90 | 0.1698 | 0.9343 |
74
+ | 0.1937 | 6.0 | 108 | 0.1829 | 0.9297 |
75
+ | 0.1851 | 7.0 | 126 | 0.1484 | 0.9454 |
76
+ | 0.1925 | 8.0 | 144 | 0.1330 | 0.9545 |
77
+ | 0.1614 | 9.0 | 162 | 0.1403 | 0.9387 |
78
+ | 0.1734 | 10.0 | 180 | 0.1221 | 0.9531 |
79
+ | 0.1697 | 11.0 | 198 | 0.1142 | 0.9524 |
80
+ | 0.1824 | 12.0 | 216 | 0.1129 | 0.9586 |
81
+ | 0.1336 | 13.0 | 234 | 0.1369 | 0.9441 |
82
+ | 0.1596 | 14.0 | 252 | 0.1181 | 0.9540 |
83
+ | 0.1474 | 15.0 | 270 | 0.1116 | 0.9646 |
84
+ | 0.1256 | 16.0 | 288 | 0.1035 | 0.9598 |
85
+ | 0.1398 | 17.0 | 306 | 0.1195 | 0.9519 |
86
+ | 0.1219 | 18.0 | 324 | 0.1123 | 0.9588 |
87
+ | 0.1114 | 19.0 | 342 | 0.1126 | 0.9586 |
88
+ | 0.1089 | 20.0 | 360 | 0.1083 | 0.9584 |
89
+ | 0.1123 | 21.0 | 378 | 0.1038 | 0.9554 |
90
+ | 0.1241 | 22.0 | 396 | 0.0927 | 0.9657 |
91
+ | 0.099 | 23.0 | 414 | 0.1397 | 0.9559 |
92
+ | 0.1025 | 24.0 | 432 | 0.1201 | 0.9584 |
93
+ | 0.1088 | 25.0 | 450 | 0.0894 | 0.9627 |
94
+ | 0.0953 | 26.0 | 468 | 0.1083 | 0.9632 |
95
+ | 0.0953 | 27.0 | 486 | 0.1061 | 0.9592 |
96
+ | 0.0831 | 28.0 | 504 | 0.1129 | 0.9570 |
97
+ | 0.0836 | 29.0 | 522 | 0.1123 | 0.9598 |
98
+ | 0.0705 | 30.0 | 540 | 0.1611 | 0.9499 |
99
+ | 0.1047 | 31.0 | 558 | 0.1191 | 0.9570 |
100
+ | 0.0803 | 32.0 | 576 | 0.1440 | 0.9563 |
101
+ | 0.0852 | 33.0 | 594 | 0.1149 | 0.9541 |
102
+ | 0.0588 | 34.0 | 612 | 0.1830 | 0.9489 |
103
+ | 0.0701 | 35.0 | 630 | 0.1475 | 0.9592 |
104
+ | 0.0607 | 36.0 | 648 | 0.1350 | 0.9627 |
105
+ | 0.0749 | 37.0 | 666 | 0.1389 | 0.9563 |
106
+ | 0.073 | 38.0 | 684 | 0.1463 | 0.9559 |
107
+ | 0.0579 | 39.0 | 702 | 0.1289 | 0.9595 |
108
+ | 0.0757 | 40.0 | 720 | 0.1585 | 0.9584 |
109
+ | 0.0538 | 41.0 | 738 | 0.1565 | 0.9588 |
110
+ | 0.0461 | 42.0 | 756 | 0.1630 | 0.9559 |
111
+ | 0.072 | 43.0 | 774 | 0.1704 | 0.9554 |
112
+ | 0.0517 | 44.0 | 792 | 0.1657 | 0.9559 |
113
+ | 0.0524 | 45.0 | 810 | 0.1358 | 0.9570 |
114
+ | 0.0569 | 46.0 | 828 | 0.1538 | 0.9533 |
115
+ | 0.0506 | 47.0 | 846 | 0.1579 | 0.9588 |
116
+ | 0.0506 | 48.0 | 864 | 0.1505 | 0.9566 |
117
+ | 0.0538 | 49.0 | 882 | 0.1593 | 0.9588 |
118
+ | 0.0532 | 50.0 | 900 | 0.1585 | 0.9563 |
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