CoolFace
Modelpublic

mridhulanatarajan/layoutlm-funsd

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes26downloads
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. -->

layoutlm-funsd

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

  • Loss: 0.9828
  • Question: {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 1}
  • Overall Precision: 1.0
  • Overall Recall: 1.0
  • Overall F1: 1.0
  • Overall Accuracy: 1.0

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

Training results

Training LossEpochStepValidation LossQuestionOverall PrecisionOverall RecallOverall F1Overall Accuracy
1.5851.0381.3020{'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 1}1.01.01.01.0
1.18142.0761.1133{'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 1}1.01.01.01.0
1.01813.01141.0476{'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 1}1.01.01.01.0
0.92134.01521.0004{'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 1}1.01.01.01.0
0.83375.01900.9828{'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 1}1.01.01.01.0

Framework versions

  • Transformers 4.37.2
  • Pytorch 2.1.0+cu121
  • Datasets 2.17.1
  • Tokenizers 0.15.2