daniakartika commited on
Commit
ed64480
·
verified ·
1 Parent(s): 239a703

End of training

Browse files
README.md CHANGED
@@ -1,78 +1,80 @@
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-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.425
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-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.6656
37
- - Accuracy: 0.425
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
- - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
- - lr_scheduler_type: linear
62
- - num_epochs: 3
63
-
64
- ### Training results
65
-
66
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
- | No log | 1.0 | 40 | 1.9165 | 0.3438 |
69
- | No log | 2.0 | 80 | 1.7089 | 0.4188 |
70
- | No log | 3.0 | 120 | 1.6656 | 0.425 |
71
-
72
-
73
- ### Framework versions
74
-
75
- - Transformers 4.49.0
76
- - Pytorch 2.5.1+cpu
77
- - Datasets 3.3.2
78
- - Tokenizers 0.21.0
 
 
 
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-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.43125
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-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.7576
37
+ - Accuracy: 0.4313
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
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 5
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
+ | No log | 1.0 | 20 | 1.9557 | 0.3438 |
69
+ | No log | 2.0 | 40 | 1.8729 | 0.3812 |
70
+ | No log | 3.0 | 60 | 1.8088 | 0.4125 |
71
+ | No log | 4.0 | 80 | 1.7655 | 0.4188 |
72
+ | No log | 5.0 | 100 | 1.7576 | 0.4313 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.49.0
78
+ - Pytorch 2.5.1+cu124
79
+ - Datasets 3.3.2
80
+ - Tokenizers 0.21.0
runs/Feb24_13-36-59_323ddc776b70/events.out.tfevents.1740404239.323ddc776b70.1704.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3f1b939cdcf7d4191b3d42cde6dc5dd673ee99834ec833392e6375b9cc7ac5fa
3
- size 17385
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:264f6c669c0faacc47be505c775ef2f5defd90c4ad536adb8190148afbb62de2
3
+ size 18050
runs/Feb24_13-36-59_323ddc776b70/events.out.tfevents.1740405465.323ddc776b70.1704.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0db10be6fd18351aef2560f94adcf01d5ed8a7c96437b008476c824d2dca7f7e
3
+ size 405