Instructions to use microsoft/markuplm-base-finetuned-websrc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/markuplm-base-finetuned-websrc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="microsoft/markuplm-base-finetuned-websrc")# Load model directly from transformers import AutoProcessor, AutoModelForQuestionAnswering processor = AutoProcessor.from_pretrained("microsoft/markuplm-base-finetuned-websrc") model = AutoModelForQuestionAnswering.from_pretrained("microsoft/markuplm-base-finetuned-websrc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
model_type is not recognized
#1
by saravanan - opened
Hi,
I tried loading the model and getting the below error.
The model_type 'markuplm' is not recognized. It could be a bleeding edge model, or incorrect
Thanks
Saran
Hi,
MarkupLM isn't added to the Transformers library for now. We're working on it: https://github.com/NielsRogge/transformers/pull/41
In the meantime, you can use the original unilm repository by Microsoft.
saravanan changed discussion status to closed