From: facebook <huggingface.co/facebook>Newsgroups: alt.freeweights.visionSubject:

levit-128S

Date: 2026-11-14Commit: 46576b0Signed: 2DC28CC7B26A283B ✓

Image classification model with 8M parameters. Safetensors weights, 64.3 MB in all. Published by facebook under Apache-2.0.

8M params64.3MBlevit-128Ssafetensorspermissive
FactsParams8MSize64.3 MBFormatssafetensorsTaskimage classificationLicenseApache-2.0From sourcepermissive
$ fw get facebook/levit-128S
# manifest sha256 9494f6b819ac… · 64.3 MB · 6 files
$ fw verify ./levit-128S facebook/levit-128S
From sourceHosted (signed)facebook/levit-128SLast check: 2026-11-14 21:36 UTC

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

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
64.3 MB
Weights
32.1 MB (safetensors)
Parameters
8M
Formats
safetensors
Task
image classification
License
Apache-2.0 (permissive)
Files
6, each with a sha256
Publisher
facebook
Added
2026-11-14
Section
alt.freeweights.vision
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-14 21:36 UTCpassed

Model card

From the publisher at commit 46576b0. Shown as plain text with links; images open at the publisher.

LeViT#

LeViT-128S model pre-trained on ImageNet-1k at resolution 224x224. It was introduced in the paper LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inference by Graham et al. and first released in this repository.

Disclaimer: The team releasing LeViT did not write a model card for this model so this model card has been written by the Hugging Face team.

Usage#

Here is how to use this model to classify an image of the COCO 2017 dataset into one of the 1,000 ImageNet classes:

from transformers import LevitFeatureExtractor, LevitForImageClassificationWithTeacher
from PIL import Image
import requests

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

feature_extractor = LevitFeatureExtractor.from_pretrained('facebook/levit-128S')
model = LevitForImageClassificationWithTeacher.from_pretrained('facebook/levit-128S')

inputs = feature_extractor(images=image, return_tensors="pt")
outputs = model(**inputs)
logits = outputs.logits
# model predicts one of the 1000 ImageNet classes
predicted_class_idx = logits.argmax(-1).item()
print("Predicted class:", model.config.id2label[predicted_class_idx])

Files

6 files · 64.3 MBWeights 32.1 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 6 files with their sha256
FileSizesha256
.gitattributes1.23 KB400b270bc8f5cb44fda65b1a4532ceca0fb452d0637425e861829560cf393ae2
README.md1.71 KBca223040fecc8f510b981f833a4c36603b2a5d29ea3275e58026a4aa6c50c0b6
config.json70.0 KB872604fd96f3a55affc314e6cba383dda69ca5d5d8a196962b049adbb5653a19
model.safetensors32.1 MBf3eefdde8818f46fc4420b43fc08c8829509af0b7a9f8dac5d30bf7e727ca00f
preprocessor_config.json268 Bb770c8ef578b84ba5a3466d959256e2680763986dac52fa019f8ca4d0a3084ea
pytorch_model.bin32.1 MB0e2d4e377c1b6e0df2f2e7132e240a71aadc761a61360c8060019829af83d33a
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
46576b0c1b pinned now manifest updated, same commit2026-11-14 21:36 UTC6 files · 64.3 MB
46576b0c1b2026-11-14 21:36 UTC6 files · 64.3 MB

Use it

$ fw get facebook/levit-128S
# manifest sha256 9494f6b819ac… · 64.3 MB · 6 files
$ fw verify ./levit-128S facebook/levit-128S
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/facebook/levit-128S.json --dir ./levit-128S $ python3 fw.py verify ./levit-128S ./facebook__levit-128S.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download facebook/levit-128S --revision 46576b0c1bead4e89d89eb42e0a1ad4cb236fb20 --local-dir ./levit-128S

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-14
Text in
README.md
Text sha256
ca223040fecc8f510b981f833a4c36603b2a5d29ea3275e58026a4aa6c50c0b6
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.visionSubject: levit-128SDate: 2026-11-14Commit: 46576b0Signed: 2DC28CC7B26A283B ✓
Upstream
facebook/levit-128S
Pinned commit
46576b0c1bead4e89d89eb42e0a1ad4cb236fb20
Manifest
levit-128S.json · .minisig
Manifest sha256
9494f6b819acc29eb3356e03a4601e1347f41cfcf74459107024d5ee47375fb0
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:36 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/facebook/levit-128S.json $ curl -O https://freeweights.allternit.com/manifests/facebook/levit-128S.json.minisig $ minisign -Vm levit-128S.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/levit-128S
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. levit-128S.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX