CoolFace
Modelpublic

Piro17/hq_fer2013

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

hq_fer2013

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: 0.8438
  • —Accuracy: 0.7022
  • —Precision: 0.7039
  • —Recall: 0.7022
  • —F1: 0.7022

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.30811.03981.31320.55550.50790.55550.5137
0.9912.07961.01410.63320.63560.63320.6153
0.90993.011940.92570.66820.66770.66820.6631
0.83064.015920.88320.67650.68380.67650.6747
0.77555.019900.85830.68920.68960.68920.6876
0.71296.023880.84420.69310.69510.69310.6922
0.65497.027860.84940.69520.70540.69520.6978
0.62468.031840.83940.69630.70230.69630.6977
0.61389.035820.84210.69960.70800.69960.7013
0.582410.039800.84380.70220.70390.70220.7022
0.551711.043780.84970.70020.70340.70020.7005
0.515412.047760.85080.70210.70300.70210.7018
0.531813.051740.85400.70100.70290.70100.7013

Framework versions

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