CoolFace
Modelpublic

Piro17/20E-affecthq

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

20E-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.8271
  • —Accuracy: 0.7188
  • —Precision: 0.7220
  • —Recall: 0.7188
  • —F1: 0.7190

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

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
1.91491.01941.88870.37500.34130.37500.3045
1.29032.03881.24850.57920.57260.57920.5526
1.0713.05821.05870.63210.62580.63210.6228
1.01854.07760.98170.66170.65840.66170.6553
0.8945.09700.92930.68690.68720.68690.6820
0.82836.011640.88810.69360.69290.69360.6905
0.81857.013580.86590.69820.70110.69820.6988
0.74998.015520.85580.70460.70500.70460.7021
0.72199.017460.83990.71240.71650.71240.7127
0.738210.019400.83000.71590.71840.71590.7145
0.639211.021340.83290.70880.71350.70880.7095
0.654912.023280.82970.71330.71350.71330.7120
0.676213.025220.81800.71560.71620.71560.7153
0.593714.027160.82710.71880.72200.71880.7190
0.56915.029100.82450.71780.71750.71780.7165
0.562316.031040.82280.71650.71530.71650.7157
0.529117.032980.82380.71620.71650.71620.7156
0.577518.034920.82460.71530.71620.71530.7151
0.54519.036860.82570.71780.71920.71780.7174
0.540920.038800.82450.71780.71870.71780.7177

Framework versions

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