Augusto777
commited on
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: MBZUAI/swiftformer-xs
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: swiftformer-xs-ve-U13-b-80d
|
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: validation
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 0.6739130434782609
|
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 |
+
# swiftformer-xs-ve-U13-b-80d
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [MBZUAI/swiftformer-xs](https://huggingface.co/MBZUAI/swiftformer-xs) on the imagefolder dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 1.0773
|
35 |
+
- Accuracy: 0.6739
|
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.0003
|
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.05
|
63 |
+
- num_epochs: 70
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| No log | 0.92 | 6 | 1.3848 | 0.2174 |
|
70 |
+
| 1.3838 | 2.0 | 13 | 1.3723 | 0.1957 |
|
71 |
+
| 1.3838 | 2.92 | 19 | 1.3540 | 0.1739 |
|
72 |
+
| 1.3023 | 4.0 | 26 | 1.3327 | 0.2391 |
|
73 |
+
| 1.1398 | 4.92 | 32 | 1.2555 | 0.2391 |
|
74 |
+
| 1.1398 | 6.0 | 39 | 1.3010 | 0.3913 |
|
75 |
+
| 1.0076 | 6.92 | 45 | 1.1957 | 0.5 |
|
76 |
+
| 0.8823 | 8.0 | 52 | 1.0565 | 0.5870 |
|
77 |
+
| 0.8823 | 8.92 | 58 | 0.9410 | 0.7391 |
|
78 |
+
| 0.7637 | 10.0 | 65 | 0.9274 | 0.7391 |
|
79 |
+
| 0.6688 | 10.92 | 71 | 0.8492 | 0.7826 |
|
80 |
+
| 0.6688 | 12.0 | 78 | 0.8906 | 0.6739 |
|
81 |
+
| 0.5855 | 12.92 | 84 | 0.8929 | 0.6522 |
|
82 |
+
| 0.4921 | 14.0 | 91 | 0.8338 | 0.7391 |
|
83 |
+
| 0.4921 | 14.92 | 97 | 0.7686 | 0.7826 |
|
84 |
+
| 0.4318 | 16.0 | 104 | 0.8430 | 0.7609 |
|
85 |
+
| 0.386 | 16.92 | 110 | 0.8315 | 0.7826 |
|
86 |
+
| 0.386 | 18.0 | 117 | 0.7669 | 0.8261 |
|
87 |
+
| 0.3483 | 18.92 | 123 | 0.8347 | 0.7174 |
|
88 |
+
| 0.3023 | 20.0 | 130 | 1.1037 | 0.6304 |
|
89 |
+
| 0.3023 | 20.92 | 136 | 0.9024 | 0.7174 |
|
90 |
+
| 0.2973 | 22.0 | 143 | 0.7760 | 0.7826 |
|
91 |
+
| 0.2973 | 22.92 | 149 | 0.7400 | 0.7826 |
|
92 |
+
| 0.2529 | 24.0 | 156 | 1.0058 | 0.7174 |
|
93 |
+
| 0.2086 | 24.92 | 162 | 0.9260 | 0.7609 |
|
94 |
+
| 0.2086 | 26.0 | 169 | 0.8370 | 0.7174 |
|
95 |
+
| 0.2265 | 26.92 | 175 | 0.8060 | 0.7391 |
|
96 |
+
| 0.1942 | 28.0 | 182 | 0.9812 | 0.6957 |
|
97 |
+
| 0.1942 | 28.92 | 188 | 0.8996 | 0.7391 |
|
98 |
+
| 0.1708 | 30.0 | 195 | 0.9630 | 0.6957 |
|
99 |
+
| 0.1747 | 30.92 | 201 | 0.9691 | 0.7174 |
|
100 |
+
| 0.1747 | 32.0 | 208 | 1.0017 | 0.7391 |
|
101 |
+
| 0.1461 | 32.92 | 214 | 0.9965 | 0.6957 |
|
102 |
+
| 0.1457 | 34.0 | 221 | 0.9506 | 0.7391 |
|
103 |
+
| 0.1457 | 34.92 | 227 | 0.9834 | 0.7391 |
|
104 |
+
| 0.1814 | 36.0 | 234 | 1.0191 | 0.7609 |
|
105 |
+
| 0.1383 | 36.92 | 240 | 0.8807 | 0.7609 |
|
106 |
+
| 0.1383 | 38.0 | 247 | 0.8724 | 0.7609 |
|
107 |
+
| 0.1718 | 38.92 | 253 | 0.8090 | 0.7391 |
|
108 |
+
| 0.1289 | 40.0 | 260 | 0.8709 | 0.7609 |
|
109 |
+
| 0.1289 | 40.92 | 266 | 0.9704 | 0.7391 |
|
110 |
+
| 0.1193 | 42.0 | 273 | 1.0518 | 0.7391 |
|
111 |
+
| 0.1193 | 42.92 | 279 | 1.0157 | 0.7174 |
|
112 |
+
| 0.1224 | 44.0 | 286 | 1.0794 | 0.7391 |
|
113 |
+
| 0.1104 | 44.92 | 292 | 1.0402 | 0.7391 |
|
114 |
+
| 0.1104 | 46.0 | 299 | 0.9837 | 0.7609 |
|
115 |
+
| 0.1055 | 46.92 | 305 | 1.0323 | 0.7174 |
|
116 |
+
| 0.1242 | 48.0 | 312 | 0.9907 | 0.7391 |
|
117 |
+
| 0.1242 | 48.92 | 318 | 1.0436 | 0.7609 |
|
118 |
+
| 0.1283 | 50.0 | 325 | 0.9829 | 0.7391 |
|
119 |
+
| 0.1035 | 50.92 | 331 | 1.0400 | 0.7174 |
|
120 |
+
| 0.1035 | 52.0 | 338 | 1.0414 | 0.7174 |
|
121 |
+
| 0.1066 | 52.92 | 344 | 1.0958 | 0.6957 |
|
122 |
+
| 0.0863 | 54.0 | 351 | 1.0914 | 0.7174 |
|
123 |
+
| 0.0863 | 54.92 | 357 | 1.0816 | 0.7174 |
|
124 |
+
| 0.1062 | 56.0 | 364 | 1.0087 | 0.7174 |
|
125 |
+
| 0.1214 | 56.92 | 370 | 1.0454 | 0.7391 |
|
126 |
+
| 0.1214 | 58.0 | 377 | 1.0324 | 0.7391 |
|
127 |
+
| 0.0984 | 58.92 | 383 | 1.0591 | 0.6739 |
|
128 |
+
| 0.0966 | 60.0 | 390 | 1.0037 | 0.6957 |
|
129 |
+
| 0.0966 | 60.92 | 396 | 0.9887 | 0.6957 |
|
130 |
+
| 0.0626 | 62.0 | 403 | 1.0294 | 0.6739 |
|
131 |
+
| 0.0626 | 62.92 | 409 | 0.9939 | 0.7174 |
|
132 |
+
| 0.085 | 64.0 | 416 | 0.9886 | 0.6957 |
|
133 |
+
| 0.068 | 64.62 | 420 | 1.0773 | 0.6739 |
|
134 |
+
|
135 |
+
|
136 |
+
### Framework versions
|
137 |
+
|
138 |
+
- Transformers 4.36.2
|
139 |
+
- Pytorch 2.1.2+cu118
|
140 |
+
- Datasets 2.16.1
|
141 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 12203648
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1be2092ba7d8f155ca9ff2d42332df97533fd9159224a85dacdf3d13a34ff2c5
|
3 |
size 12203648
|
runs/Jun12_16-54-21_DESKTOP-SKBE9FB/events.out.tfevents.1718232862.DESKTOP-SKBE9FB.13132.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b10b62704bfee853cb9af01e666accaa89064e33926dca9f345b69b76458dc1
|
3 |
+
size 32360
|