alt.freeweights.text / vit-mae-base
From: facebook <huggingface.co/facebook>Newsgroups: alt.freeweights.textSubject:

vit-mae-base

Date: 2026-11-15Commit: 25b184bSigned: 2DC28CC7B26A283B ✓

Model with 112M parameters. Safetensors weights, 1.34 GB in all. Published by facebook under Apache-2.0.

112M params1.34GBvit-mae-basesafetensorspermissive
FactsParams112MSize1.34 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get facebook/vit-mae-base
# manifest sha256 7090705d82fa… · 1.34 GB · 7 files
$ fw verify ./vit-mae-base facebook/vit-mae-base
From sourceHosted (signed)facebook/vit-mae-baseLast check: 2026-11-15 02:36 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Overview

Size
1.34 GB
Weights
448 MB (safetensors)
Parameters
112M
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
7, each with a sha256
Publisher
facebook
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:36 UTCpassed

Model card

From the publisher at commit 25b184b. Shown as plain text with links; images open at the publisher.

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}
}

Files

7 files · 1.34 GBWeights 448 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 7 files with their sha256
FileSizesha256
.gitattributes1.23 KB98ccb431c012ebfe976280fbd45aea4cec7409935868ccecf3954370f96732a1
README.md2.97 KB16ae81a13455621be2a1e323fcef6824663c011ebd4e75ead22c5b8f13b9d2c5
config.json676 B1f7a507e1f7f63a262c5500b86470c3b22ff1a9e42de81bbba27105396572dae
model.safetensors448 MB479dcef4bd5df06259399027b789f21e9d9a1b79f37155a64176d55bc26fdae8
preprocessor_config.json217 Ba250969c94afba52d785a0e08dd36e13aeda97c4dd2b7fd0d24b457288536cea
pytorch_model.bin448 MB6748bebd304601d36283b156ab4f9212258a8aed3745beb2e2b7bc55a1992d99
tf_model.h5448 MB1477d70dc1f3918a2ca7cc3d5b50a604200e940dbdfd45ee0fba8137b1bf1fc0
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
25b184bea5 pinned now2026-11-15 02:36 UTC7 files · 1.34 GB

Use it

$ fw get facebook/vit-mae-base
# manifest sha256 7090705d82fa… · 1.34 GB · 7 files
$ fw verify ./vit-mae-base facebook/vit-mae-base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/facebook/vit-mae-base.json --dir ./vit-mae-base $ python3 fw.py verify ./vit-mae-base ./facebook__vit-mae-base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download facebook/vit-mae-base --revision 25b184bea5538bf5c4c852c79d221195fdd2778d --local-dir ./vit-mae-base

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
16ae81a13455621be2a1e323fcef6824663c011ebd4e75ead22c5b8f13b9d2c5
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: facebook <huggingface.co/facebook>Newsgroups: alt.freeweights.textSubject: vit-mae-baseDate: 2026-11-15Commit: 25b184bSigned: 2DC28CC7B26A283B ✓
Upstream
facebook/vit-mae-base
Pinned commit
25b184bea5538bf5c4c852c79d221195fdd2778d
Manifest
vit-mae-base.json · .minisig
Manifest sha256
7090705d82faae7ee58625df342b683e73fee5ea15fb060ab2d2043f4f19b0de
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:36 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/facebook/vit-mae-base.json $ curl -O https://freeweights.allternit.com/manifests/facebook/vit-mae-base.json.minisig $ minisign -Vm vit-mae-base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download facebook/vit-mae-base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. vit-mae-base.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B