Team Ai
Modelpublic

jaypratap/vit-pretraining-2024_04_02-atelectasis-classifier

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes135downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

vit-pretraining-20240402-atelectasis-classifier

This model was trained from scratch on the imagefolder dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.5020
  • —Accuracy: 0.7644

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-06
  • —trainbatchsize: 4
  • —evalbatchsize: 4
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 16
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.2
  • —num_epochs: 20

Training results

Training LossEpochStepValidation LossAccuracy
0.63041.05370.63420.6709
0.59312.010740.56690.7207
0.50273.016110.53970.7393
0.56594.021480.53410.7458
0.51155.026850.54330.7346
0.51086.032220.54540.7309
0.51877.037590.51360.7621
0.44358.042960.50570.7677
0.5839.048330.50420.7584
0.525610.053700.52490.7495
0.481811.059070.52120.7481
0.557512.064440.50610.7481
0.357213.069810.50420.7602
0.48914.075180.50040.7709
0.477315.080550.50740.7700
0.457716.085920.50540.7677
0.461917.091290.50210.7686
0.386518.096660.50740.7644
0.488919.0102030.51130.7598
0.463720.0107400.50200.7644

Framework versions

  • —Transformers 4.39.0.dev0
  • —Pytorch 2.2.1+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.2