← All models · PaliGemma 2

use case · multi-model

Multi-model: multilingual alt-text pipeline

Two models, one job. PaliGemma (vision-language, WebGPU) writes an English caption with its caption en prefix, then OPUS-MT (a small translation model, on CPU/WASM) renders it in the language you pick — an end-to-end, on-device pipeline producing alt-text for a multilingual audience with no server.

Made by Paul Kinlan · Model runs locally in your browser by 🤗 Transformers.js · Source on GitHub

Two cats on a couch A riverside at golden hour A cozy bedroom
…or drop / choose your own
Selected image

1 · PaliGemma caption (English)

The English caption streams here.

2 · French translation

The translation appears here.

The translation model (~75 MB) downloads on first use and runs on CPU/WASM — it doesn't need WebGPU, so only the PaliGemma step gates on a GPU.

← Wild · PaliGemma 2