CoolFace
Modelpublic

habibi26/document-spoof-clip

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

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.0225
  • Accuracy: 0.9857

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: 20

Training results

Training LossEpochStepValidation LossAccuracy
No log0.842140.53050.8429
No log1.894790.17070.9286
0.62682.9474140.35070.8429
0.62684.0190.47070.8
0.28814.8421230.13370.9286
0.28815.8947280.12930.9286
0.23496.9474330.05650.9714
0.23498.0380.06760.9571
0.09078.8421420.30710.9
0.09079.8947470.14620.9714
0.120310.9474520.07610.9714
0.120312.0570.08080.9571
0.071512.8421610.02040.9857
0.071513.8947660.02100.9857
0.03114.9474710.02740.9714
0.03116.0760.04480.9857
0.065516.8421800.02250.9857

Framework versions

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