One encoding pass, two vector types: single-vector recall plus multi-vector rerank

tomaarsen · x · 2026-12-03

In the Granite Embedding Vision R2 thread, tomaarsen shows how to use Sentence Transformers' MultiVectorEncoder: encodequery + encodedocument produce multi-vectors for MaxSim scoring, while outputvalue=None also exposes the 768d single embeddings from the same pass — single vectors for candidate lookup, multi-vectors for reranking, with no double encoding.

Related event: IBM open-sources Granite Embedding Vision R2, a 748M visual document retrieval model(7 posts)→

Original post →

More from coding & agent

coding & agent channel →