AI Tools.

Search

markuplm-base

MarkupLM-base is Microsoft's BERT-based model pretrained on HTML/XML markup to understand web document structure. It encodes both text content and markup tags jointly, making it suited for web information extraction tasks.

Summary text generated by an automated pipeline from the model card · Not individually reviewed or run by us · How this page is made

From the model card

Fields below are copied from the tags and counters on the HuggingFace repository microsoft/markuplm-base at our last fetch. They are set by the uploader, not verified by us; rows with no tag are omitted. How this page is made.

Publisher (HF namespace)
microsoft
Library
Transformers
Framework tags
PyTorch
Language tags
English (en)
Papers cited
arXiv:2110.08518
Downloads (HF counter at last fetch)
354,056
Likes (HF counter at last fetch)
27
Model card
https://huggingface.co/microsoft/markuplm-base

Use cases

  • Structured web page information extraction
  • Form understanding and field value extraction from HTML
  • Web scraping assistance with semantic understanding of page structure
  • Document classification of web content by page type

Pros

  • Joint encoding of text + markup tags captures page semantics HTML-specific models miss
  • Microsoft Research provenance with accompanying paper and reproducible results
  • Base size suitable for fine-tuning on custom web extraction datasets
  • Apache 2.0 license

Cons

  • Limited to HTML/XML inputs — not useful for plain text tasks
  • Base model requires task-specific fine-tuning; no direct QA capability
  • Modern web pages with heavy JavaScript rendering may lose structure before reaching the model
  • Outperformed by larger models on complex table and form extraction tasks

Tags

transformerspytorchmarkuplmenarxiv:2110.08518endpoints_compatibleregion:us