CoolFace
Modelpublic

sejalv/seq2seq_model_printed

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

seq2seqmodelprinted

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

  • Loss: 1.5578
  • Cer: 0.2138

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

Training results

Training LossEpochStepValidation LossCer
4.67511.02443.55851.0652
3.36242.04882.72060.7373
2.91253.07321.95230.5418
2.57344.09762.04700.7149
2.41435.012201.45770.3585
2.24596.014641.57410.4501
2.15147.017081.26250.3218
2.02688.019521.48160.3625
1.95139.021961.60850.3259
1.776810.024401.44580.4033
1.715611.026841.48450.3055
1.597612.029281.64910.3503
1.466413.031721.32200.3381
1.327614.034161.44860.3503
1.235415.036601.63940.3177
1.107216.039041.51890.3035
0.920917.041481.38200.2485
0.735618.043921.47990.2607
0.633619.046361.50750.2220
0.503520.048801.54130.2179
0.40621.051241.56020.2464
0.329422.053681.44950.2159
0.251523.056121.58090.2240
0.220724.058561.51880.2281
0.168925.061001.51530.2118
0.142626.063441.56160.2118
0.114227.065881.70440.2179
0.078528.068321.62670.2281
0.075129.070761.67690.2159
0.050730.073201.73160.2342
0.038831.075641.57500.2220
0.026432.078081.70280.2159
0.02133.080521.68610.2322
0.019534.082961.71540.2077
0.016735.085401.55780.2138

Framework versions

  • Transformers 4.42.4
  • Pytorch 2.1.0a0+b5021ba
  • Datasets 2.20.0
  • Tokenizers 0.19.1