alt.freeweights.vision / owlvit-base-patch32
From: google <huggingface.co/google>Newsgroups: alt.freeweights.visionSubject:

owlvit-base-patch32

Date: 2026-11-14Commit: cbc355fSigned: 2DC28CC7B26A283B ✓

Zero shot object detection model with 153M parameters. Safetensors weights, 1.23 GB in all. Published by google under Apache-2.0.

153M params1.23GBowlvit-base-patch32safetensorspermissive
FactsParams153MSize1.23 GBFormatssafetensorsTaskzero shot object detectionLicenseApache-2.0From sourcepermissive
$ fw get google/owlvit-base-patch32
# manifest sha256 6fe42c5f7816… · 1.23 GB · 10 files
$ fw verify ./owlvit-base-patch32 google/owlvit-base-patch32
From sourceHosted (signed)google/owlvit-base-patch32Last check: 2026-11-14 21:36 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Overview

Size
1.23 GB
Weights
613 MB (safetensors)
Parameters
153M
Formats
safetensors
Task
zero shot object detection
License
Apache-2.0 (permissive)
Files
10, each with a sha256
Publisher
google
Added
2026-11-14
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-14 21:36 UTCpassed

Model card

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

Model Card: OWL-ViT#

Model Details#

The OWL-ViT (short for Vision Transformer for Open-World Localization) was proposed in Simple Open-Vocabulary Object Detection with Vision Transformers by Matthias Minderer, Alexey Gritsenko, Austin Stone, Maxim Neumann, Dirk Weissenborn, Alexey Dosovitskiy, Aravindh Mahendran, Anurag Arnab, Mostafa Dehghani, Zhuoran Shen, Xiao Wang, Xiaohua Zhai, Thomas Kipf, and Neil Houlsby. OWL-ViT is a zero-shot text-conditioned object detection model that can be used to query an image with one or multiple text queries.

OWL-ViT uses CLIP as its multi-modal backbone, with a ViT-like Transformer to get visual features and a causal language model to get the text features. To use CLIP for detection, OWL-ViT removes the final token pooling layer of the vision model and attaches a lightweight classification and box head to each transformer output token. Open-vocabulary classification is enabled by replacing the fixed classification layer weights with the class-name embeddings obtained from the text model. The authors first train CLIP from scratch and fine-tune it end-to-end with the classification and box heads on standard detection datasets using a bipartite matching loss. One or multiple text queries per image can be used to perform zero-shot text-conditioned object detection.

Model Date#

May 2022

Model Type#

The model uses a CLIP backbone with a ViT-B/32 Transformer architecture as an image encoder and uses a masked self-attention Transformer as a text encoder. These encoders are trained to maximize the similarity of (image, text) pairs via a contrastive loss. The CLIP backbone is trained from scratch and fine-tuned together with the box and class prediction heads with an object detection objective.

Documents#
Use with Transformers#
import requests
from PIL import Image
import torch

from transformers import OwlViTProcessor, OwlViTForObjectDetection

processor = OwlViTProcessor.from_pretrained("google/owlvit-base-patch32")
model = OwlViTForObjectDetection.from_pretrained("google/owlvit-base-patch32")

url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = Image.open(requests.get(url, stream=True).raw)
texts = [["a photo of a cat", "a photo of a dog"]]
inputs = processor(text=texts, images=image, return_tensors="pt")
outputs = model(**inputs)

# Target image sizes (height, width) to rescale box predictions [batch_size, 2]
target_sizes = torch.Tensor([image.size[::-1]])
# Convert outputs (bounding boxes and class logits) to COCO API
results = processor.post_process_object_detection(outputs=outputs, threshold=0.1, target_sizes=target_sizes)

i = 0  # Retrieve predictions for the first image for the corresponding text queries
text = texts[i]
boxes, scores, labels = results[i]["boxes"], results[i]["scores"], results[i]["labels"]

# Print detected objects and rescaled box coordinates
for box, score, label in zip(boxes, scores, labels):
    box = [round(i, 2) for i in box.tolist()]
    print(f"Detected {text[label]} with confidence {round(score.item(), 3)} at location {box}")

Model Use#

