CoolFace
Modelpublic

SriDoc/TrOCR-Sin-Printed

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes16downloads
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-SIN(DeiT)

This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.4335
  • —Cer: 0.1445

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: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —training_steps: 75000
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepCerValidation Loss
1.30191.7850000.64161.7769
0.63873.55100000.40480.8457
0.34025.33150000.28080.6898
0.13327.11200000.23770.5765
0.11418.89250000.22230.4460
0.048110.66300000.18680.4128
0.039112.44350000.15630.4172
0.035714.22400000.19810.4756
0.021516.0450000.19830.5838
0.012917.77500000.17570.5511
0.008719.55550000.16990.5568
0.00321.33600000.16480.4532
0.004223.11650000.15820.4650
0.006624.88700000.16540.4740
0.001426.66750000.14480.4337

Framework versions

  • —Transformers 4.35.2
  • —Pytorch 2.1.0+cu121
  • —Datasets 2.18.0
  • —Tokenizers 0.15.1