facebook / dino-vits16

huggingface.co
Total runs: 261.0K
24-hour runs: 15
7-day runs: 4.8K
30-day runs: 136.4K
Model's Last Updated: May 22 2023
image-feature-extraction

Introduction of dino-vits16

Model Details of dino-vits16

Vision Transformer (small-sized model, patch size 16) trained using DINO

Vision Transformer (ViT) model trained using the DINO method. It was introduced in the paper Emerging Properties in Self-Supervised Vision Transformers by Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin and first released in this repository .

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.

How to use

Here is how to use this model:

from transformers import ViTImageProcessor, ViTModel
from PIL import Image
import requests

url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
image = Image.open(requests.get(url, stream=True).raw)

processor = ViTImageProcessor.from_pretrained('facebook/dino-vits16')
model = ViTModel.from_pretrained('facebook/dino-vits16')

inputs = processor(images=image, return_tensors="pt")
outputs = model(**inputs)
last_hidden_states = outputs.last_hidden_state
BibTeX entry and citation info
@article{DBLP:journals/corr/abs-2104-14294,
  author    = {Mathilde Caron and
               Hugo Touvron and
               Ishan Misra and
               Herv{\'{e}} J{\'{e}}gou and
               Julien Mairal and
               Piotr Bojanowski and
               Armand Joulin},
  title     = {Emerging Properties in Self-Supervised Vision Transformers},
  journal   = {CoRR},
  volume    = {abs/2104.14294},
  year      = {2021},
  url       = {https://arxiv.org/abs/2104.14294},
  archivePrefix = {arXiv},
  eprint    = {2104.14294},
  timestamp = {Tue, 04 May 2021 15:12:43 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2104-14294.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Runs of facebook dino-vits16 on huggingface.co

261.0K
Total runs
15
24-hour runs
1.7K
3-day runs
4.8K
7-day runs
136.4K
30-day runs

More Information About dino-vits16 huggingface.co Model

More dino-vits16 license Visit here:

https://choosealicense.com/licenses/apache-2.0

dino-vits16 huggingface.co

dino-vits16 huggingface.co is an AI model on huggingface.co that provides dino-vits16's model effect (), which can be used instantly with this facebook dino-vits16 model. huggingface.co supports a free trial of the dino-vits16 model, and also provides paid use of the dino-vits16. Support call dino-vits16 model through api, including Node.js, Python, http.

dino-vits16 huggingface.co Url

https://huggingface.co/facebook/dino-vits16

facebook dino-vits16 online free

dino-vits16 huggingface.co is an online trial and call api platform, which integrates dino-vits16's modeling effects, including api services, and provides a free online trial of dino-vits16, you can try dino-vits16 online for free by clicking the link below.

facebook dino-vits16 online free url in huggingface.co:

https://huggingface.co/facebook/dino-vits16

dino-vits16 install

dino-vits16 is an open source model from GitHub that offers a free installation service, and any user can find dino-vits16 on GitHub to install. At the same time, huggingface.co provides the effect of dino-vits16 install, users can directly use dino-vits16 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

dino-vits16 install url in huggingface.co:

https://huggingface.co/facebook/dino-vits16

Url of dino-vits16

dino-vits16 huggingface.co Url

Provider of dino-vits16 huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.4M
Run Growth: -8.3M
Growth Rate: -94.36%
Updated:September 15 2023
huggingface.co

Total runs: 8.0M
Run Growth: 641.4K
Growth Rate: 8.09%
Updated:January 20 2022
huggingface.co

Total runs: 4.2M
Run Growth: 204.7K
Growth Rate: 4.74%
Updated:September 06 2023
huggingface.co

Total runs: 3.2M
Run Growth: 859.7K
Growth Rate: 27.90%
Updated:January 17 2024
huggingface.co

Total runs: 2.9M
Run Growth: -231.5K
Growth Rate: -8.06%
Updated:December 28 2021
huggingface.co

Total runs: 2.3M
Run Growth: 983.5K
Growth Rate: 43.30%
Updated:January 25 2024
huggingface.co

Total runs: 2.0M
Run Growth: 40.7K
Growth Rate: 2.04%
Updated:November 21 2025
huggingface.co

Total runs: 2.0M
Run Growth: 175.9K
Growth Rate: 8.94%
Updated:March 23 2023
huggingface.co

Total runs: 691.5K
Run Growth: -146.4K
Growth Rate: -20.60%
Updated:September 06 2023
huggingface.co

Total runs: 486.9K
Run Growth: -66.5K
Growth Rate: -13.52%
Updated:May 22 2023
huggingface.co

Total runs: 429.4K
Run Growth: -69.0K
Growth Rate: -16.06%
Updated:March 17 2025
huggingface.co

Total runs: 426.1K
Run Growth: 75.7K
Growth Rate: 18.30%
Updated:February 29 2024
huggingface.co

Total runs: 424.9K
Run Growth: -46.2K
Growth Rate: -10.29%
Updated:January 12 2024
huggingface.co

Total runs: 364.3K
Run Growth: -36.8K
Growth Rate: -10.13%
Updated:January 12 2024
huggingface.co

Total runs: 315.3K
Run Growth: 42.6K
Growth Rate: 13.49%
Updated:September 15 2023
huggingface.co

Total runs: 305.7K
Run Growth: 38.7K
Growth Rate: 12.51%
Updated:November 17 2022
huggingface.co

Total runs: 286.8K
Run Growth: -13.2K
Growth Rate: -4.70%
Updated:September 06 2023
huggingface.co

Total runs: 280.4K
Run Growth: 113.3K
Growth Rate: 39.15%
Updated:June 15 2023
huggingface.co

Total runs: 236.9K
Run Growth: 14.3K
Growth Rate: 6.02%
Updated:July 23 2024
huggingface.co

Total runs: 229.9K
Run Growth: -129.7K
Growth Rate: -55.86%
Updated:July 25 2023
huggingface.co

Total runs: 193.4K
Run Growth: 115.9K
Growth Rate: 61.51%
Updated:February 12 2023
huggingface.co

Total runs: 171.1K
Run Growth: -226.3K
Growth Rate: -133.05%
Updated:November 17 2023
huggingface.co

Total runs: 167.4K
Run Growth: 62.1K
Growth Rate: 38.42%
Updated:September 06 2023
huggingface.co

Total runs: 162.9K
Run Growth: 11.8K
Growth Rate: 7.30%
Updated:September 01 2023
huggingface.co

Total runs: 151.4K
Run Growth: 143.2K
Growth Rate: 94.83%
Updated:November 16 2023
huggingface.co

Total runs: 130.3K
Run Growth: 17.0K
Growth Rate: 13.24%
Updated:June 03 2022
huggingface.co

Total runs: 120.2K
Run Growth: 41.8K
Growth Rate: 32.47%
Updated:June 13 2023
huggingface.co

Total runs: 105.1K
Run Growth: -183.4K
Growth Rate: -164.07%
Updated:June 13 2023
huggingface.co

Total runs: 102.5K
Run Growth: -7.8K
Growth Rate: -7.38%
Updated:September 15 2023
huggingface.co

Total runs: 102.3K
Run Growth: 14.1K
Growth Rate: 14.48%
Updated:January 25 2023
huggingface.co

Total runs: 101.7K
Run Growth: 11.4K
Growth Rate: 11.85%
Updated:November 20 2023
huggingface.co

Total runs: 66.3K
Run Growth: 22.9K
Growth Rate: 48.39%
Updated:February 12 2023
huggingface.co

Total runs: 61.9K
Run Growth: 14.3K
Growth Rate: 23.25%
Updated:June 13 2023
huggingface.co

Total runs: 59.8K
Run Growth: 22.9K
Growth Rate: 37.14%
Updated:January 25 2023
huggingface.co

Total runs: 59.2K
Run Growth: -10.8K
Growth Rate: -18.17%
Updated:January 29 2026
huggingface.co

Total runs: 57.3K
Run Growth: -17.1K
Growth Rate: -29.93%
Updated:March 28 2026
huggingface.co

Total runs: 53.8K
Run Growth: 20.2K
Growth Rate: 28.86%
Updated:September 06 2023