Cross-Encoder Reranking in Python without PyTorch
Rerank search results with ms-marco-MiniLM-L-6-v2 from Python, without sentence-transformers or PyTorch. The same scores as CrossEncoder, a 23 MB install, and loaded in 0.08 seconds. With an example of what a reranker fixes that embeddings get wrong.
Read more