harriskr14 commited on
Commit
cac39df
·
verified ·
1 Parent(s): f2c700f

End of training

Browse files
README.md CHANGED
@@ -1,88 +1,93 @@
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.53125
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.3928
37
- - Accuracy: 0.5312
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: 32
58
- - eval_batch_size: 32
59
- - seed: 42
60
- - gradient_accumulation_steps: 4
61
- - total_train_batch_size: 128
62
- - optimizer: Use OptimizerNames.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: 10
66
-
67
- ### Training results
68
-
69
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
71
- | No log | 1.0 | 5 | 1.7580 | 0.4625 |
72
- | 1.6979 | 2.0 | 10 | 1.6392 | 0.5 |
73
- | 1.6979 | 3.0 | 15 | 1.5611 | 0.4813 |
74
- | 1.5214 | 4.0 | 20 | 1.4991 | 0.5312 |
75
- | 1.5214 | 5.0 | 25 | 1.4644 | 0.5188 |
76
- | 1.3978 | 6.0 | 30 | 1.4421 | 0.5375 |
77
- | 1.3978 | 7.0 | 35 | 1.4245 | 0.5188 |
78
- | 1.3172 | 8.0 | 40 | 1.3936 | 0.5312 |
79
- | 1.3172 | 9.0 | 45 | 1.3925 | 0.5563 |
80
- | 1.2726 | 10.0 | 50 | 1.3728 | 0.6125 |
81
-
82
-
83
- ### Framework versions
84
-
85
- - Transformers 4.52.4
86
- - Pytorch 2.7.1+cu128
87
- - Datasets 3.6.0
88
- - Tokenizers 0.21.1
 
 
 
 
 
 
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.51875
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.3560
37
+ - Accuracy: 0.5188
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: 32
58
+ - eval_batch_size: 32
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 128
62
+ - optimizer: Use OptimizerNames.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: 15
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
71
+ | No log | 1.0 | 5 | 1.6699 | 0.4313 |
72
+ | 1.5821 | 2.0 | 10 | 1.6118 | 0.4562 |
73
+ | 1.5821 | 3.0 | 15 | 1.5550 | 0.475 |
74
+ | 1.445 | 4.0 | 20 | 1.5128 | 0.5062 |
75
+ | 1.445 | 5.0 | 25 | 1.4508 | 0.5375 |
76
+ | 1.3202 | 6.0 | 30 | 1.4364 | 0.5 |
77
+ | 1.3202 | 7.0 | 35 | 1.3776 | 0.575 |
78
+ | 1.2242 | 8.0 | 40 | 1.3966 | 0.5 |
79
+ | 1.2242 | 9.0 | 45 | 1.3724 | 0.525 |
80
+ | 1.1589 | 10.0 | 50 | 1.3483 | 0.525 |
81
+ | 1.1589 | 11.0 | 55 | 1.3186 | 0.5687 |
82
+ | 1.0962 | 12.0 | 60 | 1.3295 | 0.5375 |
83
+ | 1.0962 | 13.0 | 65 | 1.3058 | 0.5875 |
84
+ | 1.0542 | 14.0 | 70 | 1.3296 | 0.5375 |
85
+ | 1.0542 | 15.0 | 75 | 1.3185 | 0.5813 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.52.4
91
+ - Pytorch 2.7.1+cu128
92
+ - Datasets 3.6.0
93
+ - Tokenizers 0.21.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ec6d1f20c108ec773767bf56000e070d72904b4373523707813de44cf246f42c
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c2b38d292a92c6d27245059553d288396ee3b3102f9e74519b61ad6722d10b8
3
  size 343242432
runs/Jun18_16-29-02_d178b2f6ba07/events.out.tfevents.1750264148.d178b2f6ba07.5363.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c87b9cb38620bce55b5b162781ad844e61cf76124bac7bcd2006cbeb99e7e4e0
3
- size 11168
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6e0495a77f42c681e2cbe971786177c3d559179f08c8eae85ea046f25a9c161
3
+ size 11833
runs/Jun18_16-29-02_d178b2f6ba07/events.out.tfevents.1750265246.d178b2f6ba07.5363.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9303fcb129dfa453870a1bc7d9b242ad56cff96415b4b7be9c1dc7d8fc95c577
3
+ size 405