CoolFace
Modelpublic

selmamalak/breastmnist-deit-base-finetuned

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

breastmnist-deit-base-finetuned

This model is a fine-tuned version of facebook/deit-base-patch16-224 on the medmnist-v2 dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3832
  • —Accuracy: 0.8333
  • —Precision: 0.8079
  • —Recall: 0.7431
  • —F1: 0.7653

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.005
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 64
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 10
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
No log0.914380.50260.74360.87010.52380.4708
0.61681.9429170.47620.84620.82860.75940.7833
0.59542.9714260.53050.73080.36540.50.4222
0.59344.0350.47900.76920.78360.58650.5846
0.5264.9143430.36930.87180.86980.79200.8194
0.46515.9429520.47890.79490.74340.76940.7534
0.4936.9714610.41870.82050.77920.74190.7565
0.43378.0700.36000.85900.84170.78320.8051
0.43378.9143780.34680.87180.85440.80700.8260
0.4189.1429800.34540.87180.86980.79200.8194

Framework versions

  • —PEFT 0.11.1
  • —Transformers 4.41.1
  • —Pytorch 2.3.0+cu121
  • —Datasets 2.19.1
  • —Tokenizers 0.19.1