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") - Notebooks
- Google Colab
- Kaggle
Create new file
Browse files- preprocessor_config.json +4 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"feature_extractor_type": "MarkupLMFeatureExtractor",
|
| 3 |
+
"processor_class": "MarkupLMProcessor"
|
| 4 |
+
}
|