CoolFace
Modelpublic

personalizedrefrigerator/trocr-base

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. -->

TrOCR Small (Finetuned on French)

This model is a fine-tuned version of microsoft/trocr-base-handwritten on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0871
  • Model Preparation Time: 0.0066
  • Cer: 0.0134
  • Wer: 0.0350
  • Ratio: 97.4287

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: 8
  • evalbatchsize: 8
  • seed: 42
  • optimizer: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: linear
  • training_steps: 12000
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossModel Preparation TimeCerWerRatio
1.3590.03334001.06380.00660.17150.384189.6898
1.11230.06678001.27070.00660.17150.443789.7413
0.8720.112000.92300.00660.13050.357691.0810
0.68310.133316000.70460.00660.11950.284892.7617
0.66590.166720000.59520.00660.08410.245094.7742
0.6120.224000.58300.00660.10290.251793.2609
0.48650.233328000.53120.00660.09730.231894.4422
0.49220.266732000.58420.00660.09180.198795.5454
0.41520.336000.42150.00660.06640.192195.9747
0.36480.333340000.42640.00660.06080.172296.4262
0.32720.366744000.52090.00660.06530.192195.3742
0.31720.448000.42290.00660.05310.178895.8131
0.26720.433352000.40710.00660.05860.192196.0787
0.27470.466756000.34940.00660.05860.165696.2269
0.25760.560000.36870.00660.06420.152396.6562
0.21380.533364000.39450.00660.05640.139196.8775
0.21970.566768000.36980.00660.04200.139197.3293
0.19081.014172000.32880.00660.04200.112697.6500
0.1451.047476000.26550.00660.03320.099397.6602
0.13471.080880000.26590.00660.03650.125897.2893
0.10921.114184000.24960.00660.03430.119297.6671
0.1111.147488000.22050.00660.02210.086198.4693
0.10331.180792000.22260.00660.02540.092798.1761
0.09191.214196000.17870.00660.02100.072898.6440
0.0741.2474100000.17560.00660.01880.046499.3030
0.08331.2808104000.18300.00660.02320.072898.8762
0.0571.3141108000.16750.00660.01330.053099.3276
0.0381.3474112000.17090.00660.01880.059698.9563
0.04091.3807116000.14000.00660.01330.053099.2905
0.04041.4141120000.14230.00660.01220.046499.2598

Framework versions

  • Transformers 4.46.3
  • Pytorch 2.5.1+cu121
  • Tokenizers 0.20.3