Skip to content
WebAI

multimodal / clip

Image–text embeddings

Embeds images and text into one shared space, which makes image search, zero-shot labelling and duplicate detection a vector comparison. Two encoders ship together, but you only load the one you query with.

3 entries

Open demo →

Catalog comparison

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

CLIP ViT-B/32

OpenAI CLIP base model — image/text embeddings in the browser.

Tasks: Image–text embeddings

ModelTransformers.js

q4f16: 240.0 MiB

q8: 293.1 MiB

fp16: 578.8 MiB

fp32: 1155.4 MiB

Code license: Apache-2.0

Weight license: Not verified

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Xenova/clip-vit-base-patch32
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Not verified
Legacy license label (unverified)
Apache-2.0

Deployment variants

q4f16
Download size: 240.0 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: d15189d7028b43f1d3e65039190477f6af591c2a
Weight artifact ↗
q8
Download size: 293.1 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: d15189d7028b43f1d3e65039190477f6af591c2a
Weight artifact ↗
fp16
Download size: 578.8 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: d15189d7028b43f1d3e65039190477f6af591c2a
Weight artifact ↗
fp32
Download size: 1155.4 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: d15189d7028b43f1d3e65039190477f6af591c2a
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

SigLIP Base

Google SigLIP — improved image-text similarity learning.

Tasks: Image–text embeddings

ModelTransformers.js

q4f16: 292.5 MiB

q8: 402.4 MiB

fp16: 776.3 MiB

fp32: 1551.0 MiB

Code license: Apache-2.0

Weight license: Apache-2.0

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Xenova/siglip-base-patch16-224
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Apache-2.0
Legacy license label (unverified)
Apache-2.0

Deployment variants

q4f16
Download size: 292.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 4649052661e53c7000355844105f8a1792088239
Weight artifact ↗
q8
Download size: 402.4 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 4649052661e53c7000355844105f8a1792088239
Weight artifact ↗
fp16
Download size: 776.3 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 4649052661e53c7000355844105f8a1792088239
Weight artifact ↗
fp32
Download size: 1551.0 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 4649052661e53c7000355844105f8a1792088239
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

MobileCLIP s0

Apple’s distilled CLIP for on-device use, in the smallest of its five sizes. The published release is PyTorch; the loadable build is the ONNX export, and the image and text encoders are separate files so a query only pays for one.

Tasks: Image–text embeddings

ModelTransformers.js

q8: 52.1 MiB

fp16: 102.9 MiB

fp32: 205.4 MiB

Code license: Apache-2.0

Weight license: Other

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Xenova/mobileclip_s0
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Image encoder, Text encoder, s0 (smallest of five sizes)
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Other
Legacy license label (unverified)
Other

Deployment variants

q8
Download size: 52.1 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 757d59c9c6870a76a4b0306f05f5061bca15c39f
Weight artifact ↗
fp16
Download size: 102.9 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 757d59c9c6870a76a4b0306f05f5061bca15c39f
Weight artifact ↗
fp32
Download size: 205.4 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 757d59c9c6870a76a4b0306f05f5061bca15c39f
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Application workflows

About Image–text embeddings

Image–text embeddings under Multimodal holds 3 catalogue entries: 3 models.

3 of them carry browser evidence, all from upstream browser examples.

The usual pattern for this task is to load quantised weights (ONNX, TFLite or a MediaPipe asset bundle) into the page, hand them to Transformers.js, and accelerate with WebGPU or WebAssembly. What decides the experience is weight size, peak memory and decoding path — not the parameter count.

To see the output first, open the interactive demo for this task: switch models, edit the sample input and compare results on one page. Every demo states whether it is running real weights or a deterministic simulator.

At a glance

Entries
3 in total
Main runtime
Transformers.js
Smallest known weights
52.1 MiB
Browser evidence
3 of 3 verified

Image–text embeddings: common questions

Can Image–text embeddings run directly in a browser?
Yes. 3 entries already carry browser evidence (tested here or an upstream example), so the approach works; whether it runs smoothly on your device depends on weight size, browser version and whether WebGPU is enabled.
How large is the model for Image–text embeddings?
We verified the weight file sizes of 3 entries in this task; the smallest tier is 52.1 MiB. Quantisation differs between entries, so the real download depends on the precision you pick. Files are reused from the HTTP cache or Cache Storage after the first download.
Which devices suit Image–text embeddings?
Any modern browser with WebAssembly is a starting point, and WebGPU usually makes it faster. Phones are tighter on memory, so run the demo once on the target device before deciding.
Does running a model here upload my data?
The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.

Other tasks in this category

Browse all Multimodal models →

Read next

All posts →