Skip to content
WebAI

Four VLM cards, one image-captioning checkpoint behind them all

The four cards under multimodal/vlm list sizes from 213 MiB to 2.7 GB, yet every one of them downloads the same vit-gpt2 captioning checkpoint, and the question you type never reaches a model. Here is how the substitutes work, and why the CLIP page next door runs real weights.

Every result carries a *, and the weights field on all four cards reads vit-gpt2-image-captioning. The catalogue names are Moondream 2, LLaVA 1.5 7B, PaliGemma 3B and Florence-2. The browser downloads one q8 image-captioning checkpoint for all of them. That asterisk is added by the page: the original model has no browser-ready weights, so a real checkpoint from a comparable task runs in its place. We clicked through all four cards and got the same result each time.

What the four cards list

EntrySmallest tierOther tiersWhat the page loads
Florence-2~213 MiB · q4f16q8 262 MiB / fp16 519 MiB / fp32 1.0 GBViT-GPT2 q8
Moondream 2~707 MiB · q4f16q8 1.7 GB / fp16 3.5 GB / fp32 6.9 GBViT-GPT2 q8
PaliGemma 3B~2.7 GB · q4f16q8 3.4 GB / fp16 6.8 GB / fp32 13.5 GBViT-GPT2 q8
LLaVA 1.5 7BNot measured (historic estimate ~4.5 GB)No measured listingViT-GPT2 q8
Measured sizes for multimodal/vlm, taking the smallest of the mutually exclusive precision builds

That column is the minimum you would have to download. A q4f16 entry often switches to fp16 on WebGPU, and the result bar has a separate line for what this run actually downloaded. LLaVA has no measured file listing, so the field stays empty. The number in parentheses is an estimate left over from an older catalogue version.

The question box

The sample question asks what the main objects are and roughly where they sit. The real-weights branch calls captionImage() on the image, goes through an image-to-text pipeline and returns generated_text. The words typed into the box never reach any model. What you get is a caption, with no multi-turn support. We tried prefixing the question to the caption to fake an answer, and the two halves read like different conversations, so the page now says that this is a one-shot description.

Every input the real-weights branch gives the image + text line
const run = await getRun(opts);
const out = await run.call(imageSrc);   // image only, no question
const list = Array.isArray(out) ? out : [out];
return { text: (list[0]?.generated_text ?? '').trim(), meta: run };

Why there is no real VLM here

The four notes in the weights table are short and specific. Moondream 2 is too heavy for the browser. LLaVA 1.5 7B, PaliGemma 3B and Florence-2 cannot be loaded by the runtime we use. Those models need their own processors and generation configs, or their weights are several GB, and a generic pipeline() call does not cover them. The substitute marker and the explanatory note stay in the result bar, visible to anyone switching cards.

The CLIP side runs real weights

One layer over, multimodal/clip runs real weights. CLIP ViT-B/32 uses zero-shot-image-classification to score an image against candidate labels in a shared space, at ~240 MiB · q4f16 for the smallest tier. SigLIP Base is ~293 MiB · q4f16. MobileCLIP is listed at ~52.1 MiB · q8, but its weight layout does not fit the browser zero-shot pipeline, so the page loads the merged CLIP ViT-B/32 checkpoint. CLIP is English-only, and Chinese candidate labels discriminate poorly. The English interface gives better scores.

Open the visual QA demo, pick a built-in sample, switch to a card with real weights and look at the asterisk and the weights name. All four model pages are linked below with their size and precision variants.

All posts →

← Back to all posts