CoolFace
Modelpublic

gcperk20/deit-small-patch16-224-finetuned-piid

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

deit-small-patch16-224-finetuned-piid

This model is a fine-tuned version of facebook/deit-small-patch16-224 on the imagefolder dataset. It achieves the following results on the evaluation set:

  • Loss: 0.5615
  • Accuracy: 0.7945

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: 8
  • evalbatchsize: 8
  • seed: 42
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 32
  • 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 LossAccuracy
1.18030.98201.02330.5753
0.7062.0410.72990.7078
0.60162.98610.68770.7123
0.49034.0820.61390.7671
0.46924.981020.56670.7626
0.3746.01230.51460.8037
0.29956.981430.55960.7534
0.29058.01640.53130.7534
0.26128.981840.53280.7900
0.249910.02050.53690.7991
0.18510.982250.57540.7808
0.192712.02460.58860.7717
0.144612.982660.51600.7991
0.15514.02870.53530.8082
0.157714.983070.58480.7808
0.124316.03280.55720.7991
0.103816.983480.58590.7763
0.130518.03690.57520.7900
0.086818.983890.56160.8037
0.136419.514000.56150.7945

Framework versions

  • Transformers 4.35.0
  • Pytorch 2.1.0+cu118
  • Datasets 2.14.6
  • Tokenizers 0.14.1