CoolFace
Modelpublic

Piro17/finetuned-affecthq

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

finetuned-affecthq

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.8116
  • —Accuracy: 0.7179
  • —Precision: 0.7174
  • —Recall: 0.7179
  • —F1: 0.7167

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: 10

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
1.54131.01741.48100.48980.48670.48980.4409
1.03672.03481.05710.61550.61720.61550.6041
0.95343.05220.96730.64750.64760.64750.6375
0.85324.06960.90560.67480.67100.67480.6704
0.82115.08700.87070.69030.69120.69030.6836
0.77976.010440.84720.70500.70500.70500.7019
0.78167.012180.82980.71110.70990.71110.7096
0.71358.013920.81860.71110.71160.71110.7105
0.66979.015660.81430.71400.71240.71400.7126
0.676510.017400.81160.71790.71740.71790.7167

Framework versions

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