LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking
Paper • 2204.08387 • Published • 8
How to use HYPJUDY/layoutlmv3-base-finetuned-funsd with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="HYPJUDY/layoutlmv3-base-finetuned-funsd") # Load model directly
from transformers import AutoProcessor, AutoModelForTokenClassification
processor = AutoProcessor.from_pretrained("HYPJUDY/layoutlmv3-base-finetuned-funsd")
model = AutoModelForTokenClassification.from_pretrained("HYPJUDY/layoutlmv3-base-finetuned-funsd")The model layoutlmv3-base-finetuned-funsd is fine-tuned on the FUNSD dataset initialized from microsoft/layoutlmv3-base. This finetuned model achieves an F1 score of 90.59 on the test split of the FUNSD dataset.
Paper | Code | Microsoft Document AI
If you find LayoutLMv3 helpful, please cite the following paper:
@inproceedings{huang2022layoutlmv3,
author={Yupan Huang and Tengchao Lv and Lei Cui and Yutong Lu and Furu Wei},
title={LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking},
booktitle={Proceedings of the 30th ACM International Conference on Multimedia},
year={2022}
}
The content of this project itself is licensed under the Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). Portions of the source code are based on the transformers project. Microsoft Open Source Code of Conduct