Multi-model · 184.8 MB Long-Context 8K Bi-Encoder + 8K Cross-Encoder RAG Studio

184.8 MB End-to-End 8K RAG: GTE-Base EN v1.5 → Jina Reranker v1 Turbo EN

Pair Stage 1: Alibaba-NLP/gte-base-en-v1.5 (146.54 MB q8 WASM, 768-d 8K RoPE bi-encoder) for long-context Top-K recall with Stage 2: jinaai/jina-reranker-v1-turbo-en (38.30 MB q8 WASM, 8K ALiBi cross-encoder) to inspect live Spearman ρ and rank-shift bump curves.

1. Load both 8K stages (184.8 MB total WASM q8)

Stage 1 · Alibaba-NLP/gte-base-en-v1.5 (146.54 MB)

Stage 2 · jinaai/jina-reranker-v1-turbo-en (38.30 MB)

2. Live 8K bi-encoder recall vs 8K cross-encoder rank shifts

Stage 1 · GTE-Base v1.5 Top-K (8K Bi-Encoder)

Load Stage 1 to embed long-context candidates and shortlist Top-K.

    Stage 2 · Jina Turbo Rerank (8K Cross-Encoder)

    Load Stage 2 to score joint 8K (query, candidate) ALiBi logits.

      Rank-Shift Bump Chart

      Rank-shift comparison table

      Comparison of Stage 1 cosine rank and Stage 2 cross-encoder rank
      Document Stage 1 GTE cos Stage 2 Logit Prob Shift
      Run both stages above to inspect live rank promotions and demotions.

      Show the code

      Show the code: reused 8K Jina Reranker v1 Turbo EN cross-encoder Stage 2 (worker.js)
      Show the code: two-stage rank shift & Spearman correlation calculation (gte-core.mjs)