CoolFace
Modelpublic

jordyvl/vit-base_rvl-cdip

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes22downloads
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-base_rvl-cdip

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.5535
  • —Accuracy: 0.897
  • —Brier Loss: 0.1768
  • —Nll: 1.0978
  • —F1 Micro: 0.897
  • —F1 Macro: 0.8972
  • —Ece: 0.0801
  • —Aurc: 0.0180

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

Training results

Training LossEpochStepValidation LossAccuracyBrier LossNllF1 MicroF1 MacroEceAurc
0.6761.050000.64510.82300.25741.26270.82300.82370.04580.0425
0.42072.0100000.42510.87660.18001.28210.87660.87790.01540.0218
0.33353.0150000.39140.88610.16761.25890.88610.88580.02520.0192
0.24474.0200000.36870.89340.15741.22430.89340.89370.03310.0164
0.16235.0250000.38430.89760.15831.15530.89760.89730.04610.0159
0.10836.0300000.41310.89640.16241.15140.89640.89670.05810.0163
0.06527.0350000.46330.89660.16901.13000.89660.89670.06920.0169
0.03618.0400000.50680.89760.17231.11610.89760.89760.07370.0175
0.01929.0450000.54180.89820.17481.10150.89820.89830.07790.0179
0.011110.0500000.55350.8970.17681.09780.8970.89720.08010.0180

Framework versions

  • —Transformers 4.26.1
  • —Pytorch 1.13.1.post200
  • —Datasets 2.9.0
  • —Tokenizers 0.13.2