Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
beit-base-patch16-224-pt22k-ft22k-bloodmnist-fold-10
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.0876
- Accuracy: 0.9754
- Precision: 0.9703
- Recall: 0.9717
- F1: 0.9708
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.5015 | 1.0 | 196 | 0.2933 | 0.9043 | 0.9028 | 0.8902 | 0.8905 |
0.5303 | 2.0 | 392 | 0.2822 | 0.8982 | 0.8814 | 0.9037 | 0.8835 |
0.4293 | 3.0 | 588 | 0.2254 | 0.9245 | 0.9121 | 0.9036 | 0.9048 |
0.4172 | 4.0 | 784 | 0.2907 | 0.9034 | 0.8896 | 0.9012 | 0.8887 |
0.3839 | 5.0 | 980 | 0.2198 | 0.9131 | 0.9026 | 0.9209 | 0.9051 |
0.3472 | 6.0 | 1176 | 0.1740 | 0.9491 | 0.9456 | 0.9382 | 0.9409 |
0.3016 | 7.0 | 1372 | 0.1452 | 0.9517 | 0.9490 | 0.9395 | 0.9435 |
0.2055 | 8.0 | 1568 | 0.1076 | 0.9640 | 0.9601 | 0.9602 | 0.9598 |
0.2336 | 9.0 | 1764 | 0.1058 | 0.9666 | 0.9651 | 0.9578 | 0.9602 |
0.1601 | 10.0 | 1960 | 0.0876 | 0.9754 | 0.9703 | 0.9717 | 0.9708 |
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-10
Base model
microsoft/beit-base-patch16-224-pt22k-ft22k