pierreguillou/DocLayNet-small
Viewer • Updated • 804 • 515 • 13
How to use Mit1208/layoutlmv3-finetuned-DocLayNet with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Mit1208/layoutlmv3-finetuned-DocLayNet") # Load model directly
from transformers import AutoProcessor, AutoModelForTokenClassification
processor = AutoProcessor.from_pretrained("Mit1208/layoutlmv3-finetuned-DocLayNet")
model = AutoModelForTokenClassification.from_pretrained("Mit1208/layoutlmv3-finetuned-DocLayNet")This model is a fine-tuned version of microsoft/layoutlmv3-base on the doc_lay_net-small dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 1.3383 | 0.58 | 200 | 0.8358 | 0.3007 | 0.4381 | 0.3566 | 0.7724 |
| 0.8308 | 1.16 | 400 | 0.6735 | 0.4634 | 0.5429 | 0.5 | 0.8084 |
| 0.518 | 1.74 | 600 | 0.5706 | 0.5373 | 0.6857 | 0.6025 | 0.8399 |
| 0.3856 | 2.33 | 800 | 0.6303 | 0.6032 | 0.7238 | 0.6580 | 0.8648 |
| 0.2558 | 2.91 | 1000 | 0.5644 | 0.6179 | 0.7238 | 0.6667 | 0.8720 |
Check this out this repo: https://github.com/mit1280/Document-AI