kdrianm commited on
Commit
07158c2
·
verified ·
1 Parent(s): 8b02236

End of training

Browse files
README.md ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: vit-emotion_classifier
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.525
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
+ # vit-emotion_classifier
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.4782
37
+ - Accuracy: 0.525
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: 3e-05
57
+ - train_batch_size: 32
58
+ - eval_batch_size: 32
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 2
61
+ - total_train_batch_size: 64
62
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 30
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
71
+ | 2.0776 | 1.0 | 10 | 2.0731 | 0.1437 |
72
+ | 2.0526 | 2.0 | 20 | 2.0567 | 0.1688 |
73
+ | 1.9975 | 3.0 | 30 | 2.0160 | 0.2 |
74
+ | 1.8977 | 4.0 | 40 | 1.9550 | 0.3 |
75
+ | 1.778 | 5.0 | 50 | 1.8805 | 0.3625 |
76
+ | 1.6549 | 6.0 | 60 | 1.8073 | 0.375 |
77
+ | 1.5379 | 7.0 | 70 | 1.7428 | 0.4125 |
78
+ | 1.4241 | 8.0 | 80 | 1.6957 | 0.4062 |
79
+ | 1.3212 | 9.0 | 90 | 1.6550 | 0.45 |
80
+ | 1.2245 | 10.0 | 100 | 1.6271 | 0.4437 |
81
+ | 1.1336 | 11.0 | 110 | 1.5928 | 0.4562 |
82
+ | 1.0483 | 12.0 | 120 | 1.5695 | 0.4688 |
83
+ | 0.9669 | 13.0 | 130 | 1.5452 | 0.4875 |
84
+ | 0.8889 | 14.0 | 140 | 1.5248 | 0.4875 |
85
+ | 0.815 | 15.0 | 150 | 1.5063 | 0.5062 |
86
+ | 0.7466 | 16.0 | 160 | 1.4909 | 0.4938 |
87
+ | 0.6852 | 17.0 | 170 | 1.4782 | 0.525 |
88
+ | 0.6308 | 18.0 | 180 | 1.4615 | 0.5 |
89
+ | 0.5819 | 19.0 | 190 | 1.4541 | 0.5 |
90
+ | 0.5392 | 20.0 | 200 | 1.4458 | 0.5125 |
91
+ | 0.503 | 21.0 | 210 | 1.4393 | 0.5 |
92
+ | 0.4718 | 22.0 | 220 | 1.4289 | 0.5188 |
93
+ | 0.4458 | 23.0 | 230 | 1.4238 | 0.5188 |
94
+ | 0.4234 | 24.0 | 240 | 1.4211 | 0.5125 |
95
+ | 0.405 | 25.0 | 250 | 1.4182 | 0.5 |
96
+ | 0.3905 | 26.0 | 260 | 1.4157 | 0.5062 |
97
+ | 0.379 | 27.0 | 270 | 1.4125 | 0.5062 |
98
+ | 0.3706 | 28.0 | 280 | 1.4119 | 0.5062 |
99
+ | 0.3649 | 29.0 | 290 | 1.4115 | 0.5062 |
100
+ | 0.3618 | 30.0 | 300 | 1.4111 | 0.5062 |
101
+
102
+
103
+ ### Framework versions
104
+
105
+ - Transformers 4.46.2
106
+ - Pytorch 2.5.1+cu121
107
+ - Datasets 3.1.0
108
+ - Tokenizers 0.20.3
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f29e041d799f4b5ba43352e5ffbe86cf0fb4ce73eb718c52905732a090728f0
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a35e5e8409cd7a05600ae293b8201d215a9577a8917c08db24f7a16a5769886f
3
  size 343242432
runs/Nov22_04-43-54_5fda349fabe4/events.out.tfevents.1732250643.5fda349fabe4.2454.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d36820e581c50b93ca8b2ad065289351df553ff8fad4354dcec05ac3d30cdbcc
3
- size 20683
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:535b14ddf1ac2edfc469b0aa9b5748ea561a1756993e134e71f61e82f366b824
3
+ size 21571
runs/Nov22_04-43-54_5fda349fabe4/events.out.tfevents.1732254683.5fda349fabe4.2454.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b7e0fc9f2603f99cada43faa0f277e2b981d9830efe14696a80cbd35d433d65
3
+ size 411