End of training
Browse files
README.md
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google/vit-base-patch16-224-in21k
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- imagefolder
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: emotion_classification
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Image Classification
|
16 |
+
type: image-classification
|
17 |
+
dataset:
|
18 |
+
name: imagefolder
|
19 |
+
type: imagefolder
|
20 |
+
config: default
|
21 |
+
split: train
|
22 |
+
args: default
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.5125
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# emotion_classification
|
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: 1.3578
|
37 |
+
- Accuracy: 0.5125
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 5e-05
|
57 |
+
- train_batch_size: 16
|
58 |
+
- eval_batch_size: 16
|
59 |
+
- seed: 42
|
60 |
+
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 64
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_ratio: 0.1
|
65 |
+
- num_epochs: 50
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
71 |
+
| 2.0796 | 1.0 | 10 | 2.0709 | 0.1562 |
|
72 |
+
| 2.0631 | 2.0 | 20 | 2.0496 | 0.225 |
|
73 |
+
| 2.0242 | 3.0 | 30 | 2.0148 | 0.2875 |
|
74 |
+
| 1.9387 | 4.0 | 40 | 1.9268 | 0.325 |
|
75 |
+
| 1.789 | 5.0 | 50 | 1.7454 | 0.3812 |
|
76 |
+
| 1.6216 | 6.0 | 60 | 1.5996 | 0.3937 |
|
77 |
+
| 1.4795 | 7.0 | 70 | 1.5577 | 0.375 |
|
78 |
+
| 1.3735 | 8.0 | 80 | 1.5090 | 0.4062 |
|
79 |
+
| 1.2889 | 9.0 | 90 | 1.4418 | 0.4313 |
|
80 |
+
| 1.2092 | 10.0 | 100 | 1.4209 | 0.425 |
|
81 |
+
| 1.1127 | 11.0 | 110 | 1.3828 | 0.4437 |
|
82 |
+
| 1.032 | 12.0 | 120 | 1.3507 | 0.4562 |
|
83 |
+
| 0.9616 | 13.0 | 130 | 1.3556 | 0.4875 |
|
84 |
+
| 0.9099 | 14.0 | 140 | 1.3204 | 0.5188 |
|
85 |
+
| 0.8425 | 15.0 | 150 | 1.3490 | 0.4688 |
|
86 |
+
| 0.806 | 16.0 | 160 | 1.3690 | 0.5062 |
|
87 |
+
| 0.7377 | 17.0 | 170 | 1.3344 | 0.5563 |
|
88 |
+
| 0.677 | 18.0 | 180 | 1.4178 | 0.4625 |
|
89 |
+
| 0.6071 | 19.0 | 190 | 1.3305 | 0.4875 |
|
90 |
+
| 0.5581 | 20.0 | 200 | 1.3070 | 0.5 |
|
91 |
+
| 0.5599 | 21.0 | 210 | 1.3245 | 0.4938 |
|
92 |
+
| 0.5222 | 22.0 | 220 | 1.3765 | 0.4562 |
|
93 |
+
| 0.4856 | 23.0 | 230 | 1.3345 | 0.5 |
|
94 |
+
| 0.458 | 24.0 | 240 | 1.2938 | 0.5188 |
|
95 |
+
| 0.4393 | 25.0 | 250 | 1.3380 | 0.5062 |
|
96 |
+
| 0.4239 | 26.0 | 260 | 1.3756 | 0.525 |
|
97 |
+
| 0.4443 | 27.0 | 270 | 1.4586 | 0.4813 |
|
98 |
+
| 0.4374 | 28.0 | 280 | 1.2996 | 0.55 |
|
99 |
+
| 0.3917 | 29.0 | 290 | 1.3222 | 0.5062 |
|
100 |
+
| 0.3986 | 30.0 | 300 | 1.4486 | 0.4813 |
|
101 |
+
| 0.353 | 31.0 | 310 | 1.5204 | 0.4562 |
|
102 |
+
| 0.3598 | 32.0 | 320 | 1.3027 | 0.5625 |
|
103 |
+
| 0.3538 | 33.0 | 330 | 1.6122 | 0.4313 |
|
104 |
+
| 0.3246 | 34.0 | 340 | 1.5237 | 0.4437 |
|
105 |
+
| 0.3089 | 35.0 | 350 | 1.4717 | 0.5125 |
|
106 |
+
| 0.3278 | 36.0 | 360 | 1.5666 | 0.45 |
|
107 |
+
| 0.2865 | 37.0 | 370 | 1.4377 | 0.5 |
|
108 |
+
| 0.2958 | 38.0 | 380 | 1.4766 | 0.4938 |
|
109 |
+
| 0.3036 | 39.0 | 390 | 1.5345 | 0.4375 |
|
110 |
+
| 0.286 | 40.0 | 400 | 1.4174 | 0.5062 |
|
111 |
+
| 0.3099 | 41.0 | 410 | 1.4087 | 0.4625 |
|
112 |
+
| 0.2801 | 42.0 | 420 | 1.4439 | 0.4813 |
|
113 |
+
| 0.2973 | 43.0 | 430 | 1.4712 | 0.4938 |
|
114 |
+
| 0.2892 | 44.0 | 440 | 1.4099 | 0.5188 |
|
115 |
+
| 0.2835 | 45.0 | 450 | 1.3011 | 0.5563 |
|
116 |
+
| 0.261 | 46.0 | 460 | 1.6512 | 0.4188 |
|
117 |
+
| 0.2589 | 47.0 | 470 | 1.5651 | 0.4375 |
|
118 |
+
| 0.2806 | 48.0 | 480 | 1.5194 | 0.4938 |
|
119 |
+
| 0.2749 | 49.0 | 490 | 1.4519 | 0.525 |
|
120 |
+
| 0.2482 | 50.0 | 500 | 1.4127 | 0.5188 |
|
121 |
+
|
122 |
+
|
123 |
+
### Framework versions
|
124 |
+
|
125 |
+
- Transformers 4.44.2
|
126 |
+
- Pytorch 2.4.0+cu121
|
127 |
+
- Datasets 2.21.0
|
128 |
+
- 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 343242432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b309d2af2441246d53aa57f9f104eef8e7b26452fe1b2ac866eb28909754bfa
|
3 |
size 343242432
|
runs/Sep06_06-51-18_871a6b666aea/events.out.tfevents.1725605496.871a6b666aea.1676.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:cdf02d85327d257e592ffb032f13eacfc301443a11ed23f18fbe8f9593bdfd31
|
3 |
+
size 32099
|
runs/Sep06_06-51-18_871a6b666aea/events.out.tfevents.1725607601.871a6b666aea.1676.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9fb72c2f401eabf06ab3dabae3a9f75596ae09c528f75bed43e2003add78423c
|
3 |
+
size 411
|