Instructions to use microsoft/markuplm-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/markuplm-base with Transformers:
# Load model directly from transformers import AutoProcessor, MarkupLMForPretraining processor = AutoProcessor.from_pretrained("microsoft/markuplm-base") model = MarkupLMForPretraining.from_pretrained("microsoft/markuplm-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from microsoft/markuplm-base: direct link, hf CLI and curl.
- Browser
- Download file 798 kB
-
https://huggingface.co/microsoft/markuplm-base/resolve/main/vocab.json
- Command line
-
hf download hf://microsoft/markuplm-base/vocab.json
-
curl -L -o vocab.json https://huggingface.co/microsoft/markuplm-base/resolve/main/vocab.json
798 kB
File too large to display, you can check the raw version instead.