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

cvt-13

Date: 2026-11-15Commit: 84e365aSigned: 2DC28CC7B26A283B ✓

Image classification model with 20M parameters. Safetensors weights, 241 MB in all. Published by microsoft under Apache-2.0.

20M params241MBcvt-13safetensorspermissive
FactsParams20MSize241 MBFormatssafetensorsTaskimage classificationLicenseApache-2.0From sourcepermissive
$ fw get microsoft/cvt-13
# manifest sha256 b5ae3c554a2f… · 241 MB · 7 files
$ fw verify ./cvt-13 microsoft/cvt-13
From sourceHosted (signed)microsoft/cvt-13Last check: 2026-11-15 02:49 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
241 MB
Weights
80.2 MB (safetensors)
Parameters
20M
Formats
safetensors
Task
image classification
License
Apache-2.0 (permissive)
Files
7, each with a sha256
Publisher
microsoft
Added
2026-11-15
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-15 02:49 UTCpassed

Model card

From the publisher at commit 84e365a. Shown as plain text with links; images open at the publisher.

Convolutional Vision Transformer (CvT)#

CvT-13 model pre-trained on ImageNet-1k at resolution 224x224. It was introduced in the paper CvT: Introducing Convolutions to Vision Transformers by Wu et al. and first released in this repository.

Disclaimer: The team releasing CvT 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 AutoFeatureExtractor, CvtForImageClassification
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 = AutoFeatureExtractor.from_pretrained('microsoft/cvt-13')
model = CvtForImageClassification.from_pretrained('microsoft/cvt-13')

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

7 files · 241 MBWeights 80.2 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 7 files with their sha256
FileSizesha256
.gitattributes1.27 KB840744a6a8d0ca22f8f6228a6f19c750a47db069873a32eefba939e64c742b35
README.md1.67 KB6ecd51bcc02aae828328e2ffa69e3ba706ff60a2cfbfca23a0ae4c98a59c5e02
config.json70.3 KB06fa33d90a96b5b22e95f3ab54a9ed6ed1725c13ec546d4ae0bbca3fd15a115f
model.safetensors80.2 MB71576c56ac8aaabc1db4e74d86d0316ba1fe7ecff397bbe81b33cf874df8eee2
preprocessor_config.json266 Bfd575b890da5a949493e1d1e7a70bfcb9e4b99fe444004d2dbfa253add254741
pytorch_model.bin80.3 MB77c0a16fa66a3c762159966806b8b22e13c4f0e6c879544e83621e6053f5a8e2
tf_model.h580.7 MBd782bacd92bd57ab1b7e59e5cbff7f1a102e094cc338ac72186af080ebd5abc1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
84e365a5f6 pinned now2026-11-15 02:49 UTC7 files · 241 MB

Use it

$ fw get microsoft/cvt-13
# manifest sha256 b5ae3c554a2f… · 241 MB · 7 files
$ fw verify ./cvt-13 microsoft/cvt-13
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/cvt-13.json --dir ./cvt-13 $ python3 fw.py verify ./cvt-13 ./microsoft__cvt-13.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/cvt-13 --revision 84e365a5f6a5ca987486abb25f3d8e5265cdc44d --local-dir ./cvt-13

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
6ecd51bcc02aae828328e2ffa69e3ba706ff60a2cfbfca23a0ae4c98a59c5e02
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: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.visionSubject: cvt-13Date: 2026-11-15Commit: 84e365aSigned: 2DC28CC7B26A283B ✓
Upstream
microsoft/cvt-13
Pinned commit
84e365a5f6a5ca987486abb25f3d8e5265cdc44d
Manifest
cvt-13.json · .minisig
Manifest sha256
b5ae3c554a2f7d5fc11b180b041f18e0fac352ddef0a3369c7e18eda3cc9e140
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:49 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/cvt-13.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/cvt-13.json.minisig $ minisign -Vm cvt-13.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 microsoft/cvt-13
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. cvt-13.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