alt.freeweights.vision / TinyCLIP-ViT-8M-16-Text-3M-YFCC15M
From: wkcn <huggingface.co/wkcn>Newsgroups: alt.freeweights.visionSubject:

TinyCLIP-ViT-8M-16-Text-3M-YFCC15M

Date: 2026-11-15Commit: a2a8c6eSigned: 2DC28CC7B26A283B ✓

Zero shot image classification model with 23M parameters. Safetensors weights, 190 MB in all. Published by wkcn under MIT.

23M params190MBTinyCLIP-ViT-8M-16-Text-3M-YFCC15Msafetensorspermissive
FactsParams23MSize190 MBFormatssafetensorsTaskzero shot image classificationLicenseMITFrom sourcepermissive
$ fw get wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M
# manifest sha256 0aad7cd41b0a… · 190 MB · 9 files
$ fw verify ./TinyCLIP-ViT-8M-16-Text-3M-YFCC15M wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M
From sourceHosted (signed)wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15MLast check: 2026-11-15 02:33 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
190 MB
Weights
93.8 MB (safetensors)
Parameters
23M
Formats
safetensors
Task
zero shot image classification
License
MIT (permissive)
Files
9, each with a sha256
Publisher
wkcn
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:33 UTCpassed

Model card

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

TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritance#

[ICCV 2023] - TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritance

TinyCLIP is a novel cross-modal distillation method for large-scale language-image pre-trained models. The method introduces two core techniques: affinity mimicking and weight inheritance. This work unleashes the capacity of small CLIP models, fully leveraging large-scale models as well as pre-training data and striking the best trade-off between speed and accuracy.

Image: image

Use with Transformers#

from PIL import Image
import requests

from transformers import CLIPProcessor, CLIPModel

model = CLIPModel.from_pretrained("wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M")
processor = CLIPProcessor.from_pretrained("wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M")

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

inputs = processor(text=["a photo of a cat", "a photo of a dog"], images=image, return_tensors="pt", padding=True)

outputs = model(**inputs)
logits_per_image = outputs.logits_per_image # this is the image-text similarity score
probs = logits_per_image.softmax(dim=1) # we can take the softmax to get the label probabilities

Highlights#

Image: image

  • TinyCLIP ViT-45M/32 uses only half parameters of ViT-B/32 to achieves comparable zero-shot performance.
  • TinyCLIP ResNet-19M reduces the parameters by 50\% while getting 2x inference speedup, and obtains 56.4\% accuracy on ImageNet.

Model Zoo#

ModelWeight inheritancePretrainIN-1K Acc@1(%)MACs(G)Throughput(pairs/s)Link

TinyCLIP ViT-39M/16 Text-19M | manual | YFCC-15M | 63.5 | 9.5 | 1,469 | Model TinyCLIP ViT-8M/16 Text-3M | manual | YFCC-15M | 41.1 | 2.0 | 4,150 | Model TinyCLIP ResNet-30M Text-29M | manual | LAION-400M | 59.1 | 6.9 | 1,811 | Model TinyCLIP ResNet-19M Text-19M | manual | LAION-400M | 56.4 | 4.4 | 3,024| Model TinyCLIP ViT-61M/32 Text-29M | manual | LAION-400M | 62.4 | 5.3 | 3,191|Model TinyCLIP ViT-40M/32 Text-19M | manual | LAION-400M | 59.8 | 3.5 | 4,641|Model TinyCLIP ViT-63M/32 Text-31M | auto | LAION-400M | 63.9 | 5.6 | 2,905|Model TinyCLIP ViT-45M/32 Text-18M | auto | LAION-400M | 61.4 | 3.7 | 3,682|Model TinyCLIP ViT-22M/32 Text-10M | auto | LAION-400M | 53.7 | 1.9 | 5,504|Model TinyCLIP ViT-63M/32 Text-31M | auto | LAION+YFCC-400M | 64.5 | 5.6| 2,909 | Model TinyCLIP ViT-45M/32 Text-18M | auto | LAION+YFCC-400M | 62.7 | 1.9 | 3,685 | Model

Note: The configs of models with auto inheritance are generated automatically.

