sentence-similarity · feature-extraction · 1024-d [CLS] · 8192-tok · 586.81 MB WASM q8 · Apache-2.0

Arctic-Embed-L v2.0 — Multilingual 1024-d & Matryoshka Retriever

Snowflake's flagship 24-layer, 16-head XLMRobertaModel (Snowflake/snowflake-arctic-embed-l-v2.0, 568M total / 303M non-embedding params, built on BAAI/bge-m3-retromae) mapping 70+ languages into one 1024-d [CLS] vector space with 8,192-token RoPE context and 256-d Matryoshka truncation in 586.81 MB (569.72 MB ONNX + 17.08 MB tokenizer, q8 CPU WASM via shared ../../lib/webai.js on @huggingface/transformers@3.7.5).

Model Card & Runtime Contract

Upstream & Official ONNX
Snowflake/snowflake-arctic-embed-l-v2.0
Task & Pipeline
sentence-similarity · feature-extraction (pooling: "cls", normalize: true)
Backend & Quant
WASM · q8 (569.72 MB ONNX + 17.08 MB tok = 586.81 MB)
Architecture
24L · 16H · 1024-d (256-d MRL) · 4,096 FFN · 250,002 SentencePiece · 8,194 max_pos
Query Prefix & License
"query: " on queries only · Apache-2.0
MTEB NDCG@10 (1024 → 256)
BEIR 55.6→54.3 · MIRACL 55.8→54.3 · CLEF 54.3→53.4
Official Model-Card Contract (1_Pooling/config.json & README.md): Uses <s> ([CLS] token ID 0) pooling with L2 normalization (pooling_mode_cls_token: true). Prepend "query: " to retrieval queries only—never to documents. Truncate to the first 256 dimensions and re-normalize for 4× smaller vectors with <3% retrieval drop.

Load & Cache Status

Live Multilingual Ranker & Prefix Inspector

Drop, paste, or upload a .txt, .md, .csv, or .json list of candidate passages.
Encoded query: "query: "

Ranked Multilingual Passages

Load the model to embed and rank all passages locally.

    2D PCA Semantic Constellation

    Diamond marks the query; points cluster by meaning across scripts.

    See Inside the Model (1024-d [CLS] Tensor, Heatmap & SentencePiece)

    1024-d Embedding Sparkline & 256-d MRL Boundary

    Run inference to inspect live 1024-d coordinate stats and L2 norm.

    Pairwise Cosine Heatmap (Query + Passages)

    Live SentencePiece Tokenization & 8192-Token Window Audit

    Inspects real XLM-R SentencePiece IDs (<s>=0, </s>=2, <unk>=3) including the "query: " prefix when active.

    Per-passage language, SentencePiece token count, <unk> count, L2 norm, 1024-d cosine, and 256-d MRL cosine
    ID Tokens <unk> Norm 1024-d Cos 256-d MRL
    Awaiting live inference…

    Why It Matters & Show the Code

    Snowflake/snowflake-arctic-embed-l-v2.0 delivers competitive English (BEIR 55.6) and multilingual (MIRACL 55.8, CLEF 54.3) retrieval from a single XLMRobertaModel backbone with 8,192-token RoPE context and 256-d Matryoshka compression under Apache-2.0.

    Show the code: Off-main-thread feature-extraction + [CLS] pooling worker (worker.js)
    Show the code: FIFO ArcticLV2Engine lifecycle & dispose client (arctic-l-client.js)