Augusto777
commited on
Commit
•
ae3c56c
1
Parent(s):
57cc890
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/beit-base-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: beit-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.8043478260869565
|
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 |
+
# beit-base-patch16-224-ve-U13-b-80
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [microsoft/beit-base-patch16-224](https://huggingface.co/microsoft/beit-base-patch16-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.9753
|
36 |
+
- Accuracy: 0.8043
|
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: 4e-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.1
|
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.3187 | 0.4565 |
|
71 |
+
| 1.6193 | 2.0 | 13 | 1.3087 | 0.4565 |
|
72 |
+
| 1.6193 | 2.92 | 19 | 1.2939 | 0.4565 |
|
73 |
+
| 1.6044 | 4.0 | 26 | 1.2802 | 0.4565 |
|
74 |
+
| 1.5061 | 4.92 | 32 | 1.2867 | 0.4565 |
|
75 |
+
| 1.5061 | 6.0 | 39 | 1.2813 | 0.4565 |
|
76 |
+
| 1.3879 | 6.92 | 45 | 1.2511 | 0.4565 |
|
77 |
+
| 1.3007 | 8.0 | 52 | 1.1294 | 0.5652 |
|
78 |
+
| 1.3007 | 8.92 | 58 | 1.0096 | 0.5435 |
|
79 |
+
| 1.1213 | 10.0 | 65 | 0.9308 | 0.5217 |
|
80 |
+
| 0.9968 | 10.92 | 71 | 0.9280 | 0.5435 |
|
81 |
+
| 0.9968 | 12.0 | 78 | 0.8034 | 0.6087 |
|
82 |
+
| 0.8771 | 12.92 | 84 | 0.7791 | 0.6522 |
|
83 |
+
| 0.7383 | 14.0 | 91 | 0.8005 | 0.6739 |
|
84 |
+
| 0.7383 | 14.92 | 97 | 0.7408 | 0.7391 |
|
85 |
+
| 0.6658 | 16.0 | 104 | 0.9305 | 0.6304 |
|
86 |
+
| 0.5879 | 16.92 | 110 | 0.7136 | 0.7609 |
|
87 |
+
| 0.5879 | 18.0 | 117 | 0.7106 | 0.7609 |
|
88 |
+
| 0.4609 | 18.92 | 123 | 0.6998 | 0.6957 |
|
89 |
+
| 0.4123 | 20.0 | 130 | 0.7931 | 0.7609 |
|
90 |
+
| 0.4123 | 20.92 | 136 | 0.9417 | 0.6739 |
|
91 |
+
| 0.3552 | 22.0 | 143 | 0.7868 | 0.7174 |
|
92 |
+
| 0.3552 | 22.92 | 149 | 0.9073 | 0.6957 |
|
93 |
+
| 0.2896 | 24.0 | 156 | 0.8542 | 0.7174 |
|
94 |
+
| 0.2316 | 24.92 | 162 | 0.7159 | 0.7391 |
|
95 |
+
| 0.2316 | 26.0 | 169 | 0.7219 | 0.7174 |
|
96 |
+
| 0.2339 | 26.92 | 175 | 0.7071 | 0.7609 |
|
97 |
+
| 0.2055 | 28.0 | 182 | 1.0110 | 0.6739 |
|
98 |
+
| 0.2055 | 28.92 | 188 | 0.6397 | 0.8478 |
|
99 |
+
| 0.1995 | 30.0 | 195 | 0.6922 | 0.8478 |
|
100 |
+
| 0.169 | 30.92 | 201 | 0.6171 | 0.8478 |
|
101 |
+
| 0.169 | 32.0 | 208 | 0.6632 | 0.8261 |
|
102 |
+
| 0.1586 | 32.92 | 214 | 0.6475 | 0.8261 |
|
103 |
+
| 0.1439 | 34.0 | 221 | 0.8332 | 0.6957 |
|
104 |
+
| 0.1439 | 34.92 | 227 | 0.6816 | 0.7826 |
|
105 |
+
| 0.1698 | 36.0 | 234 | 0.8066 | 0.7609 |
|
106 |
+
| 0.1362 | 36.92 | 240 | 0.7150 | 0.8043 |
|
107 |
+
| 0.1362 | 38.0 | 247 | 0.7193 | 0.8043 |
|
108 |
+
| 0.1344 | 38.92 | 253 | 0.8181 | 0.7609 |
|
109 |
+
| 0.1317 | 40.0 | 260 | 0.6547 | 0.8261 |
|
110 |
+
| 0.1317 | 40.92 | 266 | 0.8459 | 0.7609 |
|
111 |
+
| 0.123 | 42.0 | 273 | 0.7700 | 0.8261 |
|
112 |
+
| 0.123 | 42.92 | 279 | 0.9338 | 0.7391 |
|
113 |
+
| 0.102 | 44.0 | 286 | 0.8536 | 0.8043 |
|
114 |
+
| 0.1015 | 44.92 | 292 | 0.9725 | 0.7391 |
|
115 |
+
| 0.1015 | 46.0 | 299 | 0.8865 | 0.8043 |
|
116 |
+
| 0.1313 | 46.92 | 305 | 0.8947 | 0.8261 |
|
117 |
+
| 0.1312 | 48.0 | 312 | 0.8235 | 0.8043 |
|
118 |
+
| 0.1312 | 48.92 | 318 | 0.7326 | 0.8261 |
|
119 |
+
| 0.1168 | 50.0 | 325 | 0.8654 | 0.7609 |
|
120 |
+
| 0.09 | 50.92 | 331 | 0.7645 | 0.8261 |
|
121 |
+
| 0.09 | 52.0 | 338 | 0.7632 | 0.8478 |
|
122 |
+
| 0.0872 | 52.92 | 344 | 0.7496 | 0.8043 |
|
123 |
+
| 0.0813 | 54.0 | 351 | 0.8846 | 0.8043 |
|
124 |
+
| 0.0813 | 54.92 | 357 | 0.9214 | 0.7826 |
|
125 |
+
| 0.0955 | 56.0 | 364 | 0.9284 | 0.7826 |
|
126 |
+
| 0.1031 | 56.92 | 370 | 0.8855 | 0.7826 |
|
127 |
+
| 0.1031 | 58.0 | 377 | 0.8619 | 0.8043 |
|
128 |
+
| 0.0962 | 58.92 | 383 | 0.8187 | 0.8261 |
|
129 |
+
| 0.0891 | 60.0 | 390 | 0.7430 | 0.8478 |
|
130 |
+
| 0.0891 | 60.92 | 396 | 0.7530 | 0.8478 |
|
131 |
+
| 0.0679 | 62.0 | 403 | 0.7790 | 0.8261 |
|
132 |
+
| 0.0679 | 62.92 | 409 | 0.7905 | 0.8261 |
|
133 |
+
| 0.0805 | 64.0 | 416 | 0.8286 | 0.8261 |
|
134 |
+
| 0.0619 | 64.92 | 422 | 0.8371 | 0.8043 |
|
135 |
+
| 0.0619 | 66.0 | 429 | 0.8655 | 0.8043 |
|
136 |
+
| 0.0778 | 66.92 | 435 | 0.8897 | 0.8043 |
|
137 |
+
| 0.0712 | 68.0 | 442 | 0.9385 | 0.8043 |
|
138 |
+
| 0.0712 | 68.92 | 448 | 0.9611 | 0.8043 |
|
139 |
+
| 0.0659 | 70.0 | 455 | 0.9597 | 0.8043 |
|
140 |
+
| 0.0602 | 70.92 | 461 | 0.9635 | 0.8043 |
|
141 |
+
| 0.0602 | 72.0 | 468 | 0.9733 | 0.8043 |
|
142 |
+
| 0.0641 | 72.92 | 474 | 0.9754 | 0.8043 |
|
143 |
+
| 0.0653 | 73.85 | 480 | 0.9753 | 0.8043 |
|
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 343086480
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca43d055c21d34979710afedca2ffdd87f79c9b57963d76bdc9f032224557332
|
3 |
size 343086480
|
runs/Jun12_14-01-05_DESKTOP-SKBE9FB/events.out.tfevents.1718222466.DESKTOP-SKBE9FB.12352.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:7e44c81f274def01a5f9f51efacb5d3f4c7b2b77ace4284265490a08fb05e96f
|
3 |
+
size 36971
|