Augusto777
commited on
Commit
•
5a5e667
1
Parent(s):
959f22b
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: vit-base-patch16-224-ve-U13-b-80
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: validation
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.8260869565217391
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# vit-base-patch16-224-ve-U13-b-80
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.7603
|
36 |
+
- Accuracy: 0.8261
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5.5e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 128
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_ratio: 0.05
|
64 |
+
- num_epochs: 80
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| No log | 0.92 | 6 | 1.3848 | 0.3478 |
|
71 |
+
| 1.3848 | 2.0 | 13 | 1.3692 | 0.5217 |
|
72 |
+
| 1.3848 | 2.92 | 19 | 1.3184 | 0.5870 |
|
73 |
+
| 1.352 | 4.0 | 26 | 1.2217 | 0.4565 |
|
74 |
+
| 1.2316 | 4.92 | 32 | 1.1418 | 0.4783 |
|
75 |
+
| 1.2316 | 6.0 | 39 | 1.0689 | 0.4783 |
|
76 |
+
| 1.0849 | 6.92 | 45 | 0.9931 | 0.5870 |
|
77 |
+
| 0.9314 | 8.0 | 52 | 0.9458 | 0.6957 |
|
78 |
+
| 0.9314 | 8.92 | 58 | 0.8675 | 0.6957 |
|
79 |
+
| 0.8001 | 10.0 | 65 | 0.8148 | 0.7174 |
|
80 |
+
| 0.6493 | 10.92 | 71 | 0.7692 | 0.7609 |
|
81 |
+
| 0.6493 | 12.0 | 78 | 0.6428 | 0.8043 |
|
82 |
+
| 0.5145 | 12.92 | 84 | 0.6025 | 0.8261 |
|
83 |
+
| 0.379 | 14.0 | 91 | 0.5621 | 0.8043 |
|
84 |
+
| 0.379 | 14.92 | 97 | 0.5298 | 0.8478 |
|
85 |
+
| 0.2942 | 16.0 | 104 | 0.5791 | 0.8043 |
|
86 |
+
| 0.2096 | 16.92 | 110 | 0.5814 | 0.7826 |
|
87 |
+
| 0.2096 | 18.0 | 117 | 0.7829 | 0.7174 |
|
88 |
+
| 0.2113 | 18.92 | 123 | 0.5658 | 0.8478 |
|
89 |
+
| 0.2143 | 20.0 | 130 | 0.7036 | 0.7609 |
|
90 |
+
| 0.2143 | 20.92 | 136 | 0.5924 | 0.7826 |
|
91 |
+
| 0.1752 | 22.0 | 143 | 0.6852 | 0.7609 |
|
92 |
+
| 0.1752 | 22.92 | 149 | 0.7237 | 0.7609 |
|
93 |
+
| 0.1238 | 24.0 | 156 | 0.6743 | 0.8043 |
|
94 |
+
| 0.1401 | 24.92 | 162 | 0.8463 | 0.6957 |
|
95 |
+
| 0.1401 | 26.0 | 169 | 0.7872 | 0.7609 |
|
96 |
+
| 0.1544 | 26.92 | 175 | 0.5492 | 0.8261 |
|
97 |
+
| 0.1163 | 28.0 | 182 | 0.5756 | 0.8043 |
|
98 |
+
| 0.1163 | 28.92 | 188 | 0.7621 | 0.7609 |
|
99 |
+
| 0.1121 | 30.0 | 195 | 0.6972 | 0.7826 |
|
100 |
+
| 0.1065 | 30.92 | 201 | 0.5723 | 0.8261 |
|
101 |
+
| 0.1065 | 32.0 | 208 | 0.7503 | 0.8261 |
|
102 |
+
| 0.1021 | 32.92 | 214 | 0.6127 | 0.8043 |
|
103 |
+
| 0.1048 | 34.0 | 221 | 0.5734 | 0.8478 |
|
104 |
+
| 0.1048 | 34.92 | 227 | 0.5817 | 0.8478 |
|
105 |
+
| 0.0848 | 36.0 | 234 | 0.5903 | 0.8261 |
|
106 |
+
| 0.0769 | 36.92 | 240 | 0.7074 | 0.8261 |
|
107 |
+
| 0.0769 | 38.0 | 247 | 0.5835 | 0.8478 |
|
108 |
+
| 0.0825 | 38.92 | 253 | 0.6373 | 0.8043 |
|
109 |
+
| 0.0676 | 40.0 | 260 | 0.6793 | 0.8261 |
|
110 |
+
| 0.0676 | 40.92 | 266 | 0.6556 | 0.8261 |
|
111 |
+
| 0.0703 | 42.0 | 273 | 0.6329 | 0.8478 |
|
112 |
+
| 0.0703 | 42.92 | 279 | 0.6868 | 0.8261 |
|
113 |
+
| 0.0574 | 44.0 | 286 | 0.5997 | 0.8043 |
|
114 |
+
| 0.0523 | 44.92 | 292 | 0.5846 | 0.8261 |
|
115 |
+
| 0.0523 | 46.0 | 299 | 0.7214 | 0.8478 |
|
116 |
+
| 0.064 | 46.92 | 305 | 0.5230 | 0.8478 |
|
117 |
+
| 0.082 | 48.0 | 312 | 0.5850 | 0.8478 |
|
118 |
+
| 0.082 | 48.92 | 318 | 0.6346 | 0.8478 |
|
119 |
+
| 0.0694 | 50.0 | 325 | 0.6389 | 0.8261 |
|
120 |
+
| 0.0462 | 50.92 | 331 | 0.5813 | 0.8478 |
|
121 |
+
| 0.0462 | 52.0 | 338 | 0.5792 | 0.8478 |
|
122 |
+
| 0.044 | 52.92 | 344 | 0.5724 | 0.8261 |
|
123 |
+
| 0.0538 | 54.0 | 351 | 0.6294 | 0.8261 |
|
124 |
+
| 0.0538 | 54.92 | 357 | 0.5742 | 0.8696 |
|
125 |
+
| 0.0455 | 56.0 | 364 | 0.6951 | 0.8043 |
|
126 |
+
| 0.0537 | 56.92 | 370 | 0.6458 | 0.8043 |
|
127 |
+
| 0.0537 | 58.0 | 377 | 0.6259 | 0.8478 |
|
128 |
+
| 0.038 | 58.92 | 383 | 0.6748 | 0.8478 |
|
129 |
+
| 0.039 | 60.0 | 390 | 0.7236 | 0.8261 |
|
130 |
+
| 0.039 | 60.92 | 396 | 0.7758 | 0.8261 |
|
131 |
+
| 0.0304 | 62.0 | 403 | 0.7253 | 0.7609 |
|
132 |
+
| 0.0304 | 62.92 | 409 | 0.7513 | 0.8261 |
|
133 |
+
| 0.051 | 64.0 | 416 | 0.7547 | 0.8261 |
|
134 |
+
| 0.0355 | 64.92 | 422 | 0.8115 | 0.7826 |
|
135 |
+
| 0.0355 | 66.0 | 429 | 0.7768 | 0.8043 |
|
136 |
+
| 0.0435 | 66.92 | 435 | 0.7829 | 0.8043 |
|
137 |
+
| 0.0313 | 68.0 | 442 | 0.7787 | 0.8043 |
|
138 |
+
| 0.0313 | 68.92 | 448 | 0.7721 | 0.8261 |
|
139 |
+
| 0.0378 | 70.0 | 455 | 0.7672 | 0.8261 |
|
140 |
+
| 0.0339 | 70.92 | 461 | 0.7634 | 0.8261 |
|
141 |
+
| 0.0339 | 72.0 | 468 | 0.7615 | 0.8261 |
|
142 |
+
| 0.0311 | 72.92 | 474 | 0.7605 | 0.8261 |
|
143 |
+
| 0.0302 | 73.85 | 480 | 0.7603 | 0.8261 |
|
144 |
+
|
145 |
+
|
146 |
+
### Framework versions
|
147 |
+
|
148 |
+
- Transformers 4.36.2
|
149 |
+
- Pytorch 2.1.2+cu118
|
150 |
+
- Datasets 2.16.1
|
151 |
+
- 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 343230128
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7dec71755019e0a59a71194bcd2252fbda2530576b5088f62d54e421f39a3d35
|
3 |
size 343230128
|
runs/Jun11_23-48-23_DESKTOP-SKBE9FB/events.out.tfevents.1718171305.DESKTOP-SKBE9FB.16028.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:7680ead6be4d56a6874da5c2062c434c5bf7c15962bc7f4f817f554142bf6602
|
3 |
+
size 36146
|