Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
beit-base-patch16-224-pt22k-ft22k-bloodmnist-fold-11
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.0772
- Accuracy: 0.9719
- Precision: 0.9654
- Recall: 0.9695
- F1: 0.9673
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
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
---|---|---|---|---|---|---|---|
0.5466 | 1.0 | 196 | 0.2211 | 0.9113 | 0.9086 | 0.8884 | 0.8893 |
0.4185 | 2.0 | 392 | 0.3575 | 0.8718 | 0.8661 | 0.8740 | 0.8495 |
0.362 | 3.0 | 588 | 0.3450 | 0.9017 | 0.9282 | 0.8644 | 0.8763 |
0.4376 | 4.0 | 784 | 0.1935 | 0.9359 | 0.9191 | 0.9322 | 0.9229 |
0.3932 | 5.0 | 980 | 0.1395 | 0.9508 | 0.9431 | 0.9423 | 0.9425 |
0.3342 | 6.0 | 1176 | 0.1824 | 0.9236 | 0.9171 | 0.9274 | 0.9140 |
0.2681 | 7.0 | 1372 | 0.1000 | 0.9596 | 0.9533 | 0.9529 | 0.9521 |
0.2246 | 8.0 | 1568 | 0.0909 | 0.9666 | 0.9669 | 0.9575 | 0.9610 |
0.1828 | 9.0 | 1764 | 0.0925 | 0.9649 | 0.9609 | 0.9574 | 0.9586 |
0.1423 | 10.0 | 1960 | 0.0772 | 0.9719 | 0.9654 | 0.9695 | 0.9673 |
Framework versions
- PEFT 0.15.2
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 3.6.0
- Tokenizers 0.21.2
- Downloads last month
- 4
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support
Model tree for selmamalak/beit-base-patch16-224-pt22k-ft22k-bloodmnist-fold-11
Base model
microsoft/beit-base-patch16-224-pt22k-ft22k