Basics Β· E5 Asymmetric Prefix Protocol Β· Mean vs CLS & SentencePiece 250k

Multilingual E5 Large: Prefix & Pooling Protocol Ablation

Measure live on-device how E5's canonical protocol (pooling: "mean" + asymmetric "query: " / "passage: ") compares against omitting prefixes, using symmetric "query: " on both sides, or switching to pooling: "cls".

1. Live 4-Way Protocol & Pooling Ablation

Separation Margin Comparison

Protocol Verdict & SentencePiece Tokens

Waiting for live forward pass…

–

–

–

2. Per-Passage Cosine & SentencePiece Telemetry

Per-passage cosine similarity across 4 protocol configurations
Passage Script Tokens <unk> Mean + Asym Mean + Raw Mean + Sym CLS + Asym
Run the 4-way ablation above to populate live per-passage metrics.

Show the code

Show the code: 4-way E5 prefix & pooling ablation metric helper (e5-large-core.mjs)
Show the code: untruncated XLM-R SentencePiece token & <unk> inspector (worker.js)