Skip to content
WebAI

Transformers.js · Model

PaliGemma 2 3B (224)

Google PaliGemma 2 vision-language model with an ONNX build; strong OCR, 3B parameters.

Upstream browser example

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

PaliGemma 2 3B (224)

Google PaliGemma 2 vision-language model with an ONNX build; strong OCR, 3B parameters.

Tasks: VLM

ModelTransformers.js

q4f16: 2760.9 MiB

q8: 3461.5 MiB

fp16: 6915.3 MiB

fp32: 13829.2 MiB

Code license: Apache-2.0

Weight license: Custom

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
onnx-community/paligemma2-3b-pt-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
Custom
Legacy license label (unverified)
Other

Deployment variants

q4f16
Download size: 2760.9 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: b0a2d6f61eff89480380bd1714ea5c43aadc35b5
Weight artifact ↗
q8
Download size: 3461.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: b0a2d6f61eff89480380bd1714ea5c43aadc35b5
Weight artifact ↗
fp16
Download size: 6915.3 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: b0a2d6f61eff89480380bd1714ea5c43aadc35b5
Weight artifact ↗
fp32
Download size: 13829.2 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: b0a2d6f61eff89480380bd1714ea5c43aadc35b5
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

Running PaliGemma 2 3B (224) in the browser

PaliGemma 2 3B (224) sits under Multimodal / VLM and is listed as a Model running on Transformers.js. Its verified weight size is 2.7 GB. The evidence is an upstream browser example; this site has not tested it yet.

The typical way to load weights like these is to serve quantised ONNX from a CDN or your own origin, run them through the in-page runtime, and fall back to WebAssembly when WebGPU is unavailable. Code licence: Apache-2.0; weight licence: Custom — check the original repository before commercial use.

PaliGemma 2 3B (224): common questions

Can PaliGemma 2 3B (224) be used commercially?
This catalogue records “Apache-2.0 / Custom”. Terms come from the model repository; the label here only reflects what was checked. If no licence is stated, do not ship it commercially.
How large are PaliGemma 2 3B (224) weights?
The recorded size is 2.7 GB. Quantisation variants differ a lot, so prefer the int8 or 4-bit build for the browser.
How do I call PaliGemma 2 3B (224) from a project?
Most entries load through Transformers.js: host the weights somewhere the browser can fetch, initialise the runtime on the page, then submit text, image or audio for the task. The exact API lives in the model repository and the runtime docs.
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.

VLM