
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# emotion-with-augmentation-data

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.
It achieves the following results on the evaluation set:
- Loss: 1.2647
- Accuracy: 0.625

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 20

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 2.0245        | 1.0   | 30   | 1.9436          | 0.4125   |
| 1.7584        | 2.0   | 60   | 1.6910          | 0.4688   |
| 1.4786        | 3.0   | 90   | 1.4755          | 0.5125   |
| 1.1628        | 4.0   | 120  | 1.3309          | 0.5437   |
| 0.8958        | 5.0   | 150  | 1.2398          | 0.5625   |
| 0.6309        | 6.0   | 180  | 1.2162          | 0.5625   |
| 0.4298        | 7.0   | 210  | 1.1475          | 0.6      |
| 0.2922        | 8.0   | 240  | 1.1929          | 0.5687   |
| 0.1959        | 9.0   | 270  | 1.1736          | 0.575    |
| 0.1518        | 10.0  | 300  | 1.1897          | 0.6188   |
| 0.1305        | 11.0  | 330  | 1.2232          | 0.6      |
| 0.1152        | 12.0  | 360  | 1.2435          | 0.6062   |
| 0.1043        | 13.0  | 390  | 1.2601          | 0.6125   |
| 0.0986        | 14.0  | 420  | 1.2647          | 0.625    |
| 0.0922        | 15.0  | 450  | 1.2797          | 0.6      |
| 0.0852        | 16.0  | 480  | 1.2887          | 0.6125   |
| 0.0851        | 17.0  | 510  | 1.2970          | 0.6062   |
| 0.0804        | 18.0  | 540  | 1.3018          | 0.6062   |
| 0.0788        | 19.0  | 570  | 1.3053          | 0.6      |
| 0.0785        | 20.0  | 600  | 1.3067          | 0.6      |


### Framework versions

- Transformers 4.48.3
- Pytorch 2.5.1+cu124
- Datasets 3.3.2
- Tokenizers 0.21.0

anger contempt disgust fear happy neutral sad surprise