Downloads · 30 days
7
10% of all-time downloads
EchoLabs33/clip-vit-large-patch14-hxq
clip-vit-large-patch14-hxq is a zero-shot image classification model from EchoLabs33. Use it for the zero-shot image classification task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
3.6x smaller from FP32. CIFAR-100 Top-1 72.8%. First vision model compressed with HXQ. CLIP ViT-Large/14 (text + vision dual encoder) compressed from 1.6 GB to 447 MB. Zero-shot classification accuracy matches the den…
Downloads · 30 days
7
10% of all-time downloads
All-time downloads
69
Public
Parameters
428M
468 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors468 MB · 99%
How the weights are stored.
U8388M · 91%
From the Hugging Face model README
3.6x smaller from FP32. CIFAR-100 Top-1 72.8%. First vision model compressed with HXQ.
CLIP ViT-Large/14 (text + vision dual encoder) compressed from 1.6 GB to 447 MB. Zero-shot classification accuracy matches the dense baseline. No calibration data. Same codec that compresses Transformers, SSMs, Hybrids, and MoEs.
pip install "helix-substrate[hf]"
import helix_substrate # registers the HXQ quantizer with HuggingFace
from transformers import CLIPModel, CLIPProcessor
from PIL import Image
model = CLIPModel.from_pretrained("EchoLabs33/clip-vit-large-patch14-helix")
processor = CLIPProcessor.from_pretrained("EchoLabs33/clip-vit-large-patch14-helix")
image = Image.open("photo.jpg")
inputs = processor(
text=["a photo of a cat", "a photo of a dog", "a photo of a car"],
images=image,
return_tensors="pt",
padding=True,
)
outputs = model(**inputs)
probs = outputs.logits_per_image.softmax(dim=-1)
print(probs) # [cat_prob, dog_prob, car_prob]
Zero-shot CIFAR-100 classification (10,000 test images, 100 classes, prompt: "a photo of a {class}"):
| Metric | Dense | HXQ (3.6x) | Delta |
|---|---|---|---|
| Top-1 Accuracy | 72.48% | 72.75% | +0.27% |
| Top-5 Accuracy | 91.41% | 91.64% | +0.23% |
All deltas within noise. Task performance preserved after 3.6x compression.
| Dense (FP32) | HXQ | |
|---|---|---|
| Size | 1.6 GB | 447 MB |
| Compression ratio | -- | 3.6x |
| VRAM (eval) | 3,412 MB | 2,266 MB |
| Compressed modules | -- | 218 HelixLinear layers |
| Architecture | CLIP (ViT-L/14 + Text Transformer) | unchanged |
HelixLinear layer via HelixLinearSTE. See helix-substrate for training infrastructure.helix-substrate -- you need pip install "helix-substrate[hf]".HelixCode is a universal weight compression codec based on vector quantization:
nn.Linear regardless of architectureCLIP ViT-Large/14 is a dual-encoder multimodal model:
All 218 linear layers across both encoders are compressed. Embedding layers (token, position, patch), layer norms, and biases are stored at full precision.
CLIP is the first vision model compressed with HXQ. The same codec now covers:
| Family | Models | Eval |
|---|---|---|
| Transformer | TinyLlama, Qwen 1.5B-14B | PPL within noise |
| Pure SSM | Mamba 130m, Mamba2 1.3B | PPL receipted |
| Hybrid | Zamba2 1.2B, 2.7B | PPL receipted |
| MoE | OLMoE 1B/7B | HellaSwag -0.16% |
| Vision+Text | CLIP ViT-L/14 | Top-1 +0.27% |
Five architecture families. One codec. One pip install.
| Model | Architecture | Ratio | Eval Delta |
|---|---|---|---|
| clip-vit-large-patch14-helix | Vision+Text (CLIP) | 3.6x | +0.27% Top-1 |
| olmoe-1b-7b-instruct-helix | MoE (64 experts) | 1.9x | -0.16% HellaSwag |
| zamba2-2.7b-instruct-helix | Hybrid (Mamba2+Transformer) | 1.8x | +6.59% PPL |
| zamba2-1.2b-helix | Hybrid (Mamba2+Transformer) | 1.7x | +2.90% PPL |
| qwen2.5-14b-instruct-helix | Transformer | 3.4x | pending |
| qwen2.5-3b-instruct-helix | Transformer | 1.6x | +0.69% PPL |
| tinyllama-1.1b-helix | Transformer | 4.0x | +0.78% PPL |
| mamba2-1.3b-helix | Pure SSM (Mamba2) | 2.1x | +8.0% PPL |
| mamba-130m-helix | Pure SSM | 3.8x | +18.4% PPL |
@software{helix_substrate_2026,
title={Helix Substrate: Universal Weight Compression via HelixCode},
author={EchoLabs},
year={2026},
url={https://github.com/echo313unfolding/helix-substrate}
}
Apache 2.0 (inherited from openai/clip-vit-large-patch14).