Model Card & Runtime Contract
- Upstream Model
- WhereIsAI/UAE-Large-V1
- Loaded ONNX Repo
- Xenova/UAE-Large-V1
- Task & Pooling
feature-extraction·pooling: "cls"(1_Pooling/config.json)- Backend & Quant
WASM·q8(336.98 MB ONNX + 0.71 MB tok/cfg = 337.70 MB)- Architecture
- 24L · 16H · 1024-d · 4,096 FFN · 30,522 WordPiece ·
512max_pos - Retrieval Prompt & License
Prompts.Cquery prefix ·MIT
1_Pooling/config.json & Prompts.C):
Unlike mean-pooled MiniLM/BGE-small models, WhereIsAI/UAE-Large-V1 configures
pooling_mode_cls_token: true and pooling_mode_mean_tokens: false
over its 24-layer 1024-d hidden state. For asymmetric retrieval, prepend
"Represent this sentence for searching relevant passages: " to queries only—never to passages.
Load & Cache Status
Live Retrieval Scorer & Similarity Matrix
.txt, .md, .csv, or .json list of candidate passages.
Ranked Passage Retrieval
Load the model to embed and rank all passages locally.
2D PCA Semantic Constellation
Diamond marks the query vector; dashed rays connect top-3 closest passages.
See Inside the Model (1024-d [CLS] Tensor & WordPiece Telemetry)
1024-d Embedding Sparkline & Distribution
Run inference to inspect live 1024-d coordinate min, max, mean, std, and L2 norm.
Pairwise Cosine Heatmap (Query + Passages)
Live WordPiece Tokenization & 512-Token Limit Audit
Inspects real WordPiece IDs ([CLS] 101, [SEP] 102, [UNK] 100) including the Prompts.C prefix when active.
| ID | Tokens | [UNK] | Window | Norm | Cosine (Angle) |
|---|---|---|---|---|---|
| Awaiting live inference… | |||||
Why It Matters & API Usage
Universal AnglE Embeddings optimize complex-plane angular separation during training so high-similarity pairs avoid cosine gradient saturation. With 24 Transformer layers and 1024 dimensions, you can build private browser knowledge-base search, asymmetric Q&A matching, duplicate triage, or Stage-1 dense recall paired with a cross-encoder reranker—all offline once cached.