CoolFace
Modelpublic

veronikayu/paligemma-imgtojson-0017

sourceHugging Facegemmaupdated 1y agoView on Hugging Face
0likes5downloads
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. -->

paligemma-imgtojson-0017

This model is a fine-tuned version of google/paligemma-3b-pt-224 on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1970
  • —Json Validity: 1.0
  • —Structure Similarity: 0.8201
  • —Value Accuracy: 0.7442
  • —Field F1: 0.8680
  • —Value Similarity: 0.8831
  • —Edit Distance: 0.0789
  • —Overall Score: 0.6796

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.002
  • —trainbatchsize: 4
  • —evalbatchsize: 4
  • —seed: 42
  • —gradientaccumulationsteps: 8
  • —totaltrainbatch_size: 32
  • —optimizer: Use adamwtorchfused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_ratio: 0.03
  • —num_epochs: 3

Training results

Training LossEpochStepValidation LossJson ValidityStructure SimilarityValue AccuracyField F1Value SimilarityEdit DistanceOverall Score
10.8710.251.21781.00.12010.06110.20840.14990.83640.2723
8.43110.4100.84401.00.00.00.00.00.99190.1984
5.76070.6150.55541.00.30670.45750.45640.59110.58550.4862
4.40750.8200.48031.00.40180.52680.54940.63830.52640.5330
3.59831.0250.35091.00.60300.61170.70750.73630.22630.5784
2.96031.2300.31241.00.61260.58790.72140.75730.22810.5832
2.69131.4350.30881.00.53420.43240.63280.69160.22710.5066
2.53631.6400.27801.00.62890.52930.72660.79130.15750.5700
2.39061.8450.25921.00.69080.61620.76330.77770.15550.6014
2.13732.0500.23261.00.47400.58000.58310.71730.35450.5485
1.58222.2550.22031.00.73690.70230.81450.84570.11580.6446
1.25472.4600.21521.00.75900.73720.82570.87780.11770.6661
1.2972.6650.20441.00.77500.68130.83230.84370.12780.6526
1.28322.8700.19831.00.75220.81580.83100.93650.10500.6934
1.29263.0750.19701.00.82010.74420.86800.88310.07890.6796

Framework versions

  • —PEFT 0.15.2
  • —Transformers 4.47.1
  • —Pytorch 2.7.1+cu126
  • —Datasets 3.6.0
  • —Tokenizers 0.21.1