Instructions to use ProtoFaze/layoutlmv3-finetuned-wildreceipt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProtoFaze/layoutlmv3-finetuned-wildreceipt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ProtoFaze/layoutlmv3-finetuned-wildreceipt")# Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("ProtoFaze/layoutlmv3-finetuned-wildreceipt") model = AutoModelForTokenClassification.from_pretrained("ProtoFaze/layoutlmv3-finetuned-wildreceipt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
layoutlmv3-finetuned-wildreceipt
This model is a fine-tuned version of microsoft/layoutlmv3-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.3090
- Precision: 0.8746
- Recall: 0.8855
- F1: 0.8800
- Accuracy: 0.9272
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: 1e-05
- train_batch_size: 4
- eval_batch_size: 4
- 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
- training_steps: 4000
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 0.3155 | 100 | 1.3426 | 0.6038 | 0.2597 | 0.3632 | 0.6616 |
| No log | 0.6309 | 200 | 0.9000 | 0.6726 | 0.5068 | 0.5781 | 0.7748 |
| No log | 0.9464 | 300 | 0.6884 | 0.7330 | 0.6482 | 0.6880 | 0.8309 |
| No log | 1.2618 | 400 | 0.5877 | 0.7675 | 0.6973 | 0.7307 | 0.8488 |
| 1.0562 | 1.5773 | 500 | 0.5147 | 0.7571 | 0.7637 | 0.7604 | 0.8650 |
| 1.0562 | 1.8927 | 600 | 0.4774 | 0.7750 | 0.7879 | 0.7814 | 0.8740 |
| 1.0562 | 2.2082 | 700 | 0.4214 | 0.7962 | 0.7957 | 0.7960 | 0.8848 |
| 1.0562 | 2.5237 | 800 | 0.4026 | 0.8106 | 0.8156 | 0.8131 | 0.8908 |
| 1.0562 | 2.8391 | 900 | 0.3690 | 0.8221 | 0.8357 | 0.8288 | 0.9025 |
| 0.4163 | 3.1546 | 1000 | 0.3727 | 0.8330 | 0.8351 | 0.8341 | 0.9036 |
| 0.4163 | 3.4700 | 1100 | 0.3418 | 0.8497 | 0.8368 | 0.8432 | 0.9082 |
| 0.4163 | 3.7855 | 1200 | 0.3323 | 0.8327 | 0.8509 | 0.8417 | 0.9081 |
| 0.4163 | 4.1009 | 1300 | 0.3242 | 0.8527 | 0.8508 | 0.8517 | 0.9132 |
| 0.4163 | 4.4164 | 1400 | 0.3206 | 0.8478 | 0.8600 | 0.8538 | 0.9124 |
| 0.2801 | 4.7319 | 1500 | 0.3159 | 0.8566 | 0.8548 | 0.8557 | 0.9141 |
| 0.2801 | 5.0473 | 1600 | 0.3044 | 0.8568 | 0.8619 | 0.8593 | 0.9158 |
| 0.2801 | 5.3628 | 1700 | 0.3230 | 0.8547 | 0.8644 | 0.8595 | 0.9162 |
| 0.2801 | 5.6782 | 1800 | 0.3108 | 0.8499 | 0.8745 | 0.8620 | 0.9165 |
| 0.2801 | 5.9937 | 1900 | 0.3187 | 0.8584 | 0.8666 | 0.8625 | 0.9170 |
| 0.2117 | 6.3091 | 2000 | 0.3104 | 0.8658 | 0.8644 | 0.8651 | 0.9199 |
| 0.2117 | 6.6246 | 2100 | 0.3082 | 0.8690 | 0.8674 | 0.8682 | 0.9201 |
| 0.2117 | 6.9401 | 2200 | 0.2982 | 0.8706 | 0.8714 | 0.8710 | 0.9224 |
| 0.2117 | 7.2555 | 2300 | 0.2982 | 0.8731 | 0.8673 | 0.8702 | 0.9232 |
| 0.2117 | 7.5710 | 2400 | 0.2982 | 0.8716 | 0.8719 | 0.8717 | 0.9227 |
| 0.1722 | 7.8864 | 2500 | 0.3060 | 0.8697 | 0.8736 | 0.8717 | 0.9236 |
| 0.1722 | 8.2019 | 2600 | 0.3076 | 0.8642 | 0.8753 | 0.8697 | 0.9212 |
| 0.1722 | 8.5174 | 2700 | 0.3041 | 0.8710 | 0.8829 | 0.8769 | 0.9249 |
| 0.1722 | 8.8328 | 2800 | 0.3067 | 0.8727 | 0.8815 | 0.8771 | 0.9245 |
| 0.1722 | 9.1483 | 2900 | 0.3048 | 0.8763 | 0.8765 | 0.8764 | 0.9250 |
| 0.1421 | 9.4637 | 3000 | 0.3123 | 0.8692 | 0.8785 | 0.8738 | 0.9241 |
| 0.1421 | 9.7792 | 3100 | 0.2999 | 0.8711 | 0.8815 | 0.8762 | 0.9257 |
| 0.1421 | 10.0946 | 3200 | 0.3067 | 0.8717 | 0.8829 | 0.8772 | 0.9259 |
| 0.1421 | 10.4101 | 3300 | 0.3082 | 0.8753 | 0.8840 | 0.8796 | 0.9270 |
| 0.1421 | 10.7256 | 3400 | 0.3048 | 0.8803 | 0.8778 | 0.8790 | 0.9270 |
| 0.1208 | 11.0410 | 3500 | 0.3092 | 0.8750 | 0.8785 | 0.8767 | 0.9261 |
| 0.1208 | 11.3565 | 3600 | 0.3120 | 0.8742 | 0.8793 | 0.8767 | 0.9250 |
| 0.1208 | 11.6719 | 3700 | 0.3137 | 0.8726 | 0.8849 | 0.8787 | 0.9267 |
| 0.1208 | 11.9874 | 3800 | 0.3080 | 0.8741 | 0.8849 | 0.8795 | 0.9271 |
| 0.1208 | 12.3028 | 3900 | 0.3092 | 0.8745 | 0.8849 | 0.8797 | 0.9271 |
| 0.1102 | 12.6183 | 4000 | 0.3090 | 0.8746 | 0.8855 | 0.8800 | 0.9272 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.6.0+cu124
- Datasets 3.5.1
- Tokenizers 0.21.1
- Downloads last month
- 13
Model tree for ProtoFaze/layoutlmv3-finetuned-wildreceipt
Base model
microsoft/layoutlmv3-base