carlosleao commited on
Commit
a795949
1 Parent(s): 5136dd7

facial-expression-recognition-mmi

Browse files
Files changed (4) hide show
  1. README.md +58 -18
  2. all_results.json +6 -6
  3. eval_results.json +6 -6
  4. model.safetensors +1 -1
README.md CHANGED
@@ -3,11 +3,26 @@ library_name: transformers
3
  base_model: carlosleao/vit-Facial-Expression-Recognition
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  model-index:
9
  - name: vit-Facial-Expression-Recognition
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # vit-Facial-Expression-Recognition
17
 
18
- This model is a fine-tuned version of [carlosleao/vit-Facial-Expression-Recognition](https://huggingface.co/carlosleao/vit-Facial-Expression-Recognition) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.4829
21
- - Accuracy: 0.8460
22
 
23
  ## Model description
24
 
@@ -52,22 +67,47 @@ The following hyperparameters were used during training:
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
  |:-------------:|:------:|:----:|:---------------:|:--------:|
55
- | 1.2921 | 0.8959 | 100 | 1.3420 | 0.7130 |
56
- | 0.9341 | 1.7917 | 200 | 1.0525 | 0.7997 |
57
- | 0.7037 | 2.6876 | 300 | 0.8848 | 0.7994 |
58
- | 0.6143 | 3.5834 | 400 | 0.7646 | 0.8108 |
59
- | 0.5353 | 4.4793 | 500 | 0.6962 | 0.8100 |
60
- | 0.5025 | 5.3751 | 600 | 0.6030 | 0.8368 |
61
- | 0.4648 | 6.2710 | 700 | 0.5725 | 0.8351 |
62
- | 0.4365 | 7.1669 | 800 | 0.5417 | 0.8321 |
63
- | 0.4213 | 8.0627 | 900 | 0.5227 | 0.8293 |
64
- | 0.3939 | 8.9586 | 1000 | 0.4829 | 0.8460 |
65
- | 0.3496 | 9.8544 | 1100 | 0.4615 | 0.8539 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
 
67
 
68
  ### Framework versions
69
 
70
- - Transformers 4.45.1
71
- - Pytorch 2.4.1+cu121
72
  - Datasets 3.0.1
73
- - Tokenizers 0.20.0
 
3
  base_model: carlosleao/vit-Facial-Expression-Recognition
4
  tags:
5
  - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
  metrics:
9
  - accuracy
10
  model-index:
11
  - name: vit-Facial-Expression-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: test
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.789064300530076
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
30
 
31
  # vit-Facial-Expression-Recognition
32
 
33
+ This model is a fine-tuned version of [carlosleao/vit-Facial-Expression-Recognition](https://huggingface.co/carlosleao/vit-Facial-Expression-Recognition) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.6250
36
+ - Accuracy: 0.7891
37
 
38
  ## Model description
39
 
 
67
 
68
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
  |:-------------:|:------:|:----:|:---------------:|:--------:|
70
+ | 1.6718 | 0.2753 | 100 | 1.5767 | 0.5306 |
71
+ | 1.1709 | 0.5506 | 200 | 1.2371 | 0.6482 |
72
+ | 0.9479 | 0.8259 | 300 | 1.1168 | 0.6897 |
73
+ | 0.8293 | 1.1012 | 400 | 1.0489 | 0.6954 |
74
+ | 0.7735 | 1.3765 | 500 | 0.9967 | 0.7021 |
75
+ | 0.7132 | 1.6518 | 600 | 0.9411 | 0.7188 |
76
+ | 0.6777 | 1.9270 | 700 | 0.9154 | 0.7236 |
77
+ | 0.6216 | 2.2023 | 800 | 0.8650 | 0.7359 |
78
+ | 0.5866 | 2.4776 | 900 | 0.8482 | 0.7344 |
79
+ | 0.5725 | 2.7529 | 1000 | 0.7778 | 0.7487 |
80
+ | 0.5442 | 3.0282 | 1100 | 0.8053 | 0.7383 |
81
+ | 0.4893 | 3.3035 | 1200 | 0.7572 | 0.7531 |
82
+ | 0.4852 | 3.5788 | 1300 | 0.7322 | 0.7588 |
83
+ | 0.4862 | 3.8541 | 1400 | 0.6850 | 0.7734 |
84
+ | 0.4203 | 4.1294 | 1500 | 0.7032 | 0.7612 |
85
+ | 0.4037 | 4.4047 | 1600 | 0.6758 | 0.7670 |
86
+ | 0.4214 | 4.6800 | 1700 | 0.6657 | 0.7732 |
87
+ | 0.4166 | 4.9553 | 1800 | 0.6488 | 0.7788 |
88
+ | 0.3437 | 5.2306 | 1900 | 0.6573 | 0.7754 |
89
+ | 0.3488 | 5.5058 | 2000 | 0.6713 | 0.7695 |
90
+ | 0.3355 | 5.7811 | 2100 | 0.6249 | 0.7853 |
91
+ | 0.3187 | 6.0564 | 2200 | 0.6679 | 0.7715 |
92
+ | 0.2765 | 6.3317 | 2300 | 0.6246 | 0.7872 |
93
+ | 0.2853 | 6.6070 | 2400 | 0.6376 | 0.7830 |
94
+ | 0.2755 | 6.8823 | 2500 | 0.6349 | 0.7813 |
95
+ | 0.2428 | 7.1576 | 2600 | 0.6273 | 0.7860 |
96
+ | 0.2351 | 7.4329 | 2700 | 0.6427 | 0.7804 |
97
+ | 0.2391 | 7.7082 | 2800 | 0.6380 | 0.7827 |
98
+ | 0.2421 | 7.9835 | 2900 | 0.6283 | 0.7868 |
99
+ | 0.2097 | 8.2588 | 3000 | 0.6250 | 0.7891 |
100
+ | 0.2179 | 8.5341 | 3100 | 0.6386 | 0.7863 |
101
+ | 0.214 | 8.8094 | 3200 | 0.6360 | 0.7854 |
102
+ | 0.205 | 9.0847 | 3300 | 0.6244 | 0.7918 |
103
+ | 0.2029 | 9.3599 | 3400 | 0.6333 | 0.7875 |
104
+ | 0.1995 | 9.6352 | 3500 | 0.6340 | 0.7872 |
105
+ | 0.1999 | 9.9105 | 3600 | 0.6332 | 0.7877 |
106
 
107
 
108
  ### Framework versions
109
 
110
+ - Transformers 4.45.2
111
+ - Pytorch 2.5.0+cu124
112
  - Datasets 3.0.1
113
+ - Tokenizers 0.20.1
all_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 9.944008958566629,
3
- "eval_accuracy": 0.8460463816708578,
4
- "eval_loss": 0.4829452931880951,
5
- "eval_runtime": 6.2929,
6
- "eval_samples_per_second": 568.737,
7
- "eval_steps_per_second": 17.798
8
  }
 
1
  {
2
+ "epoch": 9.993117687543014,
3
+ "eval_accuracy": 0.789064300530076,
4
+ "eval_loss": 0.6250218152999878,
5
+ "eval_runtime": 811.3981,
6
+ "eval_samples_per_second": 21.39,
7
+ "eval_steps_per_second": 0.669
8
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 9.944008958566629,
3
- "eval_accuracy": 0.8460463816708578,
4
- "eval_loss": 0.4829452931880951,
5
- "eval_runtime": 6.2929,
6
- "eval_samples_per_second": 568.737,
7
- "eval_steps_per_second": 17.798
8
  }
 
1
  {
2
+ "epoch": 9.993117687543014,
3
+ "eval_accuracy": 0.789064300530076,
4
+ "eval_loss": 0.6250218152999878,
5
+ "eval_runtime": 811.3981,
6
+ "eval_samples_per_second": 21.39,
7
+ "eval_steps_per_second": 0.669
8
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8b5693db22bcb50b9eb315f167352e32bae1f46fe65e579dc783ab3345f9c3ee
3
  size 343239356
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffa9be9f9d91b4004635c2003dd0403fdbd8c6008eabf035444c5c34daf4973f
3
  size 343239356