CoolFace
Modelpublic

veronikayu/paligemma-imgtojson-0013

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

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.2165
  • —Json Validity: 1.0
  • —Structure Similarity: 0.7462
  • —Value Accuracy: 0.7108
  • —Field F1: 0.8143
  • —Value Similarity: 0.8335
  • —Edit Distance: 0.1331
  • —Overall Score: 0.6485

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: 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
11.42290.250.87011.00.02270.00.04060.00.93000.1966
5.67840.4100.43941.00.18760.11390.27420.21940.44270.2448
3.66990.6150.33961.00.48780.53540.61660.66510.30130.5237
3.0990.8200.29611.00.53230.55060.64400.75970.26140.5554
2.74281.0250.27451.00.47040.50.58370.64030.31870.5055
2.6551.2300.25621.00.49810.58620.61290.68170.29680.5386
2.28881.4350.24351.00.69380.61080.77940.81880.16630.6158
2.21561.6400.23691.00.58070.56120.67670.74420.23220.5624
2.22961.8450.22951.00.79890.69800.86460.89030.13250.6782
1.97072.0500.22481.00.59200.70500.69490.84210.21810.6178
2.06162.2550.22021.00.79560.69080.85180.82930.12120.6566
1.68472.4600.21961.00.78680.74290.85120.87430.11150.6745
1.82982.6650.21771.00.74960.59880.82020.81100.14430.6243
1.76072.8700.21651.00.71690.80320.79950.90520.15440.6811
1.95933.0750.21651.00.74620.71080.81430.83350.13310.6485

Framework versions

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