interestAI
commited on
Commit
•
88212bb
1
Parent(s):
b1634f3
Model save
Browse files- README.md +117 -89
- model.safetensors +1 -1
README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
---
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
@@ -22,7 +23,7 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
|
33 |
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.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -65,95 +66,122 @@ The following hyperparameters were used during training:
|
|
65 |
|
66 |
### Training results
|
67 |
|
68 |
-
| Training Loss | Epoch
|
69 |
-
|
70 |
-
| No log | 0.
|
71 |
-
|
|
72 |
-
|
|
73 |
-
|
|
74 |
-
|
|
75 |
-
|
|
76 |
-
|
|
77 |
-
| 1.
|
78 |
-
| 1.
|
79 |
-
| 1.
|
80 |
-
|
|
81 |
-
|
|
82 |
-
|
|
83 |
-
|
|
84 |
-
|
|
85 |
-
|
|
86 |
-
|
|
87 |
-
|
|
88 |
-
|
|
89 |
-
| 0.
|
90 |
-
|
|
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.
|
144 |
-
| 0.
|
145 |
-
| 0.
|
146 |
-
| 0.
|
147 |
-
| 0.
|
148 |
-
| 0.
|
149 |
-
| 0.
|
150 |
-
| 0.
|
151 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
|
154 |
### Framework versions
|
155 |
|
156 |
-
- Transformers 4.
|
157 |
-
- Pytorch 2.
|
158 |
- Datasets 2.21.0
|
159 |
- Tokenizers 0.19.1
|
|
|
1 |
---
|
2 |
+
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
+
value: 0.875968992248062
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
33 |
|
34 |
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.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.3784
|
37 |
+
- Accuracy: 0.8760
|
38 |
|
39 |
## Model description
|
40 |
|
|
|
66 |
|
67 |
### Training results
|
68 |
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:--------:|:----:|:---------------:|:--------:|
|
71 |
+
| No log | 0.9697 | 8 | 2.2973 | 0.1434 |
|
72 |
+
| 2.2994 | 1.9394 | 16 | 2.2717 | 0.1957 |
|
73 |
+
| 2.2791 | 2.9091 | 24 | 2.2377 | 0.2287 |
|
74 |
+
| 2.2378 | 4.0 | 33 | 2.1866 | 0.3178 |
|
75 |
+
| 2.1604 | 4.9697 | 41 | 2.1096 | 0.3934 |
|
76 |
+
| 2.1604 | 5.9394 | 49 | 2.0257 | 0.4322 |
|
77 |
+
| 2.0801 | 6.9091 | 57 | 1.9312 | 0.4264 |
|
78 |
+
| 1.9587 | 8.0 | 66 | 1.7939 | 0.4942 |
|
79 |
+
| 1.821 | 8.9697 | 74 | 1.6869 | 0.5465 |
|
80 |
+
| 1.6903 | 9.9394 | 82 | 1.6025 | 0.5736 |
|
81 |
+
| 1.5687 | 10.9091 | 90 | 1.4849 | 0.6202 |
|
82 |
+
| 1.5687 | 12.0 | 99 | 1.4674 | 0.5407 |
|
83 |
+
| 1.4183 | 12.9697 | 107 | 1.3539 | 0.6163 |
|
84 |
+
| 1.3907 | 13.9394 | 115 | 1.2365 | 0.6938 |
|
85 |
+
| 1.3058 | 14.9091 | 123 | 1.2258 | 0.6938 |
|
86 |
+
| 1.2181 | 16.0 | 132 | 1.1759 | 0.6822 |
|
87 |
+
| 1.1537 | 16.9697 | 140 | 1.1413 | 0.7074 |
|
88 |
+
| 1.1537 | 17.9394 | 148 | 1.0586 | 0.7248 |
|
89 |
+
| 1.0819 | 18.9091 | 156 | 1.0059 | 0.7558 |
|
90 |
+
| 0.9905 | 20.0 | 165 | 0.9575 | 0.7578 |
|
91 |
+
| 1.0055 | 20.9697 | 173 | 0.9807 | 0.7442 |
|
92 |
+
| 0.9484 | 21.9394 | 181 | 0.9553 | 0.7539 |
|
93 |
+
| 0.9484 | 22.9091 | 189 | 0.8213 | 0.8004 |
|
94 |
+
| 0.8974 | 24.0 | 198 | 0.8305 | 0.8043 |
|
95 |
+
| 0.8545 | 24.9697 | 206 | 0.8273 | 0.7849 |
|
96 |
+
| 0.8724 | 25.9394 | 214 | 0.8177 | 0.7519 |
|
97 |
+
| 0.8642 | 26.9091 | 222 | 0.7692 | 0.7926 |
|
98 |
+
| 0.7609 | 28.0 | 231 | 0.7293 | 0.8062 |
|
99 |
+
| 0.7609 | 28.9697 | 239 | 0.7001 | 0.8198 |
|
100 |
+
| 0.7418 | 29.9394 | 247 | 0.7899 | 0.7636 |
|
101 |
+
| 0.7552 | 30.9091 | 255 | 0.6595 | 0.8101 |
|
102 |
+
| 0.7291 | 32.0 | 264 | 0.6971 | 0.7907 |
|
103 |
+
| 0.693 | 32.9697 | 272 | 0.7215 | 0.7946 |
|
104 |
+
| 0.6891 | 33.9394 | 280 | 0.6980 | 0.8004 |
|
105 |
+
| 0.6891 | 34.9091 | 288 | 0.6200 | 0.8372 |
|
106 |
+
| 0.6936 | 36.0 | 297 | 0.7245 | 0.7733 |
|
107 |
+
| 0.6698 | 36.9697 | 305 | 0.6724 | 0.7984 |
|
108 |
+
| 0.6502 | 37.9394 | 313 | 0.6701 | 0.8023 |
|
109 |
+
| 0.6988 | 38.9091 | 321 | 0.6049 | 0.8236 |
|
110 |
+
| 0.6709 | 40.0 | 330 | 0.6397 | 0.7965 |
|
111 |
+
| 0.6709 | 40.9697 | 338 | 0.5654 | 0.8391 |
|
112 |
+
| 0.652 | 41.9394 | 346 | 0.6371 | 0.8101 |
|
113 |
+
| 0.64 | 42.9091 | 354 | 0.6341 | 0.8062 |
|
114 |
+
| 0.6368 | 44.0 | 363 | 0.5662 | 0.8527 |
|
115 |
+
| 0.595 | 44.9697 | 371 | 0.5744 | 0.8411 |
|
116 |
+
| 0.595 | 45.9394 | 379 | 0.5465 | 0.8430 |
|
117 |
+
| 0.5823 | 46.9091 | 387 | 0.6254 | 0.7984 |
|
118 |
+
| 0.5514 | 48.0 | 396 | 0.5368 | 0.8333 |
|
119 |
+
| 0.5693 | 48.9697 | 404 | 0.5705 | 0.8043 |
|
120 |
+
| 0.5244 | 49.9394 | 412 | 0.5685 | 0.8314 |
|
121 |
+
| 0.5495 | 50.9091 | 420 | 0.5811 | 0.8120 |
|
122 |
+
| 0.5495 | 52.0 | 429 | 0.5037 | 0.8469 |
|
123 |
+
| 0.5501 | 52.9697 | 437 | 0.5423 | 0.8372 |
|
124 |
+
| 0.5405 | 53.9394 | 445 | 0.5487 | 0.8178 |
|
125 |
+
| 0.534 | 54.9091 | 453 | 0.5607 | 0.8217 |
|
126 |
+
| 0.5502 | 56.0 | 462 | 0.5141 | 0.8198 |
|
127 |
+
| 0.4772 | 56.9697 | 470 | 0.4813 | 0.8605 |
|
128 |
+
| 0.4772 | 57.9394 | 478 | 0.5007 | 0.8566 |
|
129 |
+
| 0.4823 | 58.9091 | 486 | 0.4847 | 0.8624 |
|
130 |
+
| 0.5107 | 60.0 | 495 | 0.5273 | 0.8333 |
|
131 |
+
| 0.5205 | 60.9697 | 503 | 0.4981 | 0.8430 |
|
132 |
+
| 0.5171 | 61.9394 | 511 | 0.4819 | 0.8430 |
|
133 |
+
| 0.5171 | 62.9091 | 519 | 0.4415 | 0.8682 |
|
134 |
+
| 0.5498 | 64.0 | 528 | 0.4578 | 0.8566 |
|
135 |
+
| 0.4732 | 64.9697 | 536 | 0.4614 | 0.8450 |
|
136 |
+
| 0.4623 | 65.9394 | 544 | 0.4923 | 0.8488 |
|
137 |
+
| 0.4406 | 66.9091 | 552 | 0.4556 | 0.8547 |
|
138 |
+
| 0.4889 | 68.0 | 561 | 0.4727 | 0.8488 |
|
139 |
+
| 0.4889 | 68.9697 | 569 | 0.4746 | 0.8469 |
|
140 |
+
| 0.4532 | 69.9394 | 577 | 0.4496 | 0.8585 |
|
141 |
+
| 0.3988 | 70.9091 | 585 | 0.4260 | 0.8702 |
|
142 |
+
| 0.4608 | 72.0 | 594 | 0.4464 | 0.8547 |
|
143 |
+
| 0.4429 | 72.9697 | 602 | 0.3946 | 0.8818 |
|
144 |
+
| 0.4502 | 73.9394 | 610 | 0.4566 | 0.8527 |
|
145 |
+
| 0.4502 | 74.9091 | 618 | 0.4472 | 0.8663 |
|
146 |
+
| 0.4381 | 76.0 | 627 | 0.4701 | 0.8372 |
|
147 |
+
| 0.4437 | 76.9697 | 635 | 0.4351 | 0.8488 |
|
148 |
+
| 0.4223 | 77.9394 | 643 | 0.4011 | 0.8779 |
|
149 |
+
| 0.4121 | 78.9091 | 651 | 0.4328 | 0.8547 |
|
150 |
+
| 0.4164 | 80.0 | 660 | 0.3908 | 0.8857 |
|
151 |
+
| 0.4164 | 80.9697 | 668 | 0.3774 | 0.8876 |
|
152 |
+
| 0.418 | 81.9394 | 676 | 0.4397 | 0.8643 |
|
153 |
+
| 0.3961 | 82.9091 | 684 | 0.4500 | 0.8585 |
|
154 |
+
| 0.4035 | 84.0 | 693 | 0.3968 | 0.8624 |
|
155 |
+
| 0.4269 | 84.9697 | 701 | 0.4457 | 0.8566 |
|
156 |
+
| 0.4269 | 85.9394 | 709 | 0.3987 | 0.8740 |
|
157 |
+
| 0.3694 | 86.9091 | 717 | 0.4074 | 0.8760 |
|
158 |
+
| 0.3642 | 88.0 | 726 | 0.3781 | 0.9012 |
|
159 |
+
| 0.3985 | 88.9697 | 734 | 0.3575 | 0.8934 |
|
160 |
+
| 0.4237 | 89.9394 | 742 | 0.4313 | 0.8508 |
|
161 |
+
| 0.4156 | 90.9091 | 750 | 0.3504 | 0.8934 |
|
162 |
+
| 0.4156 | 92.0 | 759 | 0.4116 | 0.8566 |
|
163 |
+
| 0.389 | 92.9697 | 767 | 0.3739 | 0.8779 |
|
164 |
+
| 0.3934 | 93.9394 | 775 | 0.3990 | 0.8779 |
|
165 |
+
| 0.4231 | 94.9091 | 783 | 0.4164 | 0.8624 |
|
166 |
+
| 0.3792 | 96.0 | 792 | 0.3808 | 0.8721 |
|
167 |
+
| 0.3928 | 96.9697 | 800 | 0.3534 | 0.8915 |
|
168 |
+
| 0.3928 | 97.9394 | 808 | 0.3643 | 0.8798 |
|
169 |
+
| 0.4003 | 98.9091 | 816 | 0.4150 | 0.8624 |
|
170 |
+
| 0.3929 | 100.0 | 825 | 0.3477 | 0.9050 |
|
171 |
+
| 0.3992 | 100.9697 | 833 | 0.4037 | 0.8682 |
|
172 |
+
| 0.387 | 101.9394 | 841 | 0.3453 | 0.9050 |
|
173 |
+
| 0.387 | 102.9091 | 849 | 0.4012 | 0.8682 |
|
174 |
+
| 0.3942 | 104.0 | 858 | 0.3843 | 0.8915 |
|
175 |
+
| 0.3794 | 104.9697 | 866 | 0.3478 | 0.8798 |
|
176 |
+
| 0.3794 | 105.9394 | 874 | 0.3111 | 0.9167 |
|
177 |
+
| 0.396 | 106.9091 | 882 | 0.3588 | 0.8818 |
|
178 |
+
| 0.3767 | 108.0 | 891 | 0.3602 | 0.8837 |
|
179 |
+
| 0.3767 | 108.6061 | 896 | 0.3784 | 0.8760 |
|
180 |
|
181 |
|
182 |
### Framework versions
|
183 |
|
184 |
+
- Transformers 4.45.0.dev0
|
185 |
+
- Pytorch 2.4.0+cu121
|
186 |
- Datasets 2.21.0
|
187 |
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343248584
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df16fded57590be918d052de1578c8a9e67c6019d4f33be034226e25293a0a32
|
3 |
size 343248584
|