CoolFace
Modelpublic

Mauregato/vit-base-patch16-224-best-finetuned-on-affectnet_short

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
1likes189downloads
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. -->

vit-base-patch16-224-best-finetuned-on-affectnet_short

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

  • —Loss: 0.9712
  • —Accuracy: 0.6718
  • —Precision: 0.6698
  • —Recall: 0.6718
  • —F1: 0.6703

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: 32
  • —evalbatchsize: 16
  • —seed: 42
  • —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: 22

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
1.99681.0321.91130.27540.25180.27540.2280
1.41782.0641.27040.50490.51490.50490.4900
1.17513.0961.11160.58410.58910.58410.5787
1.01274.01281.02370.61620.63350.61620.6141
0.99695.01600.98900.62590.62940.62590.6150
0.93766.01920.97680.61900.63350.61900.6183
0.82997.02240.95790.63570.63390.63570.6282
0.76458.02560.93660.64890.65590.64890.6474
0.79449.02880.93030.64430.64940.64430.6447
0.733410.03200.95100.65460.66340.65460.6523
0.659611.03520.93690.64490.65280.64490.6428
0.678112.03840.97170.63680.65130.63680.6360
0.568813.04160.95090.65400.65310.65400.6495
0.576614.04480.94850.66150.66550.66150.6601
0.552915.04800.95900.65690.65610.65690.6538
0.499816.05120.96770.65120.65140.65120.6488
0.490817.05440.96700.66380.66450.66380.6616
0.468218.05760.96350.66780.67070.66780.6684
0.476119.06080.96800.66670.66740.66670.6658
0.416120.06400.97010.67130.67190.67130.6701
0.429521.06720.97120.67180.66980.67180.6703
0.43422.07040.97550.67070.67050.67070.6690

Framework versions

  • —Transformers 4.29.0
  • —Pytorch 2.0.0+cu118
  • —Datasets 2.12.0
  • —Tokenizers 0.13.3