Downloads · 30 days
29
67% of all-time downloads
aneforge/vit-base-patch16-224
vit-base-patch16-224 is a image classification model from aneforge. Use it when you need a label for an image. It is set up for aneforge. The card lists the license as apache-2.0.
An unmodified duplicate of google/vit-base-patch16-224, tagged for use with ANEForge so the weights load and run directly on the Apple Neural Engine (no CoreML). Weights are byte-identical to the source; see the origi…
Downloads · 30 days
29
67% of all-time downloads
All-time downloads
43
Public
Parameters
86.6M
346 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors346 MB · 100%
From the Hugging Face model README
An unmodified duplicate of google/vit-base-patch16-224, tagged for use with
ANEForge so the weights load and run directly on the
Apple Neural Engine (no CoreML). Weights are byte-identical to the source; see the original repo for
the model details. Licensed apache-2.0 from the source.
# pip install "aneforge[models]"
import aneforge as af
vit = af.load_vit("aneforge/vit-base-patch16-224")
print(vit.classify(image)) # top-k (label, logit)
ANEForge compiles the model's graph into a single ANE program and streams the weights from this repo
via huggingface_hub. See the docs and the
paper.