CoolFace
Modelpublic

Piro17/13E-affecthq-fer-balanced

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
0likes6downloads
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. -->

13E-affecthq-fer-balanced

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

  • —Loss: 1.0526
  • —Accuracy: 0.6225
  • —Precision: 0.6161
  • —Recall: 0.6225
  • —F1: 0.6167

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: 1e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 17
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 128
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 13

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
1.78631.01331.76320.40050.36170.40050.3058
1.36532.02661.36300.50490.48380.50490.4445
1.24683.03991.24750.54660.54510.54660.5115
1.15274.05321.18650.57610.56120.57610.5580
1.08625.06651.14480.57850.56870.57850.5659
1.0646.07981.11080.59720.58670.59720.5853
1.00377.09311.09690.60190.59680.60190.5946
0.95338.010641.07640.61260.60340.61260.6046
0.90639.011971.07110.61550.60350.61550.6047
0.866610.013301.05890.61730.61070.61730.6108
0.836411.014631.05560.61780.61100.61780.6108
0.865912.015961.05210.61970.61410.61970.6151
0.838313.017291.05260.62250.61610.62250.6167

Framework versions

  • —Transformers 4.27.0.dev0
  • —Pytorch 1.13.1+cu116
  • —Datasets 2.9.0
  • —Tokenizers 0.13.2