CoolFace
Modelpublic

Kushagra07/swin-base-patch4-window7-224-finetuned-ind-17-imbalanced-aadhaarmask

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

swin-base-patch4-window7-224-finetuned-ind-17-imbalanced-aadhaarmask

This model is a fine-tuned version of microsoft/swin-base-patch4-window7-224 on the imagefolder dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3209
  • —Accuracy: 0.8557
  • —Recall: 0.8557
  • —F1: 0.8542
  • —Precision: 0.8560

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

Training results

Training LossEpochStepValidation LossAccuracyRecallF1Precision
0.51550.99742930.57100.79350.79350.78210.7895
0.42451.99835870.47290.82380.82380.81870.8266
0.41832.99918810.41450.84080.84080.83090.8350
0.40884.011750.39010.84250.84250.83750.8501
0.34894.997414680.37030.84630.84630.84460.8518
0.31155.998317620.35000.85400.85400.85250.8605
0.30876.999120560.33380.85190.85190.84940.8582
0.23728.023500.31810.85480.85480.85430.8587
0.28168.997426430.31670.85360.85360.85300.8561
0.23789.974529300.30630.87020.87020.86860.8709

Framework versions

  • —Transformers 4.40.1
  • —Pytorch 2.2.0a0+81ea7a4
  • —Datasets 2.19.0
  • —Tokenizers 0.19.1