sentencetransformers.sparseencoder.modules defines different building blocks, that can be used to create SparseEncoder networks from scratch. For more details, see Training…
Modules
sentence_transformers.sparse_encoder.modules defines different building blocks, that can be used to create SparseEncoder networks from scratch. For more details, see Training Overview.
See also the modules from sentence_transformers.base.modules in Base > Modules.
SPLADE Pooling
sentence_transformers.sparse_encoder.modules.SpladePooling
SparseAutoEncoder
sentence_transformers.sparse_encoder.modules.SparseAutoEncoder
SparseStaticEmbedding
sentence_transformers.sparse_encoder.modules.SparseStaticEmbedding
Source and license
Source: Sentence Transformers documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.