Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
beit-base-patch16-224-pt22k-ft22k-bloodmnist-fold-8
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.0905
- Accuracy: 0.9781
- Precision: 0.9763
- Recall: 0.9767
- F1: 0.9764
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.5927 | 1.0 | 196 | 0.2784 | 0.9008 | 0.9204 | 0.8694 | 0.8859 |
0.554 | 2.0 | 392 | 0.2412 | 0.9192 | 0.9080 | 0.9190 | 0.9095 |
0.4166 | 3.0 | 588 | 0.2619 | 0.9052 | 0.8947 | 0.8986 | 0.8937 |
0.4265 | 4.0 | 784 | 0.4057 | 0.8578 | 0.8847 | 0.8177 | 0.8094 |
0.3339 | 5.0 | 980 | 0.1495 | 0.9508 | 0.9403 | 0.9540 | 0.9465 |
0.305 | 6.0 | 1176 | 0.1372 | 0.9552 | 0.9474 | 0.9503 | 0.9481 |
0.2903 | 7.0 | 1372 | 0.1451 | 0.9482 | 0.9488 | 0.9399 | 0.9418 |
0.2211 | 8.0 | 1568 | 0.1151 | 0.9631 | 0.9596 | 0.9636 | 0.9610 |
0.1829 | 9.0 | 1764 | 0.1034 | 0.9640 | 0.9607 | 0.9645 | 0.9625 |
0.1301 | 10.0 | 1960 | 0.0905 | 0.9781 | 0.9763 | 0.9767 | 0.9764 |
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-8
Base model
microsoft/beit-base-patch16-224-pt22k-ft22k