RAG reranking shootout: Cohere lifts an answer from rank 15 to 1 while a small cross-encoder makes it worse

Affectionate_Slip654 · reddit · 2026-10-20

The author built a full RAG reranking pipeline and compared four rerankers (Cross-Encoder, LLM-based, Cohere, Jina) over 5 payment-industry PDFs (regulations, PCI DSS, central bank reports; 1,507 chunks), tracking before/after rankings and why they changed.

Key takeaways:

Stack: Python, Qdrant, gemini-embedding, HF Transformers + PyTorch, ms-marco-MiniLM-L-6-v2, listwise LLM reranker, Cohere & Jina APIs. Code and video walkthrough are public.

Related event: RAG Reranker Benchmark: Cohere Ranks 15th Answer First, Small Cross-Encoder Underperforms(2 posts)→

Original post →

More from coding & agent

coding & agent channel →