alt.freeweights.vision / tipsv1-g14-lowres
From: google <huggingface.co/google>Newsgroups: alt.freeweights.visionSubject:

tipsv1-g14-lowres

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

Zero shot image classification model with 1.5B parameters. Safetensors weights, 6.10 GB in all. Published by google under Apache-2.0.

1.5B params6.10GBtipsv1-g14-lowressafetensorspermissive
FactsParams1.5BSize6.10 GBFormatssafetensorsTaskzero shot image classificationLicenseApache-2.0From sourcepermissive
$ fw get google/tipsv1-g14-lowres
# manifest sha256 942937d6cfc4… · 6.10 GB · 11 files
$ fw verify ./tipsv1-g14-lowres google/tipsv1-g14-lowres
From sourceHosted (signed)google/tipsv1-g14-lowresLast check: 2026-11-15 03:39 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
6.10 GB
Weights
6.10 GB (safetensors)
Parameters
1.5B
Formats
safetensors
Task
zero shot image classification
License
Apache-2.0 (permissive)
Files
11, each with a sha256
Publisher
google
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 03:39 UTCpassed

Model card

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

TIPS — g/14 low-res (v1)#

TIPS (Text-Image Pre-training with Spatial awareness, ICLR 2025) is a family of contrastive vision-language models that produce spatially rich image features aligned with text embeddings. This is the original (v1) g/14 low-res release with 1.1B vision params and 389M text params, converted from the official checkpoints.

VariantVision paramsText paramsEmbed dimResolution
S/1422M34M384448
B/1486M110M768448
L/14304M184M1024448
So400m/14413M448M1152448
g/141.1B389M1536448
g/14 low-res1.1B389M1536224

Usage#

pip install transformers torch torchvision sentencepiece scikit-learn requests
Load the model#
from transformers import AutoModel

model = AutoModel.from_pretrained("google/tipsv1-g14-lowres", trust_remote_code=True)
model.eval()
Encode images#

Images should be tensors in [0, 1] range (just ToTensor(), no ImageNet normalization).

import requests
from PIL import Image
from torchvision import transforms

url = "https://huggingface.co/spaces/google/TIPSv2/resolve/main/examples/zeroseg/pascal_context_00049_image.png"
image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
transform = transforms.Compose([transforms.Resize((224, 224)), transforms.ToTensor()])
pixel_values = transform(image).unsqueeze(0)

out = model.encode_image(pixel_values)
print(out.cls_token.shape)     # (1, 1, 1536) — global image embedding
print(out.patch_tokens.shape)  # (1, 256, 1536) — per-patch spatial features

The second CLS token (out.register_tokens) was trained on synthetic captions; the first (out.cls_token) on web alt-text, and is the one aligned with the text tower.

Encode text#
text_emb = model.encode_text(["a photo of a bus", "a photo of a dog"])
print(text_emb.shape)  # (2, 1536) — one embedding per query
Zero-shot classification#
import torch.nn.functional as F

classes = ["bus", "car", "dog", "cat"]
cls = F.normalize(out.cls_token[:, 0, :], dim=-1)
text_emb = F.normalize(model.encode_text(classes), dim=-1)
similarity = cls @ text_emb.T
print(classes[similarity.argmax()])  # predicted class
Visualize spatial features#
import numpy as np
from sklearn.decomposition import PCA

feat = out.patch_tokens[0].detach().cpu().numpy()
rgb = PCA(n_components=3, whiten=True).fit_transform(feat).reshape(16, 16, 3)
rgb = 1 / (1 + np.exp(-2.0 * rgb))  # sigmoid for [0, 1] range with good contrast

Model details#

  • ViT-g/14 low-res vision encoder (40 layers, patch size 14, two CLS tokens) + 12-layer transformer text encoder
  • Native resolution 224; other patch-multiple resolutions work via positional-embedding interpolation
  • Preprocessing: images to [0, 1], no normalization; SentencePiece tokenizer, lowercased, max 64 tokens

License#

Apache 2.0

Citation#

@inproceedings{maninis2025tips,
  title     = {{TIPS: Text-Image Pretraining with Spatial Awareness}},
  author    = {Maninis, Kevis-Kokitsi and Chen, Kaifeng and Ghosh, Soham and Karpur, Arjun and Chen, Koert and Xia, Ye and Cao, Bingyi and Salz, Daniel and Han, Guangxing and Dlabal, Jan and Gnanapragasam, Dan and Seyedhosseini, Mojtaba and Zhou, Howard and Araujo, Andre},
  booktitle = {International Conference on Learning Representations (ICLR)},
  year      = {2025},
  url       = {https://arxiv.org/abs/2410.16512}
}

Files

11 files · 6.10 GBWeights 6.10 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md4.09 KB9989afbfc2edd983eba80341651fa8efcf9963d8bc99ee2ec6f12d74bfdc0791
config.json2.16 KB0bb59b8d65cc846aad5fd413c3ad76e95a72834bc547ab16b913e98eba5de80d
configuration_tips.py1.73 KBbd2285cb5ce529242c2e29249972b52632425e06843e9be064998be6aeaebb6c
image_encoder.py30.8 KB862fab50ddd623222112bd589b348bba57ead44523ac4dcc399422955ad76de3
model.safetensors6.10 GB092cae42ed7352196a37e35914b47ddb036156ff2edef7499880c0c56373d1e1
modeling_tips.py4.68 KB11dae40ee6aa32cd0bb0ddcbfdcd871abbc358a489e7d916651342acecff8a8f
processor_config.json347 Be41a8840f901f56bbaf6ed63bc84f391d4705f937947ba59790f6679793bd791
text_encoder.py10.5 KB04addbc2f19664e48ef963452e855d1bce185be9aaf276fbd9e0a70d7f0918df
tokenizer.model732 KB4c40e7723348d5d9a3d3c2bdcec5120d97fb29edfe1bf118b4494bce02fc7624
tokenizer_config.json292 B0da353fd61bc490106aa9f0ae2e097802182106d1af182cfe4aa654df0ce729b
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a8c59ff3ac pinned now2026-11-15 03:39 UTC11 files · 6.10 GB

Use it

$ fw get google/tipsv1-g14-lowres
# manifest sha256 942937d6cfc4… · 6.10 GB · 11 files
$ fw verify ./tipsv1-g14-lowres google/tipsv1-g14-lowres
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/google/tipsv1-g14-lowres.json --dir ./tipsv1-g14-lowres $ python3 fw.py verify ./tipsv1-g14-lowres ./google__tipsv1-g14-lowres.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/tipsv1-g14-lowres --revision a8c59ff3ac1b229c7178e8d7f626036d812358a4 --local-dir ./tipsv1-g14-lowres

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
9989afbfc2edd983eba80341651fa8efcf9963d8bc99ee2ec6f12d74bfdc0791
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: google <huggingface.co/google>Newsgroups: alt.freeweights.visionSubject: tipsv1-g14-lowresDate: 2026-11-15Commit: a8c59ffSigned: 2DC28CC7B26A283B ✓
Upstream
google/tipsv1-g14-lowres
Pinned commit
a8c59ff3ac1b229c7178e8d7f626036d812358a4
Manifest
tipsv1-g14-lowres.json · .minisig
Manifest sha256
942937d6cfc4861ba7becacd2871116fb83f0b0a14905c2b15f26aa9c4597bf8
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:39 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/google/tipsv1-g14-lowres.json $ curl -O https://freeweights.allternit.com/manifests/google/tipsv1-g14-lowres.json.minisig $ minisign -Vm tipsv1-g14-lowres.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 google/tipsv1-g14-lowres
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. tipsv1-g14-lowres.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