Team Ai
Modelpublic

jayanta/vit-base-patch16-224-in21k-face-recognition

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
13likes20downloads
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-in21k-face-recognition

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.0015
  • —Accuracy: 1.0000

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: 0.00012
  • —trainbatchsize: 64
  • —evalbatchsize: 64
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 256
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 8

Training results

Training LossEpochStepValidation LossAccuracy
0.03681.03720.03461.0000
0.00942.07440.00921.0000
0.00463.011160.00471.0000
0.00294.014880.00291.0
0.00225.018600.00230.9999
0.00176.022320.00171.0
0.00157.026040.00151.0
0.00148.029760.00151.0000

Framework versions

  • —Transformers 4.30.2
  • —Pytorch 1.13.1+cu117
  • —Datasets 2.13.2
  • —Tokenizers 0.11.0