1 · Two chained on-device models (isolated Web Workers)
Stage 1 · GLiNER Small v2.1 (~183 MB)
Zero-shot entity extractor (onnx-community/gliner_small-v2.1, q8 raw
onnxruntime-web) discovering arbitrary target entity types.
Stage 2 · DistilBERT SST-2 (~67 MB)
Binary sentence sentiment classifier
(Xenova/distilbert-base-uncased-finetuned-sst-2-english, q8) via the shared
../../sentiment-classifier/worker.js.
Prepare both models above (or load Stage 1 alone to inspect entities first).
2 · Review / news text, target entity types & pipeline controls
Target entity types for Stage 1 (click a chip to remove):
3 · Per-entity sentiment scorecards & annotated text
Run the 2-stage pipeline above to generate per-entity sentiment scorecards.
Stage 1 · Annotated source text
Preview formatted Markdown scorecard
Run the 2-stage pipeline above to generate a Markdown scorecard.