CoolFace
Modelpublic

BTX24/beit-base-patch16-224-pt22k-ft22k-finetuned-stroke-binary

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
1likes8downloads
Model Card

beit-base-patch16-224-pt22k-ft22k-finetuned-stroke-binary

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

  • Loss: 0.2029
  • Accuracy: 0.9222
  • F1: 0.9214
  • Precision: 0.9234
  • Recall: 0.9222

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: 2e-05
  • trainbatchsize: 16
  • evalbatchsize: 8
  • seed: 42
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 64
  • optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: cosinewithrestarts
  • lrschedulerwarmup_ratio: 0.1
  • num_epochs: 48
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.72561.24771000.69130.56850.48230.47310.5685
0.66952.49542000.64800.62100.51640.59870.6210
0.59633.74303000.58820.67250.61180.69930.6725
0.5184.99074000.49900.74810.71670.78910.7481
0.43256.24775000.40900.80730.79570.82320.8073
0.38487.49546000.37030.83400.82570.84820.8340
0.35328.74307000.39580.83130.82010.85640.8313
0.32979.99078000.32570.86110.85580.87180.8611
0.328111.24779000.31690.86660.86120.87910.8666
0.293812.495410000.28140.88650.88410.89000.8865
0.286613.743011000.28280.88690.88370.89430.8869
0.288414.990712000.29290.88470.88100.89360.8847
0.280816.247713000.24580.90140.89990.90340.9014
0.25817.495414000.23510.90910.90800.91020.9091
0.274418.743015000.25160.90140.89940.90570.9014
0.26119.990716000.24530.90680.90500.91070.9068
0.251921.247717000.25640.89870.89610.90510.8987
0.259522.495418000.23180.90950.90790.91290.9095
0.254823.743019000.21960.91360.91280.91420.9136
0.232724.990720000.23760.90680.90500.91100.9068
0.256326.247721000.24210.90280.90050.90830.9028
0.234827.495422000.22130.91090.90950.91320.9109
0.242728.743023000.23080.90770.90600.91160.9077
0.216629.990724000.21520.91410.91280.91650.9141
0.234531.247725000.22830.90680.90490.91140.9068
0.235532.495426000.21730.91180.91030.91490.9118
0.229133.743027000.21490.91270.91130.91550.9127
0.231934.990728000.21230.91410.91270.91670.9141
0.22236.247729000.20530.91810.91710.91970.9181
0.223537.495430000.21210.91410.91270.91660.9141
0.222138.743031000.20130.91950.91880.92000.9195
0.226239.990732000.20290.92220.92140.92340.9222
0.217141.247733000.20750.91810.91700.92020.9181
0.226842.495434000.20450.91900.91800.92080.9190
0.222243.743035000.20500.92040.91940.92220.9204
0.216944.990736000.20700.91770.91650.91970.9177
0.224546.247737000.20640.91810.91700.92010.9181
0.214847.495438000.20660.91810.91700.92010.9181

Framework versions

  • Transformers 4.48.3
  • Pytorch 2.6.0+cu124
  • Datasets 3.4.0
  • Tokenizers 0.21.0

image/png image/png image/png image/png image/png image/png image/png image/png image/png