CoolFace
Modelpublic

selmamalak/chest-deit-base-finetuned

sourceHugging Faceapache-2.0updated 3y 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. -->

chest-deit-base-finetuned

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

  • Loss: 0.0979
  • Accuracy: 0.9622
  • Precision: 0.9531
  • Recall: 0.9562
  • F1: 0.9546

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
0.25560.99630.20190.91850.94460.84690.8822
0.23021.991270.10980.96140.93960.96540.9514
0.22583.01910.11510.96220.96410.93720.9496
0.14654.02550.07330.97250.96530.96330.9643
0.17634.993180.07630.97250.97030.95800.9639
0.16275.993820.10570.95710.93150.96560.9466
0.15097.04460.07010.97510.96380.97250.9680
0.12098.05100.10470.95710.93150.96560.9466
0.09618.995730.07210.97340.95770.97560.9662
0.10639.886300.08850.96220.93980.96810.9526

Framework versions

  • PEFT 0.9.0
  • Transformers 4.38.2
  • Pytorch 2.2.1+cu121
  • Datasets 2.18.0
  • Tokenizers 0.15.2