What does “zero‑shot classification” mean? Imagine you have a list of topics – “education”, “politics”, “business”. Without teaching the model those topics beforehand, you ask it: “Which of these topics best describes the sentence below?” The model looks at the sentence and picks the most likely label(s). That’s zero‑shot: it works on categories it has never seen during training.
Why run it in your browser? The model and its weights are downloaded once, then all calculations happen locally on your computer (using WebGPU or WebAssembly). No data leaves your device, and after the first download you can use it offline.
What this demo does
Troubleshooting: If the demo stays on “Model not loaded”, open the browser console (F12) to see any error messages, ensure you are loading the page from its HTTPS GitHub Pages URL, and disable any ad‑blocking extensions that might block model downloads.
education, politics, business).