Augusto777
commited on
Commit
•
de5e36f
1
Parent(s):
6f75bc5
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-U13b-80RX
|
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 |
+
# vit-base-patch16-224-ve-U13b-80RX
|
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.8808
|
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: 5.5e-05
|
56 |
+
- train_batch_size: 8
|
57 |
+
- eval_batch_size: 8
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 32
|
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: 40
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| 1.3805 | 0.97 | 25 | 1.3567 | 0.5 |
|
71 |
+
| 1.1576 | 1.98 | 51 | 1.1360 | 0.4348 |
|
72 |
+
| 0.9331 | 2.99 | 77 | 0.8531 | 0.8043 |
|
73 |
+
| 0.6657 | 4.0 | 103 | 0.6856 | 0.7826 |
|
74 |
+
| 0.5642 | 4.97 | 128 | 0.6162 | 0.7826 |
|
75 |
+
| 0.3632 | 5.98 | 154 | 0.5902 | 0.8043 |
|
76 |
+
| 0.3384 | 6.99 | 180 | 0.4995 | 0.8043 |
|
77 |
+
| 0.2261 | 8.0 | 206 | 0.6854 | 0.7609 |
|
78 |
+
| 0.2066 | 8.97 | 231 | 0.5605 | 0.7826 |
|
79 |
+
| 0.1635 | 9.98 | 257 | 0.7209 | 0.7391 |
|
80 |
+
| 0.1829 | 10.99 | 283 | 0.9293 | 0.6957 |
|
81 |
+
| 0.1455 | 12.0 | 309 | 0.5999 | 0.7826 |
|
82 |
+
| 0.1072 | 12.97 | 334 | 0.7919 | 0.7826 |
|
83 |
+
| 0.1059 | 13.98 | 360 | 0.7782 | 0.8043 |
|
84 |
+
| 0.0971 | 14.99 | 386 | 0.8249 | 0.8043 |
|
85 |
+
| 0.0456 | 16.0 | 412 | 0.7965 | 0.7826 |
|
86 |
+
| 0.0483 | 16.97 | 437 | 0.7163 | 0.8261 |
|
87 |
+
| 0.0832 | 17.98 | 463 | 0.8122 | 0.7826 |
|
88 |
+
| 0.055 | 18.99 | 489 | 0.8250 | 0.7826 |
|
89 |
+
| 0.0753 | 20.0 | 515 | 0.6866 | 0.8478 |
|
90 |
+
| 0.14 | 20.97 | 540 | 0.6456 | 0.8696 |
|
91 |
+
| 0.0506 | 21.98 | 566 | 0.9127 | 0.7826 |
|
92 |
+
| 0.0963 | 22.99 | 592 | 0.6365 | 0.8261 |
|
93 |
+
| 0.0612 | 24.0 | 618 | 0.8252 | 0.8043 |
|
94 |
+
| 0.0875 | 24.97 | 643 | 0.8844 | 0.7391 |
|
95 |
+
| 0.1041 | 25.98 | 669 | 0.6594 | 0.8261 |
|
96 |
+
| 0.0512 | 26.99 | 695 | 0.9883 | 0.7826 |
|
97 |
+
| 0.0675 | 28.0 | 721 | 0.9216 | 0.8043 |
|
98 |
+
| 0.0492 | 28.97 | 746 | 0.9284 | 0.8043 |
|
99 |
+
| 0.0679 | 29.98 | 772 | 0.9341 | 0.7826 |
|
100 |
+
| 0.0996 | 30.99 | 798 | 0.9608 | 0.8043 |
|
101 |
+
| 0.0729 | 32.0 | 824 | 1.0155 | 0.7826 |
|
102 |
+
| 0.0296 | 32.97 | 849 | 1.0314 | 0.7826 |
|
103 |
+
| 0.0414 | 33.98 | 875 | 0.8358 | 0.8043 |
|
104 |
+
| 0.04 | 34.99 | 901 | 0.8912 | 0.8043 |
|
105 |
+
| 0.0179 | 36.0 | 927 | 0.8544 | 0.8043 |
|
106 |
+
| 0.0665 | 36.97 | 952 | 0.9154 | 0.8043 |
|
107 |
+
| 0.0413 | 37.98 | 978 | 0.8834 | 0.8043 |
|
108 |
+
| 0.04 | 38.83 | 1000 | 0.8808 | 0.8043 |
|
109 |
+
|
110 |
+
|
111 |
+
### Framework versions
|
112 |
+
|
113 |
+
- Transformers 4.36.2
|
114 |
+
- Pytorch 2.1.2+cu118
|
115 |
+
- Datasets 2.16.1
|
116 |
+
- 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:35e6636b5dca51000970b50bb0a5695db2d85a730ae183a1d7ded45d86d1f3c3
|
3 |
size 343230128
|
runs/Jun23_14-39-12_DESKTOP-SKBE9FB/events.out.tfevents.1719175154.DESKTOP-SKBE9FB.16296.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:4a1fa9cd3754bbcd70ac3e134d040310e3853824a707280d12565feadf60cae1
|
3 |
+
size 33097
|