roskosmos19/Zero-shoot-clasification
1
Zero-Shot Decisions · Browser
Fully client-side zero-shot classification powered by Transformers.js (WebGPU / WASM). No server, no ZeroGPU, no API keys. Enter a compatible Hugging Face model and score options against a state.
What it does
- Enter a Hugging Face model ID that supports zero-shot classification (or pick a suggestion).
- Provide a state (context) and one or more questions with allowed options.
- The model scores every option via the zero-shot-classification pipeline.
- Results show calibrated-style probabilities and the top choice per question.
Requirements
- Modern browser (Chrome / Edge recommended for WebGPU; WASM fallback available).
- First load downloads the model weights (cached afterwards).
Suggested models
Only models that Transformers.js can load (ONNX / converted) will work. Raw PyTorch checkpoints are not supported without conversion.
Local development
python -m http.server 8000Open http://localhost:8000 in a modern browser.
