CoolFace
Modelpublic

bombshelll/swin-brain-tumor-type-classification

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

swin-brain-tumor-type-classification

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

  • —Loss: 0.2978
  • —Accuracy: 0.9081

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: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 128
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 25

Training results

Training LossEpochStepValidation LossAccuracy
2.48241.0212.25580.2420
2.12132.0421.81650.4170
1.66133.0631.36780.5671
1.32374.0841.19400.6060
1.15435.01050.92050.7049
0.93176.01260.81210.7314
0.78917.01470.65530.7986
0.68128.01680.57200.8180
0.63489.01890.53640.8180
0.548810.02100.47800.8428
0.50511.02310.45400.8569
0.475812.02520.39920.8852
0.430613.02730.42800.8675
0.395214.02940.40190.8781
0.372615.03150.37940.8763
0.319116.03360.34820.8958
0.301417.03570.33720.8940
0.278518.03780.34720.8993
0.294819.03990.32460.9064
0.261820.04200.30600.9081
0.270521.04410.31220.9046
0.247922.04620.30610.9028
0.241123.04830.30400.9099
0.255624.05040.29900.9099
0.241325.05250.29780.9081

Framework versions

  • —Transformers 4.45.1
  • —Pytorch 2.4.0
  • —Datasets 3.0.1
  • —Tokenizers 0.20.0