Multi-model · Real Side-by-Side Context Window Duel

Granite R2 (8,192 tok) vs all-MiniLM-L6-v2 (256/512 tok)

Both models run live in separate Web Workers right inside this tab. We feed the exact same four ~820-token enterprise handbooks — with the decisive answer buried past token 710 — into IBM Granite Embedding Small English R2 (ModernBERT CLS pooling) and Sentence-Transformers all-MiniLM-L6-v2 (BERT mean pooling, trained at 256 tokens, hard-truncated at 512 tokens) to empirically measure long-context retrieval recall.

1. Load both on-device embedding workers

Stage 1 · Granite Embedding Small R2 (8,192 tok · 54.61 MB · CLS)

Stage 2 · all-MiniLM-L6-v2 (256/512 tok · 23.7 MB · Mean)

2. Run the 8,192-token vs 256/512-token retrieval duel

Granite R2 rank–
MiniLM rank–
Granite margin–
MiniLM margin–
Margin advantage–
Target cos Δ–

Stage 1 · Granite Embedding Small R2 (8,192 tok)

Waiting for Granite R2…

    Stage 2 · all-MiniLM-L6-v2 (256 trained / 512 BERT cap)

    Waiting for MiniLM…

      Per-document side-by-side scorecard

      Side-by-side Granite R2 and MiniLM cosine similarity scores for every handbook
      Document Exact tokens Granite R2 cos (rank) MiniLM cos (rank) MiniLM tail dropped?
      Run one or both stages to populate the scorecard.