Multi-model · Qwen3-0.6B (626.82 MB q8 · Apache-2.0) → DeBERTa-v3 NLI Audit (87.25 MB q8 · MIT) · 714.06 MB total

Qwen3 Answer → DeBERTa-v3 Consistency & Risk Audit

Chain two isolated WebAssembly Web Workers on-device: Stage 1 (onnx-community/Qwen3-0.6B-ONNX, 626.82 MB q8, Apache-2.0) answers a question from your source context, then Stage 2 (DeBERTa-v3 Zero-Shot, Xenova/nli-deberta-v3-xsmall, 87.25 MB q8 via ../../zero-shot-text/worker.js, MIT) audits the answer for source consistency vs. hallucination risk using real 3-way NLI logits.

1. Workflow Models (714.06 MB Total · Two Independent WASM Workers)

Stage 1 · Qwen3-0.6B Generator (626.82 MB)

Qwen/Qwen3-0.6B → onnx-community/Qwen3-0.6B-ONNX · q8 WASM · Apache-2.0

Stage 2 · DeBERTa-v3 NLI Auditor (87.25 MB)

Reuses ../../zero-shot-text/worker.js · Xenova/nli-deberta-v3-xsmall · q8 WASM · MIT

2. Grounded Q&A → Live NLI Consistency Audit

Choose a scenario preset:

Initialise both stages above to run the chained consistency audit.

Audit Verdict: Awaiting Stage 1 answer and Stage 2 DeBERTa-v3 NLI verification.
Audit verdict–
Support score–
Risk / Contradict–
Stage 1 / Stage 2 ms–
Stage 2 id2label–
NaN check0

Stage 1 · Qwen3-0.6B Answer

Idle
Run Stage 1 to generate an answer from the source context.

Stage 2 · DeBERTa-v3 NLI Consistency & Risk

Idle

Run Stage 2 to score entailment, neutral, and contradiction logits.

3. See inside the code

Show the code — qwen3-core.mjs: evaluateAnswerConsistencyAndRisk() (dynamic NLI audit)
Show the code — qwen3.js: ZeroShotStageClient (reusing ../../zero-shot-text/worker.js)