Sentence Transformers v6 adds a way to search documents without compressing each entire passage into one numerical representation. Its MultiVectorEncoder retains a separate vector for each text unit, or TokenA piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.Full definition →. At search time, it finds each query token's strongest match in the document and adds those matches into a relevance score. Release explanation
Documents can still be processed ahead of time, but individual details remain available for matching instead of being pooled into one summary. This offers a way to preserve specific requirements in a query, at the cost of storing and comparing more vectors. The tradeoff is finer-grained matching against index size and computation.
Terms in this piece · Glossary
Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.
Retrieval — Selecting evidence relevant to the current request.