Multi-model · DistilBART XSum 12-6 (362.32 MB q8 · Apache-2.0) → DeBERTa-v3 NLI Audit (87.25 MB q8 · Apache-2.0)

Source-Backed Headline Entailment & Hallucination Risk Audit

Chain two independent WASM models totaling 449.57 MB offline: Stage 1 (Xenova/distilbart-xsum-12-6, 362.32 MB q8, Apache-2.0) synthesizes an extreme 1-sentence headline, then Stage 2 (Xenova/nli-deberta-v3-xsmall, 87.25 MB q8, Apache-2.0, reusing ../../zero-shot-text/worker.js with dynamic res.classNames mapping) audits whether the source entails or contradicts the generated headline.

1. Two Independent On-Device Models (449.57 MB Total)

Stage 1 · DistilBART XSum 12-6 (362.32 MB WASM q8 · Apache-2.0)

Stage 2 · DeBERTa-v3 Zero-Shot NLI (87.25 MB WASM q8 · Apache-2.0)

2. Chained XSum Synthesis → NLI Grounding Audit

Initialize both stages above to run the 449.57 MB XSum Headline → NLI Grounding Audit workflow.

Editorial Grounding Verdict: Run both stages above to pair extreme 1-sentence synthesis with NLI entailment verification.
Stage 1 Compression–
Novel 2-Gram Rate–
Stage 2 Entailment–
Contradiction Signal–
Stage 1 / Stage 2 ms–
Stage 2 id2label order–

Stage 1 · Generated 1-Sentence Headline & Entity Flags

Run Stage 1 to synthesize a 1-sentence XSum headline.

Lexical entity & numeric grounding readout appears here.

Stage 2 · Dynamic 3-Way NLI Factual Audit (res.classNames)

Zero-shot NLI entailment, neutral, and contradiction probabilities mapped dynamically from res.classNames
Audit Hypothesis Entailment Neutral Contradiction
Run Stage 2 to verify source-backed entailment.

3. Source-Backed Grounding Audit Matrix Log

Every completed 2-stage audit appends or updates in the matrix log below.

Chained XSum headline and DeBERTa-v3 NLI audit matrix
Preset / Item Verdict Novel 2-Gram / Flags NLI Entailment Latency Generated Headline
Run the chained pipeline above to populate the audit matrix.

4. Inspect Reused Zero-Shot Client & Dynamic NLI Mapping

Show the code · xsum-client.js — ZeroShotNliAuditClient (reusing ../zero-shot-text/worker.js)
Show the code · xsum-core.mjs — mapNliClassProbabilities() (dynamic res.classNames)