β
Ask a question once ready to inspect the highest-scoring SQuAD 2.0 span, [CLS] null probability, and 24-layer boundary logits.
question-answering Β· SQuAD 2.0 Β· 24-layer / 16-head / 1024-d WWM Β· WASM q8 Β· 337.67 MB Β· CC-BY-4.0
A 24-layer, 335M-parameter BERT-Large encoder pretrained with Whole-Word Masking
(google-bert/bert-large-uncased-whole-word-masking) and fine-tuned on SQuAD 2.0
(deepset/bert-large-uncased-whole-word-masking-squad2 via
onnx-community/bert-large-uncased-whole-word-masking-squad2-ONNX, 336.96 MB
q8 ONNX / 337.67 MB first visit, CC-BY-4.0). Runs 100% locally in
WebAssembly with calibrated [CLS] unanswerable abstention and zero-DOM-churn
CSS.highlights span highlighting.
BertForQuestionAnswering (24L, 16H, 1024-d, 4096 FFN, 512-tok, type_vocab_size: 2)do_lower_case: true) Β· Whole-Word Masking (google-bert/bert-large-uncased-whole-word-masking)q8 Β· 336.96 MB ONNX (336,960,166 B; 337.67 MB = 337,673,798 B first visit)[CLS] null sink)0 ([CLS]) as an explicit no-answer sink.
Whole-Word Masking masks all WordPiece subwords of a word together during pretraining,
sharpening span boundaries across technical terms, dates, and multi-word clauses.
License notice: Model weights are licensed under CC-BY-4.0
(deepset/bert-large-uncased-whole-word-masking-squad2 via
onnx-community/bert-large-uncased-whole-word-masking-squad2-ONNX). Inference
runs strictly off the main thread in a FIFO Web Worker via shared ../../lib/webai.js
(pipeline("question-answering", "onnx-community/bert-large-uncased-whole-word-masking-squad2-ONNX", { device: "wasm", dtype: "q8" })).
.txt / .md / .csv / .json passage (stays 100% on-device).
Initialise BERT-Large WWM SQuAD 2.0 above to extract grounded character spans and [CLS] abstention scores.
β
Ask a question once ready to inspect the highest-scoring SQuAD 2.0 span, [CLS] null probability, and 24-layer boundary logits.
CSS.highlights)
Exact character span [start:end] painted with the CSS Custom Highlight API (CSS.highlights + TreeWalker, with semantic <mark> fallback).
Click any candidate span to move the live CSS.highlights range and inspect its logit sum.
Compared to distilled 6-layer SQuAD v1.1 readers, BERT-Large WWM SQuAD 2.0 brings
1024-dimensional hidden states, 24 encoder layers, and whole-word masked WordPiece representations
plus native [CLS] unanswerable abstention β enabling browser-local document tools that
refuse unsupported questions honestly:
Inspect 24-layer start/end distributions, Shannon entropy, token_type_ids WordPiece ribbon, and max_answer_len / top_k tuning.
Upload multiple .txt/.md/.csv/.json policies or contracts, run cancellable FIFO batch QA, and export CSV/MD/JSON.
Stress-test negation flips, date/number distractors, unanswerable traps, and >384-token doc_stride chunking.
Retrieve Top-K passages with all-MiniLM-L12-v2 (34.7 MB), then extract & verify cited spans with 24-layer BERT-Large WWM.
Inspect the live vanilla ES modules powering this route β zero bundler, zero hidden server calls.