andikamandalaa
commited on
Commit
•
ed8dba9
1
Parent(s):
4073980
End of training
Browse files- README.md +125 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: vit-base-patch16-224-in21k-emotion-classification
|
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: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.4375
|
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-in21k-emotion-classification
|
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: 1.6098
|
36 |
+
- Accuracy: 0.4375
|
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: 5e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 101010
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- lr_scheduler_warmup_steps: 2000
|
62 |
+
- num_epochs: 50
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
+
| No log | 1.0 | 20 | 2.0782 | 0.1938 |
|
69 |
+
| No log | 2.0 | 40 | 2.0771 | 0.1938 |
|
70 |
+
| No log | 3.0 | 60 | 2.0752 | 0.1875 |
|
71 |
+
| No log | 4.0 | 80 | 2.0725 | 0.1875 |
|
72 |
+
| No log | 5.0 | 100 | 2.0691 | 0.1812 |
|
73 |
+
| No log | 6.0 | 120 | 2.0646 | 0.1875 |
|
74 |
+
| No log | 7.0 | 140 | 2.0591 | 0.1875 |
|
75 |
+
| No log | 8.0 | 160 | 2.0517 | 0.2062 |
|
76 |
+
| No log | 9.0 | 180 | 2.0423 | 0.2062 |
|
77 |
+
| No log | 10.0 | 200 | 2.0301 | 0.2437 |
|
78 |
+
| No log | 11.0 | 220 | 2.0148 | 0.275 |
|
79 |
+
| No log | 12.0 | 240 | 1.9941 | 0.2687 |
|
80 |
+
| No log | 13.0 | 260 | 1.9721 | 0.325 |
|
81 |
+
| No log | 14.0 | 280 | 1.9464 | 0.3375 |
|
82 |
+
| No log | 15.0 | 300 | 1.9138 | 0.3312 |
|
83 |
+
| No log | 16.0 | 320 | 1.8832 | 0.3438 |
|
84 |
+
| No log | 17.0 | 340 | 1.8495 | 0.3625 |
|
85 |
+
| No log | 18.0 | 360 | 1.8153 | 0.3688 |
|
86 |
+
| No log | 19.0 | 380 | 1.7807 | 0.3625 |
|
87 |
+
| No log | 20.0 | 400 | 1.7487 | 0.3812 |
|
88 |
+
| No log | 21.0 | 420 | 1.7179 | 0.3875 |
|
89 |
+
| No log | 22.0 | 440 | 1.6897 | 0.4125 |
|
90 |
+
| No log | 23.0 | 460 | 1.6649 | 0.4062 |
|
91 |
+
| No log | 24.0 | 480 | 1.6409 | 0.3937 |
|
92 |
+
| 1.7227 | 25.0 | 500 | 1.6235 | 0.4188 |
|
93 |
+
| 1.7227 | 26.0 | 520 | 1.5990 | 0.4 |
|
94 |
+
| 1.7227 | 27.0 | 540 | 1.5816 | 0.425 |
|
95 |
+
| 1.7227 | 28.0 | 560 | 1.5664 | 0.45 |
|
96 |
+
| 1.7227 | 29.0 | 580 | 1.5497 | 0.4313 |
|
97 |
+
| 1.7227 | 30.0 | 600 | 1.5323 | 0.4125 |
|
98 |
+
| 1.7227 | 31.0 | 620 | 1.5209 | 0.425 |
|
99 |
+
| 1.7227 | 32.0 | 640 | 1.5059 | 0.4 |
|
100 |
+
| 1.7227 | 33.0 | 660 | 1.5029 | 0.4188 |
|
101 |
+
| 1.7227 | 34.0 | 680 | 1.4970 | 0.4313 |
|
102 |
+
| 1.7227 | 35.0 | 700 | 1.4944 | 0.4062 |
|
103 |
+
| 1.7227 | 36.0 | 720 | 1.4992 | 0.425 |
|
104 |
+
| 1.7227 | 37.0 | 740 | 1.5060 | 0.425 |
|
105 |
+
| 1.7227 | 38.0 | 760 | 1.4960 | 0.4313 |
|
106 |
+
| 1.7227 | 39.0 | 780 | 1.5080 | 0.4313 |
|
107 |
+
| 1.7227 | 40.0 | 800 | 1.5175 | 0.425 |
|
108 |
+
| 1.7227 | 41.0 | 820 | 1.5219 | 0.4188 |
|
109 |
+
| 1.7227 | 42.0 | 840 | 1.5273 | 0.4313 |
|
110 |
+
| 1.7227 | 43.0 | 860 | 1.5318 | 0.425 |
|
111 |
+
| 1.7227 | 44.0 | 880 | 1.5446 | 0.4313 |
|
112 |
+
| 1.7227 | 45.0 | 900 | 1.5519 | 0.4375 |
|
113 |
+
| 1.7227 | 46.0 | 920 | 1.5678 | 0.4188 |
|
114 |
+
| 1.7227 | 47.0 | 940 | 1.5747 | 0.4375 |
|
115 |
+
| 1.7227 | 48.0 | 960 | 1.5843 | 0.4375 |
|
116 |
+
| 1.7227 | 49.0 | 980 | 1.5968 | 0.425 |
|
117 |
+
| 0.3221 | 50.0 | 1000 | 1.6098 | 0.4375 |
|
118 |
+
|
119 |
+
|
120 |
+
### Framework versions
|
121 |
+
|
122 |
+
- Transformers 4.37.2
|
123 |
+
- Pytorch 2.1.2+cu121
|
124 |
+
- Datasets 2.16.1
|
125 |
+
- Tokenizers 0.15.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343242432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18be381e6151c260805412007702aa6189a07c57d3a237c019ddcb03de8652a5
|
3 |
size 343242432
|