omarhkh commited on
Commit
4ee83d2
1 Parent(s): c4d55f2

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +106 -0
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: swin-tiny-patch4-window7-224-finetuned-omars6
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.8814589665653495
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
+ # swin-tiny-patch4-window7-224-finetuned-omars6
31
+
32
+ This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.5625
35
+ - Accuracy: 0.8815
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: 0.0005
55
+ - train_batch_size: 8
56
+ - eval_batch_size: 8
57
+ - seed: 42
58
+ - gradient_accumulation_steps: 4
59
+ - total_train_batch_size: 32
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: 30
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
69
+ | 0.9598 | 0.99 | 92 | 0.7744 | 0.6869 |
70
+ | 0.7825 | 2.0 | 185 | 0.7336 | 0.7082 |
71
+ | 0.9638 | 2.99 | 277 | 0.8202 | 0.7204 |
72
+ | 1.0288 | 4.0 | 370 | 0.8621 | 0.7903 |
73
+ | 0.9711 | 4.99 | 462 | 0.8212 | 0.6809 |
74
+ | 1.0125 | 6.0 | 555 | 0.8700 | 0.7356 |
75
+ | 0.945 | 6.99 | 647 | 0.7959 | 0.7781 |
76
+ | 0.9851 | 8.0 | 740 | 0.8755 | 0.6140 |
77
+ | 0.8078 | 8.99 | 832 | 0.6970 | 0.7781 |
78
+ | 0.7377 | 10.0 | 925 | 0.6063 | 0.7386 |
79
+ | 0.7934 | 10.99 | 1017 | 0.6121 | 0.8116 |
80
+ | 0.7986 | 12.0 | 1110 | 0.6532 | 0.8116 |
81
+ | 0.6129 | 12.99 | 1202 | 0.7250 | 0.8450 |
82
+ | 0.7428 | 14.0 | 1295 | 0.6417 | 0.7264 |
83
+ | 0.5661 | 14.99 | 1387 | 0.6847 | 0.7964 |
84
+ | 0.6631 | 16.0 | 1480 | 0.5470 | 0.8298 |
85
+ | 0.5787 | 16.99 | 1572 | 0.5696 | 0.8359 |
86
+ | 0.6635 | 18.0 | 1665 | 0.6385 | 0.7872 |
87
+ | 0.5251 | 18.99 | 1757 | 0.5842 | 0.8419 |
88
+ | 0.6164 | 20.0 | 1850 | 0.5506 | 0.8207 |
89
+ | 0.4166 | 20.99 | 1942 | 0.8169 | 0.8055 |
90
+ | 0.4189 | 22.0 | 2035 | 0.5882 | 0.8480 |
91
+ | 0.699 | 22.99 | 2127 | 0.5767 | 0.8541 |
92
+ | 0.6095 | 24.0 | 2220 | 0.6392 | 0.8845 |
93
+ | 0.3837 | 24.99 | 2312 | 0.6109 | 0.8723 |
94
+ | 0.4916 | 26.0 | 2405 | 0.4862 | 0.8754 |
95
+ | 0.4536 | 26.99 | 2497 | 0.5625 | 0.8754 |
96
+ | 0.3636 | 28.0 | 2590 | 0.5948 | 0.8663 |
97
+ | 0.4004 | 28.99 | 2682 | 0.5735 | 0.8906 |
98
+ | 0.4248 | 29.84 | 2760 | 0.5625 | 0.8815 |
99
+
100
+
101
+ ### Framework versions
102
+
103
+ - Transformers 4.30.2
104
+ - Pytorch 2.0.1+cu117
105
+ - Datasets 2.13.0
106
+ - Tokenizers 0.13.3