CoolFace
Modelpublic

ruben09/emotion_classification

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes34downloads
Model Card

<!-- 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_classification

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the imagefolder dataset. It achieves the following results on the evaluation set:

  • —Loss: 1.2493
  • —Accuracy: 0.5687

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
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 64
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: cosinewithrestarts
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 20

Training results

Training LossEpochStepValidation LossAccuracy
2.06791.0102.05740.175
2.03662.0202.00830.2812
1.94693.0301.91190.35
1.81664.0401.77020.4125
1.68215.0501.61760.45
1.55876.0601.57470.425
1.47037.0701.44440.5375
1.40328.0801.42260.5312
1.33679.0901.39370.5188
1.288910.01001.31860.5375
1.213611.01101.33130.55
1.174512.01201.30270.5312
1.147713.01301.30040.5375
1.141414.01401.24420.55
1.120215.01501.29570.5062
1.092316.01601.30450.5125
1.076517.01701.25330.5563
1.067818.01801.23920.5437
1.083719.01901.27500.5375
1.056220.02001.22750.5625

Framework versions

  • —Transformers 4.44.2
  • —Pytorch 2.4.0+cu121
  • —Datasets 2.21.0
  • —Tokenizers 0.19.1