← all repositories
microsoft/unilm

Microsoft’s foundation-model research, all in one monorepo

A monorepo that corrals Microsoft’s sprawling foundation-model research across vision, language, speech, and document understanding.

unilm
Not currently ranked — collecting fresh signals.
star history

What it does This repository serves as a centralized archive for dozens of distinct Microsoft research projects in foundation models. It hosts code and pre-trained weights for models spanning natural language processing (UniLM, E5, MiniLM), computer vision (BEiT, DiT), document AI (LayoutLM, MarkupLM), speech synthesis (VALL-E), and multimodal systems (Kosmos, BEiT-3). Rather than a single framework, it operates as a research anthology where each subdirectory is essentially its own project.

The interesting bit The repository captures what Microsoft calls “The Big Convergence” — the push toward general-purpose models that handle language, vision, audio, and layout through shared architectures like Magneto and TorchScale. It also doubles as an architecture testbed, housing experimental successors to the standard Transformer including RetNet, LongNet, and 1-bit BitNet.

Key highlights

  • Covers the full modality stack: text, image, audio, layout/format, and combinations thereof
  • Includes application-focused models like LayoutLMv3 for document understanding and TrOCR for text recognition
  • Houses architectural research on scaling (DeepNet to 1,000+ layers) and efficiency (X-MoE sparse experts)
  • Provides pre-trained weights and demos for many sub-projects (VALL-E, TextDiffuser-2, BEiT-3)
  • Encompasses 100+ language support through multilingual models like InfoXLM and DeltaLM

Caveats

  • The repository is a loose collection of sub-projects rather than a unified library; each model has its own setup and dependencies
  • The README functions largely as an index with links, so expect to dig into subdirectories for actual code and documentation

Verdict Researchers and practitioners looking for reference implementations of recent Microsoft AI papers will find this invaluable. If you need a single, cohesive framework with a unified API, look elsewhere — this is a research catalog, not a product.

Frequently asked

What is microsoft/unilm?
A monorepo that corrals Microsoft’s sprawling foundation-model research across vision, language, speech, and document understanding.
Is unilm open source?
Yes — microsoft/unilm is open source, released under the MIT license.
What language is unilm written in?
microsoft/unilm is primarily written in Python.
How popular is unilm?
microsoft/unilm has 22.2k stars on GitHub.
Where can I find unilm?
microsoft/unilm is on GitHub at https://github.com/microsoft/unilm.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.