CoolFace
Modelpublic

dzinampini/finetuned-vit-for-poultry-excreta-classification

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes15downloads
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. -->

finetuned-vit-for-poultry-excreta-classification

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the github.com/dzinampini/poultry-excreta-dataset-curation dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0573
  • —Accuracy: 0.9879
  • —Precision: 0.9879
  • —Recall: 0.9879
  • —F1: 0.9879

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
  • —trainbatchsize: 16
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 4
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.59460.0403500.67290.70110.81130.70110.6739
0.40680.08061000.49770.82650.85580.82650.8195
0.31570.12101500.22050.93910.94060.93910.9357
0.28210.16132000.17110.95000.95060.95000.9476
0.12020.20162500.16230.95520.95630.95520.9549
0.20110.24193000.13240.96010.96050.96010.9602
0.17110.28233500.18200.93990.94120.93990.9375
0.1740.32264000.12640.96490.96550.96490.9650
0.18090.36294500.12860.96490.96540.96490.9647
0.15930.40325000.16120.95280.95340.95280.9516
0.12340.44355500.23380.92700.93370.92700.9266
0.13060.48396000.12610.96330.96420.96330.9632
0.0830.52426500.12400.96450.96500.96450.9645
0.16360.56457000.13640.96130.96210.96130.9594
0.11040.60487500.09080.97540.97560.97540.9754
0.08440.64528000.11250.97060.97090.97060.9704
0.24620.68558500.10510.96730.97040.96730.9682
0.13650.72589000.08470.97940.97950.97940.9794
0.15240.76619500.10660.97420.97440.97420.9741
0.11020.806510000.24050.93220.95010.93220.9362
0.08070.846810500.08950.97860.97880.97860.9786
0.10690.887111000.07990.97980.97990.97980.9798
0.13860.927411500.07940.97900.97920.97900.9791
0.09750.967712000.07410.97980.98140.97980.9803
0.04781.008112500.09740.97580.97620.97580.9758
0.02661.048413000.11650.97300.97340.97300.9728
0.05971.088713500.08000.97860.97870.97860.9785
0.02771.129014000.09690.97660.97660.97660.9765
0.10931.169414500.11200.96970.97090.96970.9697
0.01231.209715000.08320.97900.98000.97900.9793
0.07411.2515500.08120.97820.97840.97820.9782
0.07071.290316000.08050.98060.98070.98060.9805
0.03951.330616500.07170.98270.98270.98270.9826
0.00541.371017000.08270.97860.97880.97860.9786
0.05691.411317500.06970.98180.98190.98180.9818
0.05891.451618000.09750.97540.97580.97540.9750
0.03381.491918500.07650.97940.97960.97940.9794
0.06641.532319000.08480.98100.98190.98100.9812
0.07391.572619500.07510.98060.98150.98060.9809
0.01121.612920000.06770.98350.98350.98350.9834
0.11571.653220500.07050.98180.98190.98180.9818
0.04081.693521000.12150.96850.96910.96850.9685
0.0531.733921500.08910.97940.97950.97940.9794
0.0251.774222000.07650.97940.97960.97940.9792
0.06581.814522500.06920.98430.98440.98430.9841
0.01341.854823000.06400.98310.98300.98310.9830
0.00751.895223500.06300.98470.98470.98470.9847
0.05181.935524000.09290.97700.98030.97700.9778
0.08241.975824500.08480.97620.97700.97620.9763
0.06432.016125000.06180.98390.98400.98390.9838
0.01662.056525500.05630.98630.98630.98630.9863
0.03972.096826000.06950.98270.98280.98270.9826
0.00442.137126500.06120.98470.98470.98470.9846
0.06242.177427000.06810.98550.98560.98550.9854
0.01632.217727500.07910.98060.98070.98060.9806
0.00422.258128000.10510.97820.97840.97820.9783
0.00372.298428500.08350.98140.98160.98140.9815
0.00432.338729000.07790.97980.98060.97980.9800
0.01662.379029500.07580.98390.98390.98390.9838
0.02222.419430000.06020.98630.98630.98630.9863
0.00252.459730500.07140.98230.98240.98230.9822
0.04812.531000.05750.98590.98590.98590.9858
0.00372.540331500.05920.98630.98630.98630.9863
0.0032.580632000.05680.98670.98670.98670.9867
0.00942.621032500.06350.98710.98710.98710.9871
0.00612.661333000.05490.98750.98750.98750.9875
0.0522.701633500.06500.98710.98710.98710.9870
0.00842.741934000.05950.98710.98710.98710.9871
0.02952.782334500.06780.98510.98510.98510.9851
0.00212.822635000.05840.98630.98630.98630.9863
0.03832.862935500.09080.98100.98130.98100.9810
0.00672.903236000.05730.98790.98790.98790.9879
0.01022.943536500.06080.98510.98510.98510.9850
0.00892.983937000.06520.98630.98630.98630.9863
0.00153.024237500.06020.98750.98750.98750.9875
0.01123.064538000.06090.98790.98790.98790.9879
0.03163.104838500.04890.98790.98790.98790.9879
0.00213.145239000.05290.98590.98590.98590.9859
0.00263.185539500.05670.98710.98720.98710.9871
0.00613.225840000.05930.98710.98710.98710.9871
0.00173.266140500.05950.98710.98710.98710.9871
0.00123.306541000.06230.98670.98670.98670.9867
0.01623.346841500.05790.98710.98710.98710.9871
0.00173.387142000.05910.98630.98630.98630.9863
0.0213.427442500.06010.98630.98630.98630.9863
0.00083.467743000.05970.98710.98710.98710.9871
0.00723.508143500.05870.98710.98710.98710.9871
0.00313.548444000.06560.98630.98630.98630.9863
0.0053.588744500.06860.98590.98590.98590.9859
0.01073.629045000.06430.98590.98590.98590.9859
0.00073.669445500.06570.98550.98550.98550.9855
0.00093.709746000.06320.98630.98630.98630.9863
0.02493.7546500.06100.98590.98590.98590.9859
0.00193.790347000.06090.98590.98590.98590.9859
0.00113.830647500.06170.98630.98630.98630.9863
0.00093.871048000.06090.98670.98670.98670.9867
0.00093.911348500.06080.98670.98670.98670.9867
0.00073.951649000.06080.98670.98670.98670.9867
0.0043.991949500.06080.98630.98630.98630.9863

Framework versions

  • —Transformers 4.55.0
  • —Pytorch 2.6.0+cu124
  • —Datasets 4.0.0
  • —Tokenizers 0.21.4