sbottazziunsam commited on
Commit
eaa4fd8
1 Parent(s): 8907754

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: 6-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.7990439256526214
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
+ # 6-classifier-finetuned-padchest
31
+
32
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.6407
35
+ - F1: 0.7990
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.0829 | 1.0 | 18 | 2.0240 | 0.1072 |
70
+ | 1.9599 | 2.0 | 36 | 1.8375 | 0.3757 |
71
+ | 1.725 | 3.0 | 54 | 1.5851 | 0.4462 |
72
+ | 1.5014 | 4.0 | 72 | 1.3785 | 0.4928 |
73
+ | 1.3135 | 5.0 | 90 | 1.2678 | 0.5368 |
74
+ | 1.2446 | 6.0 | 108 | 1.1646 | 0.6053 |
75
+ | 1.1576 | 7.0 | 126 | 1.1553 | 0.5554 |
76
+ | 1.0868 | 8.0 | 144 | 1.0353 | 0.6231 |
77
+ | 1.0121 | 9.0 | 162 | 1.0081 | 0.6435 |
78
+ | 0.988 | 10.0 | 180 | 0.9306 | 0.6951 |
79
+ | 0.9663 | 11.0 | 198 | 0.9062 | 0.7062 |
80
+ | 0.8709 | 12.0 | 216 | 0.8939 | 0.6950 |
81
+ | 0.8891 | 13.0 | 234 | 0.8283 | 0.7371 |
82
+ | 0.843 | 14.0 | 252 | 0.7945 | 0.7482 |
83
+ | 0.8339 | 15.0 | 270 | 0.8384 | 0.7236 |
84
+ | 0.8029 | 16.0 | 288 | 0.8167 | 0.7426 |
85
+ | 0.777 | 17.0 | 306 | 0.7842 | 0.7659 |
86
+ | 0.7592 | 18.0 | 324 | 0.8064 | 0.7427 |
87
+ | 0.7052 | 19.0 | 342 | 0.7804 | 0.7553 |
88
+ | 0.7556 | 20.0 | 360 | 0.7332 | 0.7851 |
89
+ | 0.688 | 21.0 | 378 | 0.7643 | 0.7676 |
90
+ | 0.7216 | 22.0 | 396 | 0.7391 | 0.7623 |
91
+ | 0.6434 | 23.0 | 414 | 0.6996 | 0.7869 |
92
+ | 0.6673 | 24.0 | 432 | 0.7297 | 0.7775 |
93
+ | 0.6474 | 25.0 | 450 | 0.7006 | 0.7807 |
94
+ | 0.6352 | 26.0 | 468 | 0.7134 | 0.7778 |
95
+ | 0.6068 | 27.0 | 486 | 0.7377 | 0.7776 |
96
+ | 0.5942 | 28.0 | 504 | 0.6723 | 0.8089 |
97
+ | 0.5945 | 29.0 | 522 | 0.6686 | 0.7941 |
98
+ | 0.603 | 30.0 | 540 | 0.6667 | 0.7809 |
99
+ | 0.5974 | 31.0 | 558 | 0.6698 | 0.7946 |
100
+ | 0.5743 | 32.0 | 576 | 0.6531 | 0.8090 |
101
+ | 0.5663 | 33.0 | 594 | 0.6756 | 0.8013 |
102
+ | 0.5583 | 34.0 | 612 | 0.6535 | 0.8025 |
103
+ | 0.5199 | 35.0 | 630 | 0.6542 | 0.7936 |
104
+ | 0.5851 | 36.0 | 648 | 0.6595 | 0.7956 |
105
+ | 0.5105 | 37.0 | 666 | 0.6784 | 0.7886 |
106
+ | 0.4947 | 38.0 | 684 | 0.6625 | 0.8002 |
107
+ | 0.5197 | 39.0 | 702 | 0.6637 | 0.7975 |
108
+ | 0.514 | 40.0 | 720 | 0.6527 | 0.7925 |
109
+ | 0.4949 | 41.0 | 738 | 0.6482 | 0.7992 |
110
+ | 0.5047 | 42.0 | 756 | 0.6427 | 0.8036 |
111
+ | 0.5058 | 43.0 | 774 | 0.6437 | 0.8052 |
112
+ | 0.4645 | 44.0 | 792 | 0.6324 | 0.8062 |
113
+ | 0.4411 | 45.0 | 810 | 0.6481 | 0.8052 |
114
+ | 0.4602 | 46.0 | 828 | 0.6460 | 0.8037 |
115
+ | 0.4265 | 47.0 | 846 | 0.6505 | 0.8036 |
116
+ | 0.4945 | 48.0 | 864 | 0.6467 | 0.7991 |
117
+ | 0.4794 | 49.0 | 882 | 0.6388 | 0.8084 |
118
+ | 0.442 | 50.0 | 900 | 0.6407 | 0.7990 |
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