—
Ask a question once ready to compare top span probability against MobileBERT's SQuAD v2 null probability P([CLS]).
question-answering · SQuAD v2 abstention · text · WASM q8 · 26.90 MB · MIT
A 25M-parameter bottleneck inverted-residual MobileBERT fine-tuned on SQuAD v2.0
(csarron/mobilebert-uncased-squad-v2 via
onnx-community/mobilebert-uncased-squad-v2-ONNX) running 100% locally in WebAssembly
at ~60 ms per query — roughly 3× smaller than TinyRoBERTa (82.14 MB) and ~5× smaller
than RoBERTa-base. Routes unanswerable questions to the [CLS] null sink so your
app can honestly abstain instead of fabricating citations.
onnx/model_quantized.onnx)
License notice: Model weights are distributed under the MIT license
(upstream csarron/mobilebert-uncased-squad-v2, ONNX export
onnx-community/mobilebert-uncased-squad-v2-ONNX). Inference runs off the main thread
in a FIFO Web Worker calling
pipeline("question-answering", "onnx-community/mobilebert-uncased-squad-v2-ONNX", { device: "wasm", dtype: "q8" }).
.txt or .md document here (stays 100% on-device, max 512 KB).
Initialise MobileBERT-SQuAD2 above to extract grounded answer spans or detect unanswerable questions.
—
Ask a question once ready to compare top span probability against MobileBERT's SQuAD v2 null probability P([CLS]).
Exact character offsets highlighted via semantic <mark> nodes (or left clean when abstained).
Click any candidate span to highlight its exact UTF-16 location in the source passage.
Inspect start/end WordPiece span logits, the [CLS] null sink, and sweep τ across answerable + unanswerable probes.
Upload .txt/.md/.csv/.json docs, run sliding-window checklist audits, flag abstained gaps, and export CSV/JSON.
Test negation, entity-swap, and out-of-context traps plus a live per-sentence answerability heat-map.
Chain Snowflake Arctic Embed XS (23.0 MB) retrieval into MobileBERT SQuAD v2 (26.9 MB) across a doc library.
Inspect the live vanilla ES modules powering this route — zero bundler, zero hidden server calls.