Configuration Parsing
		Warning:
	In adapter_config.json: "peft.task_type" must be a string
	
							vit-base-patch16-224-in21k-bloodmnist-fold-10
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.0733
 - Accuracy: 0.9781
 - Precision: 0.9758
 - Recall: 0.9752
 - F1: 0.9753
 
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.4319 | 1.0 | 196 | 0.2901 | 0.8841 | 0.8705 | 0.8576 | 0.8544 | 
| 0.3364 | 2.0 | 392 | 0.3083 | 0.8964 | 0.8755 | 0.9010 | 0.8776 | 
| 0.64 | 3.0 | 588 | 0.1880 | 0.9359 | 0.9383 | 0.9150 | 0.9204 | 
| 0.2755 | 4.0 | 784 | 0.1467 | 0.9526 | 0.9543 | 0.9454 | 0.9491 | 
| 0.2675 | 5.0 | 980 | 0.1514 | 0.9491 | 0.9414 | 0.9507 | 0.9431 | 
| 0.2292 | 6.0 | 1176 | 0.1017 | 0.9666 | 0.9659 | 0.9589 | 0.9615 | 
| 0.1987 | 7.0 | 1372 | 0.0963 | 0.9710 | 0.9654 | 0.9668 | 0.9658 | 
| 0.1732 | 8.0 | 1568 | 0.0733 | 0.9781 | 0.9758 | 0.9752 | 0.9753 | 
| 0.1852 | 9.0 | 1764 | 0.0863 | 0.9728 | 0.9672 | 0.9698 | 0.9678 | 
| 0.113 | 10.0 | 1960 | 0.0719 | 0.9781 | 0.9729 | 0.9749 | 0.9735 | 
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
 - -
 
	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-10
Base model
google/vit-base-patch16-224-in21k