Bigheadjoshy's picture
End of training
81f1ad3 verified
|
raw
history blame
2.29 kB
metadata
library_name: transformers
license: cc-by-nc-sa-4.0
base_model: microsoft/layoutlmv3-base
tags:
  - generated_from_trainer
metrics:
  - accuracy
  - f1
model-index:
  - name: layoutlmv3_document_classification
    results: []

layoutlmv3_document_classification

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

  • Loss: 0.6825
  • Accuracy: 0.8626
  • F1: 0.8556

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: 3e-05
  • train_batch_size: 24
  • eval_batch_size: 24
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.06
  • num_epochs: 5
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Accuracy F1
0.6422 0.4983 150 0.8329 0.8127 0.7921
0.6726 0.9967 300 0.7887 0.8310 0.8159
0.5329 1.4950 450 0.7981 0.8183 0.8055
0.5147 1.9934 600 0.7746 0.8360 0.8273
0.4119 2.4917 750 0.7384 0.8438 0.8329
0.4011 2.9900 900 0.7318 0.8465 0.8392
0.3469 3.4884 1050 0.7317 0.8488 0.8412
0.3148 3.9867 1200 0.7218 0.8548 0.8472
0.2974 4.4850 1350 0.6903 0.8620 0.8559
0.297 4.9834 1500 0.6825 0.8626 0.8556

Framework versions

  • Transformers 4.48.3
  • Pytorch 2.5.1+cu124
  • Datasets 3.3.2
  • Tokenizers 0.21.0