Disclaimer: The team releasing DINO did not write a model card for this model so this model card has been written by the Hugging Face team.
Model description
The Vision Transformer (ViT) is a transformer encoder model (BERT-like) pretrained on a large collection of images in a self-supervised fashion, namely ImageNet-1k, at a resolution of 224x224 pixels.
Images are presented to the model as a sequence of fixed-size patches (resolution 16x16), which are linearly embedded. One also adds a [CLS] token to the beginning of a sequence to use it for classification tasks. One also adds absolute position embeddings before feeding the sequence to the layers of the Transformer encoder.
Note that this model does not include any fine-tuned heads.
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 images for instance, you can train a standard classifier by placing a linear layer on top of the pre-trained encoder. One typically places a linear layer on top of the [CLS] token, as the last hidden state of this token can be seen as a representation of an entire image.
Intended uses & limitations
You can use the raw model for image classification. See the
model hub
to look for
fine-tuned versions on a task that interests you.
dino-vitb16 huggingface.co is an AI model on huggingface.co that provides dino-vitb16's model effect (), which can be used instantly with this facebook dino-vitb16 model. huggingface.co supports a free trial of the dino-vitb16 model, and also provides paid use of the dino-vitb16. Support call dino-vitb16 model through api, including Node.js, Python, http.
dino-vitb16 huggingface.co is an online trial and call api platform, which integrates dino-vitb16's modeling effects, including api services, and provides a free online trial of dino-vitb16, you can try dino-vitb16 online for free by clicking the link below.
facebook dino-vitb16 online free url in huggingface.co:
dino-vitb16 is an open source model from GitHub that offers a free installation service, and any user can find dino-vitb16 on GitHub to install. At the same time, huggingface.co provides the effect of dino-vitb16 install, users can directly use dino-vitb16 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.