Instructions to use SaulLu/markuplm-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SaulLu/markuplm-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, MarkupLMForPretraining processor = AutoProcessor.from_pretrained("SaulLu/markuplm-base") model = MarkupLMForPretraining.from_pretrained("SaulLu/markuplm-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from SaulLu/markuplm-base: direct link, hf CLI and curl.
- Browser
- Download file 661 Bytes
-
https://huggingface.co/SaulLu/markuplm-base/resolve/main/README.md
- Command line
-
hf download hf://SaulLu/markuplm-base/README.md
-
curl -L -o README.md https://huggingface.co/SaulLu/markuplm-base/resolve/main/README.md
661 Bytes
MarkupLM
Multimodal (text +markup language) pre-training for Document AI
Introduction
MarkupLM is a simple but effective multi-modal pre-training method of text and markup language for visually-rich document understanding and information extraction tasks, such as webpage QA and webpage information extraction. MarkupLM archives the SOTA results on multiple datasets. For more details, please refer to our paper:
MarkupLM: Pre-training of Text and Markup Language for Visually-rich Document Understanding Junlong Li, Yiheng Xu, Lei Cui, Furu Wei