Downloads · 30 days
0
lucid-dl/cvt-13
cvt-13 is a image classification model from lucid-dl. Use it when you need a label for an image. It is set up for lucid. The card lists the license as apache-2.0.
Wu et al., 2021 — CvT: Introducing Convolutions to Vision Transformers (arXiv:2103.15808)
Downloads · 30 days
0
Access
Public
Updated May 29, 2026
Repo size
80.1 MB
Likes
0
Public
Click a slice to open those files.
.safetensors80.1 MB · 100%
From the Hugging Face model README
Wu et al., 2021 — CvT: Introducing Convolutions to Vision Transformers (arXiv:2103.15808)
Lucid port of transformers/microsoft/cvt-13,
converted to Lucid-native safetensors.
| Tag | acc@1 | acc@5 | Params | GFLOPs | Size | Source |
|---|---|---|---|---|---|---|
IN1K (default) | 81.6 | — | 20.0M | — | 76.43 MB | transformers |
import lucid.models as models
from lucid.models.weights import CvT13Weights
# default tag
model = models.cvt_13_cls(pretrained=True)
# explicit tag (enum or string)
model = models.cvt_13_cls(weights=CvT13Weights.IN1K)
model = models.cvt_13_cls(pretrained="IN1K")
# preprocessing travels with the weights
weights = CvT13Weights.IN1K
preprocess = weights.transforms()
logits = model(preprocess(image)[None]).logits
Converted from transformers/microsoft/cvt-13 via
python -m tools.convert_weights cvt_13 --tag IN1K.
Key mapping + numerical parity verified against the source.
apache-2.0 — inherited from the original weights.
@inproceedings{wu2021cvt,
title={CvT: Introducing Convolutions to Vision Transformers},
author={Wu, Haiping and Xiao, Bin and Codella, Noel and Liu, Mengchen and Dai, Xiyang and Yuan, Lu and Zhang, Lei},
booktitle={ICCV}, year={2021}
}