CoolFace
Modelpublic

habibi26/document-spoof

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes21downloads
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. -->

document-spoof

This model is a fine-tuned version of openai/clip-vit-base-patch32 on the imagefolder dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1105
  • Accuracy: 0.9767

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

Training results

Training LossEpochStepValidation LossAccuracy
No log0.952450.52110.8837
No log1.9048100.22710.8837
0.5452.8571150.09750.9884
0.5454.0210.10200.9767
0.5454.9524260.30870.9535
0.4725.9048310.33850.8023
0.4726.8571360.23580.8605
0.4728.0420.36750.8605
0.37628.9524470.14600.9535
0.37629.9048520.61580.8140
0.376210.8571570.32280.9186
0.158612.0630.02480.9884
0.158612.9524680.06390.9651
0.158613.9048730.56740.8488
0.115914.8571780.02910.9884
0.115916.0840.05390.9884
0.115916.9524890.07720.9767
0.036617.9048940.00311.0
0.036618.8571990.15060.9535
0.017920.01050.00071.0
0.017920.95241100.14270.9535
0.017921.90481150.22990.9419
0.003622.85711200.13730.9767
0.003623.80951250.11050.9767

Framework versions

  • Transformers 4.41.2
  • Pytorch 2.1.2
  • Datasets 2.19.2
  • Tokenizers 0.19.1