CoolFace
Modelpublic

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

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

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

  • —Loss: 0.3294
  • —Accuracy: 0.8421
  • —Recall: 0.8421
  • —F1: 0.8405
  • —Precision: 0.8450

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.52690.99742930.53930.80290.80290.79430.7941
0.42751.99835870.46300.81820.81820.81030.8255
0.46812.99918810.43460.84080.84080.83580.8557
0.37214.011750.36310.84500.84500.84170.8541
0.40544.997414680.35360.84550.84550.84450.8491
0.25195.998317620.37470.84210.84210.83910.8549
0.29236.999120560.36640.83950.83950.84020.8467
0.22888.023500.34960.83820.83820.83770.8442
0.16428.997426430.34550.84630.84630.84440.8468
0.17839.974529300.34680.84760.84760.84630.8490

Framework versions

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