Disclaimer: The team releasing DiT did not write a model card for this model so this model card has been written by the Hugging Face team.
Model description
The Document Image Transformer (DiT) is a transformer encoder model (BERT-like) pre-trained on a large collection of images in a self-supervised fashion. The pre-training objective for the model is to predict visual tokens from the encoder of a discrete VAE (dVAE), based on masked patches.
Images are presented to the model as a sequence of fixed-size patches (resolution 16x16), which are linearly embedded. One also adds absolute position embeddings before feeding the sequence to the layers of the Transformer encoder.
By pre-training the model, it learns an inner representation of images that can then be used to extract features useful for downstream tasks: if you have a dataset of labeled document images for instance, you can train a standard classifier by placing a linear layer on top of the pre-trained encoder.
Intended uses & limitations
You can use the raw model for encoding document images into a vector space, but it's mostly meant to be fine-tuned on tasks like document image classification, table detection or document layout analysis. See the
model hub
to look for fine-tuned versions on a task that interests you.
@article{Lewis2006BuildingAT,
title={Building a test collection for complex document information processing},
author={David D. Lewis and Gady Agam and Shlomo Engelson Argamon and Ophir Frieder and David A. Grossman and Jefferson Heard},
journal={Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval},
year={2006}
}
Runs of microsoft dit-base on huggingface.co
8.3K
Total runs
-74
24-hour runs
-367
3-day runs
-510
7-day runs
-2.0K
30-day runs
More Information About dit-base huggingface.co Model
dit-base huggingface.co
dit-base huggingface.co is an AI model on huggingface.co that provides dit-base's model effect (), which can be used instantly with this microsoft dit-base model. huggingface.co supports a free trial of the dit-base model, and also provides paid use of the dit-base. Support call dit-base model through api, including Node.js, Python, http.
dit-base huggingface.co is an online trial and call api platform, which integrates dit-base's modeling effects, including api services, and provides a free online trial of dit-base, you can try dit-base online for free by clicking the link below.
microsoft dit-base online free url in huggingface.co:
dit-base is an open source model from GitHub that offers a free installation service, and any user can find dit-base on GitHub to install. At the same time, huggingface.co provides the effect of dit-base install, users can directly use dit-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.