CoolFace
Modelpublic

RushnaFathima/dinov2-base-finetuned-FetalPlane

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
0likes4downloads
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. -->

dinov2-base-finetuned-FetalPlane

This model is a fine-tuned version of facebook/dinov2-base on the imagefolder dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1769
  • —Accuracy: 0.9517
  • —F1 Weighted: 0.9518
  • —F1 Macro: 0.9518

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: 64
  • —evalbatchsize: 64
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 256
  • —optimizer: Use OptimizerNames.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: 15
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1 WeightedF1 Macro
0.22691.0440.14550.95020.95030.9503
0.19782.0880.15960.96570.96530.9653
0.14633.01320.28720.91280.91250.9125
0.12254.01760.17120.95170.95220.9522
0.08665.02200.17690.95170.95180.9518

Framework versions

  • —Transformers 4.47.0
  • —Pytorch 2.10.0+cu128
  • —Datasets 4.8.5
  • —Tokenizers 0.21.4