Xenova / siglip-base-patch16-224

huggingface.co
Total runs: 14.9K
24-hour runs: 0
7-day runs: 2.0K
30-day runs: 2.0K
Model's Last Updated: July 08 2025
zero-shot-image-classification

Introduction of siglip-base-patch16-224

Model Details of siglip-base-patch16-224

https://huggingface.co/google/siglip-base-patch16-224 with ONNX weights to be compatible with Transformers.js.

Usage (Transformers.js)

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @xenova/transformers

Example: Zero-shot image classification w/ Xenova/siglip-base-patch16-224 :

import { pipeline } from '@xenova/transformers';

const classifier = await pipeline('zero-shot-image-classification', 'Xenova/siglip-base-patch16-224');
const url = 'http://images.cocodataset.org/val2017/000000039769.jpg';
const output = await classifier(url, ['2 cats', '2 dogs'], {
    hypothesis_template: 'a photo of {}',
});
console.log(output);
// [
//   { score: 0.16770583391189575, label: '2 cats' },
//   { score: 0.000022096000975579955, label: '2 dogs' }
// ]

Example: Compute text embeddings with SiglipTextModel .

import { AutoTokenizer, SiglipTextModel } from '@xenova/transformers';

// Load tokenizer and text model
const tokenizer = await AutoTokenizer.from_pretrained('Xenova/siglip-base-patch16-224');
const text_model = await SiglipTextModel.from_pretrained('Xenova/siglip-base-patch16-224');

// Run tokenization
const texts = ['a photo of 2 cats', 'a photo of 2 dogs'];
const text_inputs = tokenizer(texts, { padding: 'max_length', truncation: true });

// Compute embeddings
const { pooler_output } = await text_model(text_inputs);
// Tensor {
//   dims: [ 2, 768 ],
//   type: 'float32',
//   data: Float32Array(1536) [ ... ],
//   size: 1536
// }

Example: Compute vision embeddings with SiglipVisionModel .

import { AutoProcessor, SiglipVisionModel, RawImage} from '@xenova/transformers';

// Load processor and vision model
const processor = await AutoProcessor.from_pretrained('Xenova/siglip-base-patch16-224');
const vision_model = await SiglipVisionModel.from_pretrained('Xenova/siglip-base-patch16-224');

// Read image and run processor
const image = await RawImage.read('https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/football-match.jpg');
const image_inputs = await processor(image);

// Compute embeddings
const { pooler_output } = await vision_model(image_inputs);
// Tensor {
//   dims: [ 1, 768 ],
//   type: 'float32',
//   data: Float32Array(768) [ ... ],
//   size: 768
// }

Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx ).

Runs of Xenova siglip-base-patch16-224 on huggingface.co

14.9K
Total runs
0
24-hour runs
182
3-day runs
2.0K
7-day runs
2.0K
30-day runs

More Information About siglip-base-patch16-224 huggingface.co Model

siglip-base-patch16-224 huggingface.co

siglip-base-patch16-224 huggingface.co is an AI model on huggingface.co that provides siglip-base-patch16-224's model effect (), which can be used instantly with this Xenova siglip-base-patch16-224 model. huggingface.co supports a free trial of the siglip-base-patch16-224 model, and also provides paid use of the siglip-base-patch16-224. Support call siglip-base-patch16-224 model through api, including Node.js, Python, http.

siglip-base-patch16-224 huggingface.co Url

https://huggingface.co/Xenova/siglip-base-patch16-224

Xenova siglip-base-patch16-224 online free

siglip-base-patch16-224 huggingface.co is an online trial and call api platform, which integrates siglip-base-patch16-224's modeling effects, including api services, and provides a free online trial of siglip-base-patch16-224, you can try siglip-base-patch16-224 online for free by clicking the link below.

Xenova siglip-base-patch16-224 online free url in huggingface.co:

https://huggingface.co/Xenova/siglip-base-patch16-224

siglip-base-patch16-224 install

siglip-base-patch16-224 is an open source model from GitHub that offers a free installation service, and any user can find siglip-base-patch16-224 on GitHub to install. At the same time, huggingface.co provides the effect of siglip-base-patch16-224 install, users can directly use siglip-base-patch16-224 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

siglip-base-patch16-224 install url in huggingface.co:

https://huggingface.co/Xenova/siglip-base-patch16-224

Url of siglip-base-patch16-224

siglip-base-patch16-224 huggingface.co Url

Provider of siglip-base-patch16-224 huggingface.co

Xenova
ORGANIZATIONS

Other API from Xenova

huggingface.co

Total runs: 521.1K
Run Growth: -180.2K
Growth Rate: -34.58%
Updated:August 28 2025
huggingface.co

Total runs: 97.2K
Run Growth: 11.6K
Growth Rate: 11.95%
Updated:December 17 2025
huggingface.co

Total runs: 69.0K
Run Growth: -69.9K
Growth Rate: -101.37%
Updated:February 11 2026
huggingface.co

Total runs: 63.9K
Run Growth: -40.2K
Growth Rate: -62.85%
Updated:December 17 2025
huggingface.co

Total runs: 52.2K
Run Growth: -2.2K
Growth Rate: -4.28%
Updated:July 22 2025
huggingface.co

Total runs: 43.5K
Run Growth: 21.2K
Growth Rate: 48.70%
Updated:July 11 2025
huggingface.co

Total runs: 33.8K
Run Growth: 27.6K
Growth Rate: 81.76%
Updated:January 09 2026
huggingface.co

Total runs: 33.7K
Run Growth: 2.6K
Growth Rate: 7.78%
Updated:July 12 2025
huggingface.co

Total runs: 30.1K
Run Growth: 4.7K
Growth Rate: 15.68%
Updated:June 25 2025
huggingface.co

Total runs: 20.3K
Run Growth: 889
Growth Rate: 4.38%
Updated:June 30 2025
huggingface.co

Total runs: 14.1K
Run Growth: -3.0K
Growth Rate: -20.97%
Updated:July 01 2025
huggingface.co

Total runs: 12.8K
Run Growth: -22
Growth Rate: -0.17%
Updated:July 26 2025
huggingface.co

Total runs: 9.4K
Run Growth: -130
Growth Rate: -1.38%
Updated:October 27 2025
huggingface.co

Total runs: 9.0K
Run Growth: 233
Growth Rate: 2.59%
Updated:July 11 2025
huggingface.co

Total runs: 6.9K
Run Growth: -305.8K
Growth Rate: -4430.60%
Updated:August 28 2025
huggingface.co

Total runs: 6.3K
Run Growth: 1.6K
Growth Rate: 25.59%
Updated:August 28 2025
huggingface.co

Total runs: 5.1K
Run Growth: 1.6K
Growth Rate: 32.11%
Updated:August 19 2025
huggingface.co

Total runs: 3.3K
Run Growth: 1.0K
Growth Rate: 31.44%
Updated:October 08 2024
huggingface.co

Total runs: 2.7K
Run Growth: -159
Growth Rate: -5.95%
Updated:August 19 2025
huggingface.co

Total runs: 2.6K
Run Growth: 252
Growth Rate: 9.68%
Updated:July 01 2025
huggingface.co

Total runs: 2.6K
Run Growth: -189
Growth Rate: -7.35%
Updated:June 25 2025
huggingface.co

Total runs: 2.3K
Run Growth: 169
Growth Rate: 7.22%
Updated:July 22 2025
huggingface.co

Total runs: 1.9K
Run Growth: 459
Growth Rate: 24.29%
Updated:December 17 2025
huggingface.co

Total runs: 1.7K
Run Growth: 350
Growth Rate: 20.60%
Updated:July 11 2025