opensi·si

sentencetransformers.multivectorencoder.modules defines the building blocks specific to

Modules

sentence_transformers.multi_vector_encoder.modules defines the building blocks specific to multi-vector models. Combined with the shared backbone in sentence_transformers.base.modules (see Base > Modules), they make up the standard ColBERT-style stack: Transformer -> Dense -> MultiVectorMask -> Normalize.

See also Training Overview.

MultiVectorMask

sentence_transformers.multi_vector_encoder.modules.MultiVectorMask

BaseTokenPooling

sentence_transformers.multi_vector_encoder.modules.BaseTokenPooling

HierarchicalTokenPooling

sentence_transformers.multi_vector_encoder.modules.HierarchicalTokenPooling

LambdaTokenPooling

sentence_transformers.multi_vector_encoder.modules.LambdaTokenPooling

Source and license

Source: Sentence Transformers documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.