CoolFace
Modelpublic

selmamalak/chest-swin-large-finetuned

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

chest-swin-large-finetuned

This model is a fine-tuned version of microsoft/swin-large-patch4-window7-224-in22k on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1159
  • —Accuracy: 0.9588
  • —Precision: 0.9599
  • —Recall: 0.9401
  • —F1: 0.9492

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.33050.99630.16000.93650.94780.88680.9119
0.23351.991270.15520.93130.89680.94720.9166
0.19773.01910.08550.97340.96080.97140.9659
0.17464.02550.08700.97940.97940.96690.9729
0.17974.993180.08290.97000.95490.96900.9617
0.14365.993820.07970.97080.95560.97070.9628
0.16327.04460.08160.97000.95080.97540.9621
0.11258.05100.10070.96140.93650.97170.9519
0.10768.995730.09000.96910.94820.97700.9612
0.11889.886300.10640.96220.93770.97230.9530

Framework versions

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