TIPSv2 (Text-Image Pre-training with Spatial awareness) is a family of contrastive vision-language models that produce spatially rich image features aligned with text embeddings. This is the Base variant with 86M vision params and 110M text params.
import numpy as np
from sklearn.decomposition import PCA
spatial = out.patch_tokens.reshape(1, 32, 32, 768)
feat = spatial[0].detach().numpy().reshape(-1, 768)
rgb = PCA(n_components=3).fit_transform(feat).reshape(32, 32, 3)
print(rgb.shape) # (32, 32, 3) — PCA of patch features as RGB
GPU inference
model = model.cuda()
out = model.encode_image(pixel_values.cuda())
text_emb = model.encode_text(["a city"])
Model details
Architecture
: ViT vision encoder (12 layers) + Transformer text encoder (12 layers)
Image preprocessing
: resize to any resolution, convert to
[0, 1]
(no ImageNet normalization)
Text preprocessing
: SentencePiece tokenizer, lowercased, max 64 tokens
Patch size
: 14x14 pixels
License
Apache 2.0
Citation
@inproceedings{cao2026tipsv2,
title = {{TIPSv2: Advancing Vision-Language Pretraining with Enhanced Patch-Text Alignment}},
author = {Cao, Bingyi and Chen, Koert and Maninis, Kevis-Kokitsi and Chen, Kaifeng and Karpur, Arjun and Xia, Ye and Dua, Sahil and Dabral, Tanmaya and Han, Guangxing and Han, Bohyung and Ainslie, Joshua and Bewley, Alex and Jacob, Mithun and Wagner, Rene and Ramos, Washington and Choromanski, Krzysztof and Seyedhosseini, Mojtaba and Zhou, Howard and Araujo, Andre},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2026}
}
Runs of google tipsv2-b14 on huggingface.co
190.2K
Total runs
0
24-hour runs
-1.8K
3-day runs
2.2K
7-day runs
38.5K
30-day runs
More Information About tipsv2-b14 huggingface.co Model
tipsv2-b14 huggingface.co is an AI model on huggingface.co that provides tipsv2-b14's model effect (), which can be used instantly with this google tipsv2-b14 model. huggingface.co supports a free trial of the tipsv2-b14 model, and also provides paid use of the tipsv2-b14. Support call tipsv2-b14 model through api, including Node.js, Python, http.
tipsv2-b14 huggingface.co is an online trial and call api platform, which integrates tipsv2-b14's modeling effects, including api services, and provides a free online trial of tipsv2-b14, you can try tipsv2-b14 online for free by clicking the link below.
google tipsv2-b14 online free url in huggingface.co:
tipsv2-b14 is an open source model from GitHub that offers a free installation service, and any user can find tipsv2-b14 on GitHub to install. At the same time, huggingface.co provides the effect of tipsv2-b14 install, users can directly use tipsv2-b14 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.