CoolFace
Modelpublic

Newvel/face_age_detection_base_v3_weighted

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

faceagedetectionbasev3_weighted

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

  • —Loss: 0.0928
  • —Accuracy: 0.9691

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: 2e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 128
  • —optimizer: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 6

Training results

Training LossEpochStepValidation LossAccuracy
0.12160.99681570.12570.9567
0.11091.99523140.11000.9637
0.09472.99374710.10970.9640
0.07453.99846290.09280.9679
0.05654.99687860.09410.9668
0.07165.98899420.09280.9691

Framework versions

  • —Transformers 4.46.3
  • —Pytorch 2.4.0
  • —Datasets 3.1.0
  • —Tokenizers 0.20.3