alt.freeweights.vision / owlv2-base-patch16-ensemble
From: google <huggingface.co/google>Newsgroups: alt.freeweights.visionSubject:

owlv2-base-patch16-ensemble

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

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

155M params1.24GBowlv2-base-patch16-ensemblesafetensorspermissive
FactsParams155MSize1.24 GBFormatssafetensorsTaskzero shot object detectionLicenseApache-2.0From sourcepermissive
$ fw get google/owlv2-base-patch16-ensemble
# manifest sha256 cb626d2d0877… · 1.24 GB · 11 files
$ fw verify ./owlv2-base-patch16-ensemble google/owlv2-base-patch16-ensemble
From sourceHosted (signed)google/owlv2-base-patch16-ensembleLast 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.24 GB
Weights
620 MB (safetensors)
Parameters
155M
Formats
safetensors
Task
zero shot object detection
License
Apache-2.0 (permissive)
Files
11, 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 cfd3195. Shown as plain text with links; images open at the publisher.

Model Card: OWLv2#

Model Details#

The OWLv2 model (short for Open-World Localization) was proposed in Scaling Open-Vocabulary Object Detection by Matthias Minderer, Alexey Gritsenko, Neil Houlsby. OWLv2, like 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.

The model 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#

June 2023

Model Type#

The model uses a CLIP backbone with a ViT-B/16 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 Owlv2Processor, Owlv2ForObjectDetection

processor = Owlv2Processor.from_pretrained("google/owlv2-base-patch16-ensemble")
model = Owlv2ForObjectDetection.from_pretrained("google/owlv2-base-patch16-ensemble")

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")

with torch.no_grad():
  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 Pascal VOC Format (xmin, ymin, xmax, ymax)
results = processor.post_process_object_detection(outputs=outputs, target_sizes=target_sizes, threshold=0.1)
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"]
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.

(to be updated for v2)

BibTeX entry and citation info#
@misc{minderer2023scaling,
      title={Scaling Open-Vocabulary Object Detection}, 
      author={Matthias Minderer and Alexey Gritsenko and Neil Houlsby},
      year={2023},
      eprint={2306.09683},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Files

11 files · 1.24 GBWeights 620 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md4.84 KB7c7426bc5ec939a42d1f96fb093031b6263400cceac4129ebb941a0c8c11b9b9
added_tokens.json67 Be5dc0da35d20111e8ff3fdfc03682beca23d5f94ed74331bce81786b2636a24f
config.json414 Bba9df8c25a4b8461887dd0a93d9252c9cd84697fe8d49a9d8794ce409af9acb2
merges.txt525 KB9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
model.safetensors620 MBe1e130b9e404cf91a75ad45644c1da9d7fa5284085eecc864266a6923efb99e7
preprocessor_config.json425 Bcf3e396635b797ee1a464e1b2836e98748f8edac19e89aaa2c93b55ac15b0064
pytorch_model.bin620 MB69feda8b53b1c9e2a85ae756bf58c120c3c1b4b4a4d97d4876578c1809a63d76
special_tokens_map.json121 Bd6e2b9cf664efbad2d22998b8d3da986abcbeed3e0825ad33605c9401f9cf73e
tokenizer_config.json1.10 KBb55cda6198e152ded427c8a9b3faf1cccf27a7fa080697a62f6ff143f511f44f
vocab.json1.06 MBe089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
cfd3195ba4 pinned now manifest updated, same commit2026-11-14 21:36 UTC11 files · 1.24 GB
cfd3195ba42026-11-14 21:36 UTC11 files · 1.24 GB

Use it

$ fw get google/owlv2-base-patch16-ensemble
# manifest sha256 cb626d2d0877… · 1.24 GB · 11 files
$ fw verify ./owlv2-base-patch16-ensemble google/owlv2-base-patch16-ensemble
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/google/owlv2-base-patch16-ensemble.json --dir ./owlv2-base-patch16-ensemble $ python3 fw.py verify ./owlv2-base-patch16-ensemble ./google__owlv2-base-patch16-ensemble.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/owlv2-base-patch16-ensemble --revision cfd3195ba4ea9592eec887ded089f4c08eff231d --local-dir ./owlv2-base-patch16-ensemble

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
7c7426bc5ec939a42d1f96fb093031b6263400cceac4129ebb941a0c8c11b9b9
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: owlv2-base-patch16-ensembleDate: 2026-11-14Commit: cfd3195Signed: 2DC28CC7B26A283B ✓
Upstream
google/owlv2-base-patch16-ensemble
Pinned commit
cfd3195ba4ea9592eec887ded089f4c08eff231d
Manifest
owlv2-base-patch16-ensemble.json · .minisig
Manifest sha256
cb626d2d0877b91f85f840ed71a144b1428b3848c45b0be47ebf856d51b8f07d
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/owlv2-base-patch16-ensemble.json $ curl -O https://freeweights.allternit.com/manifests/google/owlv2-base-patch16-ensemble.json.minisig $ minisign -Vm owlv2-base-patch16-ensemble.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/owlv2-base-patch16-ensemble
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. owlv2-base-patch16-ensemble.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of owlv2-base-patch16-ensemble. 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