Team Ai
Modelpublic

jinhybr/OCR-LayoutLMv3-Invoice

sourceHugging Facecc-by-nc-sa-4.0updated 4y agoView on Hugging Face
10likes149downloads
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. -->

OCR-LayoutLMv3-Invoice

This model is a fine-tuned version of microsoft/layoutlmv3-base on the wild_receipt dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3159
  • —Precision: 0.8765
  • —Recall: 0.8812
  • —F1: 0.8789
  • —Accuracy: 0.9268

Model description

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 1e-05
  • —trainbatchsize: 2
  • —evalbatchsize: 2
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —training_steps: 6000

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
No log0.161001.50320.49340.14440.22340.6064
No log0.322001.02820.58840.44200.50480.7385
No log0.473000.78560.74480.62050.67700.8133
No log0.634000.64640.77360.66890.71740.8399
1.17330.795000.56720.76090.73030.74530.8557
1.17330.956000.50550.76580.76520.76550.8677
1.17331.17000.47350.79460.78480.78970.8784
1.17331.268000.44140.79620.79460.79540.8818
1.17331.429000.40940.81760.80640.81200.8894
0.50471.5810000.39710.82190.82480.82340.8961
0.50471.7411000.40820.79930.83620.81740.8927
0.50471.8912000.37970.82400.83170.82780.8962
0.50472.0513000.35970.83260.83310.83290.9020
0.50472.2114000.35440.84620.82830.83710.9020
0.3682.3715000.33740.84280.84350.84320.9056
0.3682.5216000.33640.84060.85220.84640.9089
0.3682.6817000.34040.84670.85360.85010.9107
0.3682.8418000.33190.84050.85010.84530.9090
0.3683.019000.33240.85840.84920.85380.9117
0.29493.1520000.32040.86910.84040.85450.9119
0.29493.3121000.31070.85990.85470.85730.9162
0.29493.4722000.31690.86800.84890.85840.9146
0.29493.6323000.31900.86830.85190.86000.9152
0.29493.7924000.29750.86310.86170.86240.9182
0.24383.9425000.30400.85660.86400.86030.9171
0.24384.126000.30450.85850.86420.86130.9181
0.24384.2627000.31390.84980.87480.86210.9160
0.24384.4228000.29850.86420.86720.86570.9214
0.24384.5729000.30470.86880.86940.86910.9214
0.20284.7330000.29860.86860.86950.86910.9207
0.20284.8931000.31350.86280.87550.86910.9197
0.20285.0532000.29270.86560.87550.87050.9217
0.20285.2133000.29920.87240.86970.87110.9228
0.20285.3634000.29750.88310.86390.87340.9244
0.18145.5235000.28970.87360.87880.87620.9250
0.18145.6836000.31180.86740.87510.87120.9216
0.18145.8437000.29740.87350.87790.87570.9237
0.18145.9938000.29570.86960.88150.87550.9240
0.18146.1539000.31200.86980.88170.87570.9250
0.16026.3140000.30800.87150.88000.87570.9238
0.16026.4741000.30310.87670.87880.87770.9261
0.16026.6242000.31460.86990.87840.87410.9227
0.16026.7843000.30850.87170.87880.87520.9248
0.16026.9444000.30230.87490.87560.87520.9250
0.13837.145000.30250.88600.87350.87970.9252
0.13837.2646000.30260.87750.88100.87920.9272
0.13837.4147000.31460.87150.88320.87730.9251
0.13837.5748000.31130.87690.88030.87860.9275
0.13837.7349000.30730.87970.87860.87920.9261
0.13067.8950000.31630.87140.88280.87700.9248
0.13068.0451000.31630.87530.88100.87810.9250
0.13068.252000.31320.87430.88040.87730.9257
0.13068.3653000.31190.87350.88370.87860.9264
0.13068.5254000.31450.88260.87790.88020.9272
0.11748.6855000.31660.87760.88110.87940.9261
0.11748.8356000.31460.87760.88140.87950.9260
0.11748.9957000.31350.87630.88260.87950.9271
0.11749.1558000.31540.87940.88180.88060.9275
0.11749.3159000.31520.87880.88170.88020.9274
0.119.4660000.31590.87650.88120.87890.9268

Framework versions

  • —Transformers 4.25.0.dev0
  • —Pytorch 1.12.1
  • —Datasets 2.6.1
  • —Tokenizers 0.13.1