CoolFace
Modelpublic

nielsr/layoutlmv3-finetuned-cord

sourceHugging Faceupdated 3y agoView on Hugging Face
13likes595downloads
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. -->

layoutlmv3-finetuned-cord

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

  • —Loss: 0.1845
  • —Precision: 0.9620
  • —Recall: 0.9656
  • —F1: 0.9638
  • —Accuracy: 0.9682

The script for training can be found here: https://github.com/huggingface/transformers/tree/main/examples/research_projects/layoutlmv3

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

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
No log2.01000.52570.82230.85550.83860.8710
No log4.02000.32000.91180.92810.91990.9317
No log6.03000.24490.92980.94240.93610.9465
No log8.04000.19230.94720.95360.95040.9597
0.432810.05000.18570.95910.96560.96230.9682
0.432812.06000.20730.95970.96180.96070.9656
0.432814.07000.18040.96340.96630.96490.9703
0.432816.08000.18820.96340.96480.96410.9665
0.432818.09000.18000.96190.96480.96340.9677
0.031820.010000.18450.96200.96560.96380.9682

Framework versions

  • —Transformers 4.19.0.dev0
  • —Pytorch 1.11.0+cu113
  • —Datasets 2.0.0
  • —Tokenizers 0.11.6