Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
vit-base-patch16-224-in21k-bloodmnist-fold-1
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the medmnist-v2 dataset. It achieves the following results on the evaluation set:
- Loss: 0.0963
- Accuracy: 0.9675
- Precision: 0.9667
- Recall: 0.9609
- F1: 0.9637
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.3754 | 1.0 | 196 | 0.2583 | 0.9035 | 0.8902 | 0.9023 | 0.8860 |
0.3382 | 2.0 | 392 | 0.2199 | 0.9167 | 0.9049 | 0.9093 | 0.9038 |
0.3204 | 3.0 | 588 | 0.1978 | 0.9333 | 0.9242 | 0.9319 | 0.9268 |
0.2753 | 4.0 | 784 | 0.1825 | 0.9368 | 0.9355 | 0.9245 | 0.9276 |
0.1969 | 5.0 | 980 | 0.1701 | 0.9439 | 0.9446 | 0.9287 | 0.9322 |
0.224 | 6.0 | 1176 | 0.1203 | 0.9605 | 0.9572 | 0.9584 | 0.9577 |
0.1761 | 7.0 | 1372 | 0.1017 | 0.9658 | 0.9636 | 0.9600 | 0.9616 |
0.1487 | 8.0 | 1568 | 0.1242 | 0.9579 | 0.9514 | 0.9620 | 0.9551 |
0.1362 | 9.0 | 1764 | 0.0963 | 0.9675 | 0.9667 | 0.9609 | 0.9637 |
0.1366 | 10.0 | 1960 | 0.0945 | 0.9675 | 0.9701 | 0.9627 | 0.9660 |
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
- 62
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support
Model tree for selmamalak/vit-base-patch16-224-in21k-bloodmnist-fold-1
Base model
google/vit-base-patch16-224-in21k