Edit model card

gbla_pneumonia_detector

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.0751
  • Accuracy: 0.9751

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: 5e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 64
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 15
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.4813 0.9882 63 0.2063 0.9279
0.1972 1.9922 127 0.0949 0.9725
0.1834 2.9961 191 0.0874 0.9691
0.1517 4.0 255 0.0751 0.9751
0.1367 4.9882 318 0.1386 0.9433
0.1343 5.9922 382 0.1359 0.9511
0.1099 6.9961 446 0.1799 0.9356

Framework versions

  • Transformers 4.42.4
  • Pytorch 2.3.1+cu121
  • Datasets 2.21.0
  • Tokenizers 0.19.1
Downloads last month
0
Safetensors
Model size
85.8M params
Tensor type
F32
·
Inference API
Unable to determine this model's library. Check the docs .

Model tree for Ewakaa/gbla_pneumonia_detector

Finetuned
(1670)
this model