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:
# pip install -U transformers accelerate # 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 tokenizer.json from microsoft/markuplm-base: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/microsoft/markuplm-base/resolve/main/tokenizer.json
- Command line
-
hf download hf://microsoft/markuplm-base/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/microsoft/markuplm-base/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.