Intended Use#

The model is intended as a research output for research communities. We hope that this model will enable researchers to better understand and explore zero-shot, text-conditioned object detection. We also hope it can be used for interdisciplinary studies of the potential impact of such models, especially in areas that commonly require identifying objects whose label is unavailable during training.

Primary intended uses#

The primary intended users of these models are AI researchers.

We primarily imagine the model will be used by researchers to better understand robustness, generalization, and other capabilities, biases, and constraints of computer vision models.

Data#

The CLIP backbone of the model was trained on publicly available image-caption data. This was done through a combination of crawling a handful of websites and using commonly-used pre-existing image datasets such as YFCC100M. A large portion of the data comes from our crawling of the internet. This means that the data is more representative of people and societies most connected to the internet. The prediction heads of OWL-ViT, along with the CLIP backbone, are fine-tuned on publicly available object detection datasets such as COCO and OpenImages.

BibTeX entry and citation info#
@article{minderer2022simple,
  title={Simple Open-Vocabulary Object Detection with Vision Transformers},
  author={Matthias Minderer, Alexey Gritsenko, Austin Stone, Maxim Neumann, Dirk Weissenborn, Alexey Dosovitskiy, Aravindh Mahendran, Anurag Arnab, Mostafa Dehghani, Zhuoran Shen, Xiao Wang, Xiaohua Zhai, Thomas Kipf, Neil Houlsby},
  journal={arXiv preprint arXiv:2205.06230},
  year={2022},
}

Files

10 files · 1.23 GBWeights 613 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.23 KB400b270bc8f5cb44fda65b1a4532ceca0fb452d0637425e861829560cf393ae2
README.md5.15 KBa16c707494da894773e85c1be976ae605a7b3a3ce92cf9ed277623dd25f236bf
config.json4.42 KBb5934e0d2933194b8a85f93674e577feaa1a1ba2dc1d143b2d5e5305ff7a9d7c
merges.txt525 KB9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
model.safetensors613 MB4dbe0399f0b7d7c8dddf1535a98769cc30743bebc877aea681998c8d984ce52b
preprocessor_config.json392 B2010d320cd2c68a8bb1de69aaa8f89daf173ef17cc22a30e4baf44b2f0e9bb6e
pytorch_model.bin613 MB02437334ba11db56a312a6c3f0f351f610a1075751bfe36b689636a826d5b531
special_tokens_map.json460 Bf118ab3a983206e4f32583448de6bd6aae4ee21869135cef1f5848a753cdaab6
tokenizer_config.json775 Bda35aceebeda2adf44094a5867940b09379323b9390fa9197b57044e106bfb6e
vocab.json1.06 MBe089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
cbc355fb36 pinned now manifest updated, same commit2026-11-14 21:36 UTC10 files · 1.23 GB
cbc355fb362026-11-14 21:36 UTC10 files · 1.23 GB

Use it

$ fw get google/owlvit-base-patch32
# manifest sha256 6fe42c5f7816… · 1.23 GB · 10 files
$ fw verify ./owlvit-base-patch32 google/owlvit-base-patch32
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/google/owlvit-base-patch32.json --dir ./owlvit-base-patch32 $ python3 fw.py verify ./owlvit-base-patch32 ./google__owlvit-base-patch32.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/owlvit-base-patch32 --revision cbc355fb364588351c5d51c7f74465e8e7ec6f72 --local-dir ./owlvit-base-patch32

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-14
Text in
README.md
Text sha256
a16c707494da894773e85c1be976ae605a7b3a3ce92cf9ed277623dd25f236bf
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: owlvit-base-patch32Date: 2026-11-14Commit: cbc355fSigned: 2DC28CC7B26A283B ✓
Upstream
google/owlvit-base-patch32
Pinned commit
cbc355fb364588351c5d51c7f74465e8e7ec6f72
Manifest
owlvit-base-patch32.json · .minisig
Manifest sha256
6fe42c5f7816447d139730faa286dcb256c17746da1920a797619381b15e309c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:36 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

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

Signed manifest
minisign, key 2DC28CC7B26A283B. owlvit-base-patch32.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of owlvit-base-patch32. 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