Instructions to use microsoft/layoutxlm-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/layoutxlm-base with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/layoutxlm-base", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "apply_ocr": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "LayoutLMv2FeatureExtractor", | |
| "resample": 2, | |
| "size": 224 | |
| } | |