Model Card & Runtime Contract
- Upstream Model
- sentence-transformers/paraphrase-mpnet-base-v2
- Loaded ONNX Repo
- Xenova/paraphrase-mpnet-base-v2
- Tasks
sentence-similarityviafeature-extraction- Backend & Quant
WASM·q8(110.09 MB ONNX + 0.71 MB tok = 110.80 MB)- Architecture
- 12L · 12H · 768-d · 109.5M params · 30,527 uncased vocab ·
pooling: "mean" - Seq Limit & License
512SentenceTransformer (514max_pos) ·Apache-2.0
query:/passage: instructions, paraphrase-mpnet-base-v2 embeds every
sentence symmetrically with mean pooling + L2 normalization
(1_Pooling/config.json) and supports up to 512 tokens
(sentence_bert_config.json, 4× longer than MiniLM's 128-token cap).
Load & Cache Status
Live Paraphrase Scorer & Similarity Matrix
.txt, .md, .csv, or .json list of candidate sentences.
Ranked Paraphrase Similarity
Load the model to embed and rank all sentences locally.
2D PCA Semantic Constellation
Diamond marks the reference sentence; dashed rays connect top-3 closest paraphrases.
See Inside the Model (768-d Tensor & MPNet Token Telemetry)
768-d Embedding Sparkline & Distribution
Run inference to inspect live 768-d coordinate min, max, mean, std, and L2 norm.
Pairwise Cosine Heatmap (All Sentences)
Live MPNet Tokenization & 512-Token Window Audit
Inspects real MPNet uncased IDs (<s>=0, </s>=2, [UNK]=104) before truncation.
| ID | Tokens | [UNK] | Window | Norm | Cosine |
|---|---|---|---|---|---|
| Awaiting live inference… | |||||
Why It Matters
- Higher semantic headroom (768-d, 12 layers): Resolves nuanced paraphrases and technical terminology more reliably than 384-d 6-layer MiniLM encoders while staying under 111 MB cached in the browser.
- 512-token paragraph capacity: Handles multi-sentence support tickets, changelog entries, and policy clauses natively without clipping tails at 128 tokens.
- Zero-server privacy: Deduplicate confidential tickets, HR feedback, and security advisories locally in IndexedDB/Cache Storage without transmitting customer text.