CoolFace
Modelpublic

selmamalak/breastmnist-beit-base-finetuned

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes5downloads
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-beit-base-finetuned

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

  • —Loss: 0.5228
  • —Accuracy: 0.7308
  • —Precision: 0.3654
  • —Recall: 0.5
  • —F1: 0.4222

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.83250.73080.36540.50.4222
0.73151.9429170.57440.73080.36540.50.4222
0.62232.9714260.59110.73080.36540.50.4222
0.58154.0350.57430.73080.36540.50.4222
0.56274.9143430.65460.73080.36540.50.4222
0.55525.9429520.53810.73080.36540.50.4222
0.5366.9714610.51010.79490.89040.61900.6308
0.54548.0700.52730.76920.72460.61650.6286
0.54548.9143780.51760.73080.36540.50.4222
0.50589.1429800.52280.73080.36540.50.4222

Framework versions

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