Flintglass PrismEmbed-0.6B

32K-Context, 100+ Language, 100% Commercial-Safe (Zero MS MARCO!) Matryoshka Embedding Model β€” built on Apache-2.0 Qwen/Qwen3-Embedding-0.6B via cross-GPU InfoNCE + listwise distillation from Qwen/Qwen3-Reranker-4B across 50,000 permissive long-context groups (300,000 pairs) + WiSE-FT model soup (alpha=0.85).

  • Beats Base Qwen/Qwen3-Embedding-0.6B by +2.00 pts Overall (61.67% vs 59.67%) and crushes BAAI/bge-m3 by +4.77 pts (61.67% vs 56.90%) across 7 strictly held-out zero-shot dense retrieval benchmarks!
  • +16.22 pts on LongDoc-8K (82.45% vs 66.23% Base, 72.51% bge-m3): Unlocks massive long-document retrieval accuracy on 2K–6K token documents.
  • 512d MRL Beats Full 1024d Base (60.64% vs 59.67%): Even truncated to half dimensions (512d), PrismEmbed-0.6B outperforms full-dimensional Qwen3-Embedding-0.6B (+0.97 pts) β€” and crushes BAAI/bge-m3 at 128d by +10.05 pts (55.44% vs 45.39%) for 8Γ— smaller vector indices!
  • 100% Drop-In Compatible: Exact same SentenceTransformer last-token pooling, prompts={"query": ...}, and llama.cpp --pooling last format as Qwen/Qwen3-Embedding-0.6B.

Part of the Flintglass Prism Open-Source Agent & RAG Stack Β· Matched Reranker: flintglass/PrismRerank-0.6B Β· GGUF Quantizations: flintglass/PrismEmbed-0.6B-GGUF (F16, Q8_0, Q4_K_M)


Verified Zero-Shot 7-Benchmark Dense Retrieval Leaderboard (Full-Corpus NDCG@10 %)

Evaluated identically with full-corpus dense retrieval (max_length=4096) across 7 strictly held-out benchmarks (zero overlap with training data):

Model Params Dim Ctx SciFact NFCorpus FiQA ArguAna TREC-COVID BEIR-5 Mr.TyDi (11L) LongDoc-8K All-7 Avg MRL 256d MRL 128d
all-MiniLM-L6-v2 22M 384 512 62.30 29.47 28.77 35.70 50.77 41.40 23.76 59.98 41.54 39.85 37.05
BAAI/bge-m3 568M 1024 8K 61.97 31.34 34.48 46.99 62.87 47.53 88.11 72.51 56.90 51.05 45.39
Qwen/Qwen3-Embedding-0.6B (Base) 600M 1024 32K 66.86 34.72 35.41 46.35 75.31 51.73 92.84 66.23 59.67 57.03 54.49
flintglass/PrismEmbed-0.6B 600M 1024 32K 68.07 34.89 34.90 45.68 71.72 51.05 94.01 82.45 61.67 58.70 55.44
Delta vs Base Qwen3-Embedding-0.6B β€” β€” β€” +1.21 +0.17 -0.51 -0.67 -3.59 -0.68 +1.17 +16.22 +2.00 +1.67 +0.95

Matryoshka full-sweep All-7 NDCG@10: 1024d: 61.67% Β· 512d: 60.64% Β· 256d: 58.70% Β· 128d: 55.44%.


Quickstart (sentence-transformers)

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("flintglass/PrismEmbed-0.6B")

queries = ["How does Matryoshka Representation Learning reduce vector database RAM?"]
docs = [
    "Matryoshka Representation Learning trains embeddings so leading prefixes (e.g. 512d, 256d, 128d) retain high retrieval accuracy, shrinking vector memory 2x-8x.",
    "The Eiffel Tower is a wrought-iron lattice tower in Paris, France.",
]

q_emb = model.encode(queries, prompt_name="query", normalize_embeddings=True)
d_emb = model.encode(docs, normalize_embeddings=True)
print("Cosine similarities (1024d):", (q_emb @ d_emb.T)[0].tolist())

# Matryoshka truncation to 256d (4x smaller index, 58.70% All-7 NDCG@10!)
q_256 = model.encode(queries, prompt_name="query", truncate_dim=256, normalize_embeddings=True)
d_256 = model.encode(docs, truncate_dim=256, normalize_embeddings=True)
print("Cosine similarities (256d):", (q_256 @ d_256.T)[0].tolist())

Local Inference (llama.cpp / Ollama / GGUF)

See flintglass/PrismEmbed-0.6B-GGUF (F16, Q8_0, Q4_K_M) for verified llama-embedding and llama-server --embedding quantizations!

Training & Commercial-Safe Provenance

  • Base Model: Qwen/Qwen3-Embedding-0.6B (Apache-2.0, 32K context, 100+ languages)
  • Teacher: Qwen/Qwen3-Reranker-4B (Apache-2.0)
  • Training Data: Strictly permissive commercial-safe long-context corpus (zero MS MARCO, zero CC-BY-NC, zero proprietary API distillation).
  • Method: Cross-GPU all-gathered InfoNCE + listwise KL distillation + Matryoshka loss (1024/512/256/128) + WiSE-FT model soup (alpha=0.85).
  • License: Apache-2.0
Downloads last month
16
Safetensors
Model size
0.6B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for flintglass/PrismEmbed-0.6B

Finetuned
(375)
this model
Quantizations
1 model

Collection including flintglass/PrismEmbed-0.6B