End of training
Browse files
README.md
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-Emotion-Classifier
|
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.575
|
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-Emotion-Classifier
|
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.3652
|
36 |
+
- Accuracy: 0.575
|
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: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 30
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| No log | 1.0 | 40 | 1.8992 | 0.3312 |
|
68 |
+
| No log | 2.0 | 80 | 1.5939 | 0.4062 |
|
69 |
+
| No log | 3.0 | 120 | 1.4776 | 0.4688 |
|
70 |
+
| No log | 4.0 | 160 | 1.4012 | 0.4813 |
|
71 |
+
| No log | 5.0 | 200 | 1.3471 | 0.4875 |
|
72 |
+
| No log | 6.0 | 240 | 1.2877 | 0.5375 |
|
73 |
+
| No log | 7.0 | 280 | 1.2598 | 0.575 |
|
74 |
+
| No log | 8.0 | 320 | 1.3595 | 0.4938 |
|
75 |
+
| No log | 9.0 | 360 | 1.2825 | 0.5375 |
|
76 |
+
| No log | 10.0 | 400 | 1.3291 | 0.5062 |
|
77 |
+
| No log | 11.0 | 440 | 1.2422 | 0.5563 |
|
78 |
+
| No log | 12.0 | 480 | 1.2659 | 0.575 |
|
79 |
+
| 1.0646 | 13.0 | 520 | 1.3048 | 0.5062 |
|
80 |
+
| 1.0646 | 14.0 | 560 | 1.2993 | 0.5563 |
|
81 |
+
| 1.0646 | 15.0 | 600 | 1.2935 | 0.5563 |
|
82 |
+
| 1.0646 | 16.0 | 640 | 1.3589 | 0.5437 |
|
83 |
+
| 1.0646 | 17.0 | 680 | 1.2447 | 0.5938 |
|
84 |
+
| 1.0646 | 18.0 | 720 | 1.3298 | 0.5563 |
|
85 |
+
| 1.0646 | 19.0 | 760 | 1.2829 | 0.6 |
|
86 |
+
| 1.0646 | 20.0 | 800 | 1.3092 | 0.5813 |
|
87 |
+
| 1.0646 | 21.0 | 840 | 1.2895 | 0.5875 |
|
88 |
+
| 1.0646 | 22.0 | 880 | 1.3810 | 0.5625 |
|
89 |
+
| 1.0646 | 23.0 | 920 | 1.3833 | 0.5563 |
|
90 |
+
| 1.0646 | 24.0 | 960 | 1.4841 | 0.5312 |
|
91 |
+
| 0.3074 | 25.0 | 1000 | 1.3619 | 0.6062 |
|
92 |
+
| 0.3074 | 26.0 | 1040 | 1.3776 | 0.5563 |
|
93 |
+
| 0.3074 | 27.0 | 1080 | 1.3917 | 0.5875 |
|
94 |
+
| 0.3074 | 28.0 | 1120 | 1.3585 | 0.575 |
|
95 |
+
| 0.3074 | 29.0 | 1160 | 1.3455 | 0.5625 |
|
96 |
+
| 0.3074 | 30.0 | 1200 | 1.4409 | 0.5813 |
|
97 |
+
|
98 |
+
|
99 |
+
### Framework versions
|
100 |
+
|
101 |
+
- Transformers 4.41.1
|
102 |
+
- Pytorch 2.3.0+cu121
|
103 |
+
- Datasets 2.19.2
|
104 |
+
- 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:c2dc85284837c1b8a310038b81c6ba0ce747329867dc6c7133c631102a74111b
|
3 |
size 343242432
|
runs/Jun04_05-24-41_8d7b0bbfd47d/events.out.tfevents.1717478701.8d7b0bbfd47d.744.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:72e11fd8b4d619f865b50e5e30c567883c0e12d93c4c5802ae46e6cf0593c56c
|
3 |
+
size 15518
|
runs/Jun04_05-24-41_8d7b0bbfd47d/events.out.tfevents.1717480171.8d7b0bbfd47d.744.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f421c334272bf1e2f70c23aefd8ca0f5f545675a259255bc3069438d772c7513
|
3 |
+
size 411
|