daryfauzan commited on
Commit
d3ec5ef
1 Parent(s): 3a2a770

End of training

Browse files
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: emotion_recognition
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.6125
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
+ # emotion_recognition
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.2014
36
+ - Accuracy: 0.6125
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
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 64
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: cosine_with_restarts
63
+ - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 20
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 2.0842 | 1.0 | 10 | 2.0668 | 0.175 |
71
+ | 2.039 | 2.0 | 20 | 2.0070 | 0.2875 |
72
+ | 1.9285 | 3.0 | 30 | 1.8789 | 0.4062 |
73
+ | 1.7699 | 4.0 | 40 | 1.6942 | 0.425 |
74
+ | 1.6135 | 5.0 | 50 | 1.5758 | 0.4313 |
75
+ | 1.5056 | 6.0 | 60 | 1.4884 | 0.55 |
76
+ | 1.3896 | 7.0 | 70 | 1.3999 | 0.5437 |
77
+ | 1.2804 | 8.0 | 80 | 1.3563 | 0.5437 |
78
+ | 1.2043 | 9.0 | 90 | 1.3244 | 0.55 |
79
+ | 1.1231 | 10.0 | 100 | 1.2775 | 0.6062 |
80
+ | 1.0652 | 11.0 | 110 | 1.2567 | 0.575 |
81
+ | 1.0005 | 12.0 | 120 | 1.2833 | 0.5563 |
82
+ | 0.9878 | 13.0 | 130 | 1.2277 | 0.5687 |
83
+ | 0.9714 | 14.0 | 140 | 1.2557 | 0.5563 |
84
+ | 0.9057 | 15.0 | 150 | 1.2187 | 0.6125 |
85
+ | 0.8854 | 16.0 | 160 | 1.2612 | 0.5437 |
86
+ | 0.8478 | 17.0 | 170 | 1.2450 | 0.5437 |
87
+ | 0.8601 | 18.0 | 180 | 1.2456 | 0.5375 |
88
+ | 0.8498 | 19.0 | 190 | 1.2413 | 0.5875 |
89
+ | 0.8775 | 20.0 | 200 | 1.1928 | 0.6 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.42.4
95
+ - Pytorch 2.4.0+cu121
96
+ - Datasets 2.21.0
97
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bbad083bf96fde420c40cd4f003c5ad10bf85fdf4263788b43b4a684c9766e61
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a64a6499821896e8c8856507466e67b6a09bf06c33bdb265e950c8529572053d
3
  size 343242432
runs/Aug28_00-32-24_e83787ec905c/events.out.tfevents.1724805195.e83787ec905c.453.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:27e1712428898683f255a138b89b4dca3711d8cad1b92d48cdfeb7a2f0c24b8a
3
- size 15316
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:916dbdfa2ed8cbb648c2e771f9ad17f8c2a1f1b8910a6bfaec8a5008e30a40ea
3
+ size 15993
runs/Aug28_00-32-24_e83787ec905c/events.out.tfevents.1724805908.e83787ec905c.453.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a84dfb4dc9e4ea30c1277f41e5948dae2af57bc5ba32a165d56f74f663de42f
3
+ size 1057