CoolFace
Modelpublic

Kushagra07/vit-base-patch16-224-finetuned-ind-17-imbalanced-aadhaarmask

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes9downloads
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-finetuned-ind-17-imbalanced-aadhaarmask

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

  • —Loss: 0.3494
  • —Accuracy: 0.8484
  • —Recall: 0.8484
  • —F1: 0.8478
  • —Precision: 0.8513

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.57920.99742930.59890.79690.79690.78290.7897
0.421.99835870.52510.80460.80460.79600.7985
0.35012.99918810.42990.83350.83350.83120.8363
0.31874.011750.43020.81690.81690.81440.8182
0.38734.997414680.42460.82500.82500.82380.8326
0.37865.998317620.38810.83060.83060.83030.8394
0.3376.999120560.38030.83060.83060.83040.8351
0.27178.023500.37850.83950.83950.83610.8482
0.27538.997426430.38050.83270.83270.83140.8346
0.28149.974529300.33620.84800.84800.84670.8499

Framework versions

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