facebook / vit-mae-base

huggingface.co
Total runs: 48.7K
24-hour runs: 0
7-day runs: -1.1K
30-day runs: 5.4K
Model's Last Updated: March 13 2024

Introduction of vit-mae-base

Model Details of vit-mae-base

Vision Transformer (base-sized model) pre-trained with MAE

Vision Transformer (ViT) model pre-trained using the MAE method. It was introduced in the paper Masked Autoencoders Are Scalable Vision Learners by Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, Ross Girshick and first released in this repository .

Disclaimer: The team releasing MAE 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). Images are presented to the model as a sequence of fixed-size patches.

During pre-training, one randomly masks out a high portion (75%) of the image patches. First, the encoder is used to encode the visual patches. Next, a learnable (shared) mask token is added at the positions of the masked patches. The decoder takes the encoded visual patches and mask tokens as input and reconstructs raw pixel values for the masked positions.

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.

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 AutoImageProcessor, ViTMAEForPreTraining
from PIL import Image
import requests

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

processor = AutoImageProcessor.from_pretrained('facebook/vit-mae-base')
model = ViTMAEForPreTraining.from_pretrained('facebook/vit-mae-base')

inputs = processor(images=image, return_tensors="pt")
outputs = model(**inputs)
loss = outputs.loss
mask = outputs.mask
ids_restore = outputs.ids_restore
BibTeX entry and citation info
@article{DBLP:journals/corr/abs-2111-06377,
  author    = {Kaiming He and
               Xinlei Chen and
               Saining Xie and
               Yanghao Li and
               Piotr Doll{\'{a}}r and
               Ross B. Girshick},
  title     = {Masked Autoencoders Are Scalable Vision Learners},
  journal   = {CoRR},
  volume    = {abs/2111.06377},
  year      = {2021},
  url       = {https://arxiv.org/abs/2111.06377},
  eprinttype = {arXiv},
  eprint    = {2111.06377},
  timestamp = {Tue, 16 Nov 2021 12:12:31 +0100},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2111-06377.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Runs of facebook vit-mae-base on huggingface.co

48.7K
Total runs
0
24-hour runs
199
3-day runs
-1.1K
7-day runs
5.4K
30-day runs

More Information About vit-mae-base huggingface.co Model

More vit-mae-base license Visit here:

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

vit-mae-base huggingface.co

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

vit-mae-base huggingface.co Url

https://huggingface.co/facebook/vit-mae-base

facebook vit-mae-base online free

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

facebook vit-mae-base online free url in huggingface.co:

https://huggingface.co/facebook/vit-mae-base

vit-mae-base install

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

vit-mae-base install url in huggingface.co:

https://huggingface.co/facebook/vit-mae-base

Url of vit-mae-base

vit-mae-base huggingface.co Url

Provider of vit-mae-base huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

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

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

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

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

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

Total runs: 2.3M
Run Growth: 1.0M
Growth Rate: 44.69%
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: 187.1K
Growth Rate: 9.46%
Updated:March 23 2023
huggingface.co

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

Total runs: 486.9K
Run Growth: -85.8K
Growth Rate: -17.63%
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: 85.8K
Growth Rate: 20.14%
Updated:February 29 2024
huggingface.co

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

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

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

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

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

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

Total runs: 261.0K
Run Growth: 139.0K
Growth Rate: 53.27%
Updated:May 22 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: -130.0K
Growth Rate: -56.56%
Updated:July 25 2023
huggingface.co

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

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

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

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

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

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

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

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

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

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

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

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

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

Total runs: 59.8K
Run Growth: 19.9K
Growth Rate: 33.25%
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: -16.6K
Growth Rate: -28.94%
Updated:March 28 2026
huggingface.co

Total runs: 53.8K
Run Growth: 3.9K
Growth Rate: 7.26%
Updated:September 06 2023