finetuned-pneumonia-classification
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.1026
- Accuracy: 0.9663
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.0002
- train_batch_size: 32
- eval_batch_size: 16
- seed: 42
- 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: 4
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.284 | 0.7634 | 100 | 0.3032 | 0.8830 |
| 0.1528 | 1.5267 | 200 | 0.2668 | 0.9119 |
| 0.1592 | 2.2901 | 300 | 0.1441 | 0.9487 |
| 0.0885 | 3.0534 | 400 | 0.1037 | 0.9663 |
| 0.098 | 3.8168 | 500 | 0.1026 | 0.9663 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.6.0+cu124
- Datasets 3.6.0
- Tokenizers 0.21.1
- Downloads last month
- 8
Model tree for Gabriel2502/finetuned-pneumonia-classification
Base model
google/vit-base-patch16-224-in21k