CoolFace
Modelpublic

tuphamdf/skincare-detection

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
3likes49downloads
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. -->

skincare-detection

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

  • —Loss: 0.4840
  • —Accuracy: 0.8648

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

Training results

Training LossEpochStepValidation LossAccuracy
1.39610.99610.56290.7725
0.49822.01230.39910.8435
0.35632.991840.43300.8272
0.23144.02460.39690.8554
0.18154.993070.44920.8435
0.13326.03690.44740.8580
0.08696.994300.45200.8631
0.08448.04920.44690.8640
0.06818.995530.45330.8717
0.057410.06150.49520.8597
0.047710.996760.47720.8674
0.045411.97320.48400.8648

Framework versions

  • —Transformers 4.38.2
  • —Pytorch 2.1.2
  • —Datasets 2.17.1
  • —Tokenizers 0.15.2