Computer visionDocuments and OCR

DiT (Document Image Transformer)

From an image it works out what kind of document it is: resume, diploma, certificate, contract. Helps sort candidate file bundles by type. A human makes the decision about a candidate; automatic screening without review must not be used.

The last open version came out in Mar 2022. The family has not been updated for a long time: the model still works, but do not expect fixes or new sizes.

Developer
Microsoft, USA
First release
Mar 2022
Latest release
Mar 2022
Sizes
base and large versions
License
Commercial use with conditionsMIT per the microsoft/unilm repository; no license is stated on the Hugging Face cards
Running
On your own serverAlso runs without a GPU
Industries
Documents and accounting, HR

What it does

  • Sorting incoming candidate documents by type
  • Checking that a document package is complete
  • Finding the right scan in an archive

Where it is used

HR and personnel recordsDocument workflowsArchives

Hardware requirements

LaptopLaptop or regular PC, up to 8 GB of VRAM — smaller versions
fits
1 GPUOne GPU with 16–80 GB — mid-size versions
no versions
ClusterServer with several GPUs — flagship versions
no versions

Versions

  1. DiT, дообученная на RVL-CDIP, 16 типов документов
  2. DiT-base и DiT-large

How to run it

On your own serverWeights are downloaded from Hugging Face and served with vLLM (load and API) or llama.cpp (modest hardware). The model then runs in a closed network with no per-request fees.Hugging Face
How much hardware you needCalculate the VRAM for the model size, context length and number of concurrent requests.Open the hardware calculator

I can set this up end to end: pick the model size, deploy it on your server and connect it to your systems.

Frequently asked questions

Can DiT (Document Image Transformer) be used in a commercial project?

With conditions. License: MIT per the microsoft/unilm repository; no license is stated on the Hugging Face cards. Restrictions vary — region, company revenue, attribution requirements. Have a lawyer check the terms before a commercial launch.

What hardware does DiT (Document Image Transformer) need?

At minimum: Laptop or regular PC, up to 8 GB of VRAM — smaller versions. Some versions also run on an ordinary CPU, without a GPU. You can calculate the exact VRAM for your model size and context in the hardware calculator.

Does DiT (Document Image Transformer) support Russian?

Language does not matter for this model: it does not work with text.

Where can I download DiT (Document Image Transformer) and what does it cost?

The DiT (Document Image Transformer) weights are open and free to download. You only pay for the hardware it runs on and for the setup. Source links are at the bottom of this page.

How I deploy it for clients

  1. SelectionI pick the model size for your task and hardware and test it on your examples.
  2. DeploymentI deploy it on your server or in a closed network and provide an API.
  3. Fine-tuningI fine-tune it on your data (LoRA) or connect a knowledge base — whichever is cheaper for the task.
  4. IntegrationI connect it to your CRM, ERP, bot, website or team chat and set up monitoring.

Similar models

Source: huggingface.co/microsoft/dit-base. Data checked against the model card on 22 Sep 2026. Have a lawyer review the license before commercial launch.