Multi-model · ZLM IAB Classify Edge (25.73 MB) × DistilBERT SST-2 Sentiment (68.29 MB) · 94.02 MB Total · Apache-2.0

Contextual IAB Taxonomy × Sentiment Brand-Suitability

Topic taxonomy alone cannot distinguish a five-star airline review from a stranded-passenger outrage thread. Stage 1 (zgpu-ai/zlm-v1-iab-classify-edge, 25.73 MB q8 WASM) tags 2,271 IAB Content & Audience labels, while Stage 2 reuses sibling Xenova/distilbert-base-uncased-finetuned-sst-2-english (68.29 MB q8 WASM, Apache-2.0) to score framing polarity and compute a 3×2 placement decision locally.

1. Two-Stage Local Pipeline (~94.02 MB Combined)

Stage 1 · IAB Taxonomy Tagger

zgpu-ai/zlm-v1-iab-classify-edge · 25.73 MB WASM q8 · Apache-2.0

Stage 2 · Sentiment Framing Scorer

Reuses ../distilbert-base-uncased-finetuned-sst-2-english/worker.js · Xenova/distilbert-base-uncased-finetuned-sst-2-english · 68.29 MB WASM q8 · Apache-2.0

Choose a topic × framing scenario or enter your own editorial copy:

2. Live 3×2 Brand-Suitability Decision Matrix

Placement verdict: Initialise both local models above and score an excerpt to combine Stage 1 IAB taxonomy sensitivity with Stage 2 sentiment polarity.
Placement Verdict–
Stage 1 Top Content–
Stage 1 Safety Tier–
Stage 2 Sentiment–
Latency (S1 / S2)–
NaN Check–
3 by 2 Brand-Suitability decision matrix combining IAB safety tier and sentiment polarity
IAB Safety Tier \ Sentiment Positive Framing Negative Framing

Stage 1 · IAB Content & Audience

ZLM v1 IAB (2,271 labels)

Run Stage 1 to inspect Content 3.0 & Audience 1.1 matches.

Stage 2 · Sentiment Polarity

DistilBERT SST-2 (2 classes)

Run Stage 2 to inspect POSITIVE vs NEGATIVE probabilities and raw logits.

3. Inspect Two-Stage Brand-Suitability Logic

Show the code · iab-core.mjs — combineIabAndSentiment()
Show the code · iab-client.js — SiblingSst2Client reusing sibling SST-2 worker