ayooke97 commited on
Commit
5e42f7c
·
verified ·
1 Parent(s): e393255

End of training

Browse files
Files changed (2) hide show
  1. README.md +87 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.4875
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.5654
37
+ - Accuracy: 0.4875
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: 2e-05
57
+ - train_batch_size: 16
58
+ - eval_batch_size: 16
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
+ - lr_scheduler_warmup_ratio: 0.1
63
+ - num_epochs: 10
64
+ - mixed_precision_training: Native AMP
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | No log | 1.0 | 40 | 2.0725 | 0.1437 |
71
+ | No log | 2.0 | 80 | 2.0190 | 0.2313 |
72
+ | No log | 3.0 | 120 | 1.9191 | 0.325 |
73
+ | No log | 4.0 | 160 | 1.7563 | 0.4062 |
74
+ | No log | 5.0 | 200 | 1.6603 | 0.45 |
75
+ | No log | 6.0 | 240 | 1.6096 | 0.4625 |
76
+ | No log | 7.0 | 280 | 1.5654 | 0.4875 |
77
+ | No log | 8.0 | 320 | 1.5510 | 0.4813 |
78
+ | No log | 9.0 | 360 | 1.5434 | 0.4813 |
79
+ | No log | 10.0 | 400 | 1.5364 | 0.4875 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.49.0
85
+ - Pytorch 2.5.1+cpu
86
+ - Datasets 3.2.0
87
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6708b3e4bfbf5443a8b026aafc020c53bd0890a74a3ef12165286723030586fe
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:302238c38fe6c704fc14dd9ca628f96e336d43e87350c54255dca645560cd38e
3
  size 343242432