Official PyTorch Implementation#

https://github.com/microsoft/Cream/tree/main/TinyCLIP

Citation#

If this repo is helpful for you, please consider to cite it. :mega: Thank you! :)

@InProceedings{tinyclip,
    title     = {TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritance},
    author    = {Wu, Kan and Peng, Houwen and Zhou, Zhenghong and Xiao, Bin and Liu, Mengchen and Yuan, Lu and Xuan, Hong and Valenzuela, Michael and Chen, Xi (Stephen) and Wang, Xinggang and Chao, Hongyang and Hu, Han},
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
    month     = {October},
    year      = {2023},
    pages     = {21970-21980}
}

Acknowledge#

Our code is based on CLIP, OpenCLIP, CoFi and PyTorch. Thank contributors for their awesome contribution!

License#

Files

9 files · 190 MBWeights 93.8 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.49 KBa7acd8d2972f5b45105390d6e8e3f281fd0f694d7e86d565c90c2e72ccf1bca4
README.md5.96 KBf0358aa986c559a7d80a147b65c1c40892f14ba02920fa2a01903a2347b36f7f
config.json4.60 KBc586d856dbd5589b67525db9e791ee0917402405672c7773aead373efb7d7bca
figure/TinyCLIP.jpg356 KB178a108eca80b664b199396ca5b750bc33b13f197c75100f35a1a219b2b8e29f
figure/fig1.jpg124 KB5c513ee595b8f49650a04c6d8c9343395e060881952640d7d644a7477d95741b
model.safetensors93.8 MB9339ee3d736344d0ddcaa6c03edc9f89688f08caaea5401220885233da726fcc
preprocessor_config.json316 B910e70b3956ac9879ebc90b22fb3bc8a75b6a0677814500101a4c072bd7857bd
pytorch_model.bin93.9 MB45d832b8c61a631df7b739fecd3fe895a92e57e3a3f318ede459ee0ca6e9c565
tokenizer.json2.22 MBb556ac8c99757ffb677208af34bc8c6721572114111a6e0aaf5fa69ff0b8d842
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a2a8c6eaa2 pinned now2026-11-15 02:33 UTC9 files · 190 MB

Use it

$ fw get wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M
# manifest sha256 0aad7cd41b0a… · 190 MB · 9 files
$ fw verify ./TinyCLIP-ViT-8M-16-Text-3M-YFCC15M wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M.json --dir ./TinyCLIP-ViT-8M-16-Text-3M-YFCC15M $ python3 fw.py verify ./TinyCLIP-ViT-8M-16-Text-3M-YFCC15M ./wkcn__TinyCLIP-ViT-8M-16-Text-3M-YFCC15M.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M --revision a2a8c6eaa2549ad66eb7c31b85022bf58273a26c --local-dir ./TinyCLIP-ViT-8M-16-Text-3M-YFCC15M

License

Name
MIT License
Id
MIT
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
f0358aa986c559a7d80a147b65c1c40892f14ba02920fa2a01903a2347b36f7f
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: wkcn <huggingface.co/wkcn>Newsgroups: alt.freeweights.visionSubject: TinyCLIP-ViT-8M-16-Text-3M-YFCC15MDate: 2026-11-15Commit: a2a8c6eSigned: 2DC28CC7B26A283B ✓
Upstream
wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M
Pinned commit
a2a8c6eaa2549ad66eb7c31b85022bf58273a26c
Manifest
TinyCLIP-ViT-8M-16-Text-3M-YFCC15M.json · .minisig
Manifest sha256
0aad7cd41b0a590828dec658d629ebad66cb0e3835eeb55b9d680e4c170d43cf
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:33 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M.json $ curl -O https://freeweights.allternit.com/manifests/wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M.json.minisig $ minisign -Vm TinyCLIP-ViT-8M-16-Text-3M-YFCC15M.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

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download wkcn/TinyCLIP-ViT-8M-16-Text-3M-YFCC15M
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. TinyCLIP-ViT-8M-16-Text-3M-YFCC15M.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of TinyCLIP-ViT-8M-16-Text-3M-YFCC15M. Each has its own license check and page.

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