Augusto777
commited on
Commit
•
9cd35a2
1
Parent(s):
11a9628
Model save
Browse files
README.md
CHANGED
@@ -21,7 +21,7 @@ model-index:
|
|
21 |
metrics:
|
22 |
- name: Accuracy
|
23 |
type: accuracy
|
24 |
-
value: 0.
|
25 |
---
|
26 |
|
27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -31,8 +31,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
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: 0.
|
35 |
-
- Accuracy: 0.
|
36 |
|
37 |
## Model description
|
38 |
|
@@ -51,7 +51,7 @@ More information needed
|
|
51 |
### Training hyperparameters
|
52 |
|
53 |
The following hyperparameters were used during training:
|
54 |
-
- learning_rate: 0.
|
55 |
- train_batch_size: 32
|
56 |
- eval_batch_size: 32
|
57 |
- seed: 42
|
@@ -60,105 +60,86 @@ The following hyperparameters were used during training:
|
|
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:
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
-
| No log | 0.92 | 6 | 1.
|
70 |
-
| 1.
|
71 |
-
| 1.
|
72 |
-
| 1.
|
73 |
-
| 1.
|
74 |
-
| 1.
|
75 |
-
| 1.
|
76 |
-
| 1.
|
77 |
-
| 1.
|
78 |
-
| 0.
|
79 |
-
| 0.
|
80 |
-
| 0.
|
81 |
-
| 0.
|
82 |
-
| 0.
|
83 |
-
| 0.
|
84 |
-
| 0.
|
85 |
-
| 0.
|
86 |
-
| 0.
|
87 |
-
| 0.
|
88 |
-
| 0.
|
89 |
-
| 0.
|
90 |
-
| 0.
|
91 |
-
| 0.
|
92 |
-
| 0.
|
93 |
-
| 0.
|
94 |
-
| 0.
|
95 |
-
| 0.
|
96 |
-
| 0.
|
97 |
-
| 0.
|
98 |
-
| 0.
|
99 |
-
| 0.
|
100 |
-
| 0.
|
101 |
-
| 0.
|
102 |
-
| 0.
|
103 |
-
| 0.
|
104 |
-
| 0.
|
105 |
-
| 0.
|
106 |
-
| 0.
|
107 |
-
| 0.
|
108 |
-
| 0.
|
109 |
-
| 0.
|
110 |
-
| 0.
|
111 |
-
| 0.
|
112 |
-
| 0.
|
113 |
-
| 0.
|
114 |
-
| 0.
|
115 |
-
| 0.
|
116 |
-
| 0.
|
117 |
-
| 0.
|
118 |
-
| 0.
|
119 |
-
| 0.
|
120 |
-
| 0.
|
121 |
-
| 0.
|
122 |
-
| 0.
|
123 |
-
| 0.
|
124 |
-
| 0.
|
125 |
-
| 0.
|
126 |
-
| 0.
|
127 |
-
| 0.
|
128 |
-
| 0.
|
129 |
-
| 0.
|
130 |
-
| 0.
|
131 |
-
| 0.
|
132 |
-
| 0.
|
133 |
-
| 0.
|
134 |
-
| 0.
|
135 |
-
| 0.
|
136 |
-
| 0.
|
137 |
-
| 0.
|
138 |
-
| 0.
|
139 |
-
| 0.
|
140 |
-
| 0.
|
141 |
-
| 0.
|
142 |
-
| 0.
|
143 |
-
| 0.06 | 74.92 | 487 | 1.0484 | 0.6957 |
|
144 |
-
| 0.0746 | 76.0 | 494 | 0.9999 | 0.7174 |
|
145 |
-
| 0.0687 | 76.92 | 500 | 0.9937 | 0.7174 |
|
146 |
-
| 0.0687 | 78.0 | 507 | 1.1189 | 0.6957 |
|
147 |
-
| 0.0761 | 78.92 | 513 | 1.1013 | 0.6957 |
|
148 |
-
| 0.0729 | 80.0 | 520 | 1.0294 | 0.6957 |
|
149 |
-
| 0.0729 | 80.92 | 526 | 1.0860 | 0.7174 |
|
150 |
-
| 0.0472 | 82.0 | 533 | 1.0327 | 0.7174 |
|
151 |
-
| 0.0472 | 82.92 | 539 | 1.0225 | 0.7174 |
|
152 |
-
| 0.0519 | 84.0 | 546 | 1.1345 | 0.6957 |
|
153 |
-
| 0.0688 | 84.92 | 552 | 1.0923 | 0.6957 |
|
154 |
-
| 0.0688 | 86.0 | 559 | 1.0876 | 0.7174 |
|
155 |
-
| 0.0462 | 86.92 | 565 | 1.0740 | 0.6957 |
|
156 |
-
| 0.0457 | 88.0 | 572 | 1.1074 | 0.6957 |
|
157 |
-
| 0.0457 | 88.92 | 578 | 1.0777 | 0.6957 |
|
158 |
-
| 0.0482 | 90.0 | 585 | 1.0495 | 0.7391 |
|
159 |
-
| 0.0464 | 90.92 | 591 | 1.0395 | 0.7174 |
|
160 |
-
| 0.0464 | 92.0 | 598 | 1.1446 | 0.7174 |
|
161 |
-
| 0.0578 | 92.31 | 600 | 1.0596 | 0.6957 |
|
162 |
|
163 |
|
164 |
### Framework versions
|
|
|
21 |
metrics:
|
22 |
- name: Accuracy
|
23 |
type: accuracy
|
24 |
+
value: 0.717391304347826
|
25 |
---
|
26 |
|
27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
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: 0.7888
|
35 |
+
- Accuracy: 0.7174
|
36 |
|
37 |
## Model description
|
38 |
|
|
|
51 |
### Training hyperparameters
|
52 |
|
53 |
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 0.0002
|
55 |
- train_batch_size: 32
|
56 |
- eval_batch_size: 32
|
57 |
- seed: 42
|
|
|
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: 80
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| No log | 0.92 | 6 | 1.3859 | 0.2391 |
|
70 |
+
| 1.3857 | 2.0 | 13 | 1.3834 | 0.2826 |
|
71 |
+
| 1.3857 | 2.92 | 19 | 1.3789 | 0.1957 |
|
72 |
+
| 1.3767 | 4.0 | 26 | 1.3666 | 0.1522 |
|
73 |
+
| 1.3226 | 4.92 | 32 | 1.3565 | 0.1522 |
|
74 |
+
| 1.3226 | 6.0 | 39 | 1.3902 | 0.1087 |
|
75 |
+
| 1.1987 | 6.92 | 45 | 1.3712 | 0.2174 |
|
76 |
+
| 1.1075 | 8.0 | 52 | 1.3197 | 0.3478 |
|
77 |
+
| 1.1075 | 8.92 | 58 | 1.3649 | 0.3696 |
|
78 |
+
| 0.9988 | 10.0 | 65 | 1.2583 | 0.3696 |
|
79 |
+
| 0.8863 | 10.92 | 71 | 1.2484 | 0.3696 |
|
80 |
+
| 0.8863 | 12.0 | 78 | 1.2869 | 0.4130 |
|
81 |
+
| 0.8228 | 12.92 | 84 | 1.1678 | 0.4783 |
|
82 |
+
| 0.7456 | 14.0 | 91 | 1.0275 | 0.6739 |
|
83 |
+
| 0.7456 | 14.92 | 97 | 0.9702 | 0.7174 |
|
84 |
+
| 0.6595 | 16.0 | 104 | 0.9103 | 0.6957 |
|
85 |
+
| 0.5995 | 16.92 | 110 | 0.8506 | 0.7391 |
|
86 |
+
| 0.5995 | 18.0 | 117 | 0.8514 | 0.7174 |
|
87 |
+
| 0.5826 | 18.92 | 123 | 0.8964 | 0.7391 |
|
88 |
+
| 0.4818 | 20.0 | 130 | 0.8550 | 0.7609 |
|
89 |
+
| 0.4818 | 20.92 | 136 | 0.7132 | 0.8261 |
|
90 |
+
| 0.4553 | 22.0 | 143 | 0.6973 | 0.7826 |
|
91 |
+
| 0.4553 | 22.92 | 149 | 0.7496 | 0.7391 |
|
92 |
+
| 0.4276 | 24.0 | 156 | 0.9087 | 0.6957 |
|
93 |
+
| 0.3375 | 24.92 | 162 | 0.7787 | 0.8261 |
|
94 |
+
| 0.3375 | 26.0 | 169 | 0.7132 | 0.8043 |
|
95 |
+
| 0.3199 | 26.92 | 175 | 0.7570 | 0.7391 |
|
96 |
+
| 0.2756 | 28.0 | 182 | 0.7873 | 0.6957 |
|
97 |
+
| 0.2756 | 28.92 | 188 | 0.7895 | 0.7609 |
|
98 |
+
| 0.2254 | 30.0 | 195 | 0.7443 | 0.8043 |
|
99 |
+
| 0.2576 | 30.92 | 201 | 0.9623 | 0.6739 |
|
100 |
+
| 0.2576 | 32.0 | 208 | 0.7349 | 0.7826 |
|
101 |
+
| 0.2113 | 32.92 | 214 | 0.7887 | 0.7609 |
|
102 |
+
| 0.1978 | 34.0 | 221 | 0.8921 | 0.7391 |
|
103 |
+
| 0.1978 | 34.92 | 227 | 0.8102 | 0.7391 |
|
104 |
+
| 0.2455 | 36.0 | 234 | 0.8947 | 0.7391 |
|
105 |
+
| 0.1809 | 36.92 | 240 | 0.8144 | 0.7826 |
|
106 |
+
| 0.1809 | 38.0 | 247 | 0.8290 | 0.7174 |
|
107 |
+
| 0.1967 | 38.92 | 253 | 0.8135 | 0.7391 |
|
108 |
+
| 0.1608 | 40.0 | 260 | 0.8065 | 0.7609 |
|
109 |
+
| 0.1608 | 40.92 | 266 | 0.7399 | 0.7609 |
|
110 |
+
| 0.1704 | 42.0 | 273 | 0.7099 | 0.8043 |
|
111 |
+
| 0.1704 | 42.92 | 279 | 0.7569 | 0.7826 |
|
112 |
+
| 0.1682 | 44.0 | 286 | 0.8459 | 0.7826 |
|
113 |
+
| 0.1607 | 44.92 | 292 | 0.7311 | 0.7609 |
|
114 |
+
| 0.1607 | 46.0 | 299 | 0.7833 | 0.7174 |
|
115 |
+
| 0.1589 | 46.92 | 305 | 0.8073 | 0.6957 |
|
116 |
+
| 0.1524 | 48.0 | 312 | 0.7473 | 0.7609 |
|
117 |
+
| 0.1524 | 48.92 | 318 | 0.6780 | 0.8043 |
|
118 |
+
| 0.1586 | 50.0 | 325 | 0.7573 | 0.7174 |
|
119 |
+
| 0.128 | 50.92 | 331 | 0.7614 | 0.7391 |
|
120 |
+
| 0.128 | 52.0 | 338 | 0.7338 | 0.7609 |
|
121 |
+
| 0.1254 | 52.92 | 344 | 0.7666 | 0.7391 |
|
122 |
+
| 0.1206 | 54.0 | 351 | 0.8433 | 0.7174 |
|
123 |
+
| 0.1206 | 54.92 | 357 | 0.8747 | 0.6957 |
|
124 |
+
| 0.1398 | 56.0 | 364 | 0.8940 | 0.7174 |
|
125 |
+
| 0.1536 | 56.92 | 370 | 0.7781 | 0.7826 |
|
126 |
+
| 0.1536 | 58.0 | 377 | 0.7351 | 0.7391 |
|
127 |
+
| 0.1281 | 58.92 | 383 | 0.7601 | 0.7174 |
|
128 |
+
| 0.1156 | 60.0 | 390 | 0.7991 | 0.7174 |
|
129 |
+
| 0.1156 | 60.92 | 396 | 0.7776 | 0.7609 |
|
130 |
+
| 0.0852 | 62.0 | 403 | 0.7838 | 0.7391 |
|
131 |
+
| 0.0852 | 62.92 | 409 | 0.7752 | 0.7609 |
|
132 |
+
| 0.1106 | 64.0 | 416 | 0.7541 | 0.7609 |
|
133 |
+
| 0.0817 | 64.92 | 422 | 0.7536 | 0.7391 |
|
134 |
+
| 0.0817 | 66.0 | 429 | 0.8129 | 0.7609 |
|
135 |
+
| 0.1211 | 66.92 | 435 | 0.7884 | 0.7609 |
|
136 |
+
| 0.0944 | 68.0 | 442 | 0.8011 | 0.7609 |
|
137 |
+
| 0.0944 | 68.92 | 448 | 0.8068 | 0.7391 |
|
138 |
+
| 0.1187 | 70.0 | 455 | 0.7796 | 0.7391 |
|
139 |
+
| 0.0935 | 70.92 | 461 | 0.7934 | 0.7391 |
|
140 |
+
| 0.0935 | 72.0 | 468 | 0.7367 | 0.7391 |
|
141 |
+
| 0.109 | 72.92 | 474 | 0.7515 | 0.7391 |
|
142 |
+
| 0.1006 | 73.85 | 480 | 0.7888 | 0.7174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
|
145 |
### Framework versions
|
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:3d42f6a189b3bdb4a2ff88ea101fd384526c9ff12c3351233f73bf2f70ab3ea9
|
3 |
size 12203648
|
runs/Jun12_16-44-11_DESKTOP-SKBE9FB/events.out.tfevents.1718232252.DESKTOP-SKBE9FB.1696.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:47bcff7f0dcc9629bb6c50ccb8eb29f07ed83d0b9f7f3118085469d04f213a93
|
3 |
+
size 36205
|