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
.. autoclass:: sentence_transformers.sparse_encoder.modules.SpladePooling
SparseAutoEncoder
.. autoclass:: sentence_transformers.sparse_encoder.modules.SparseAutoEncoder
SparseStaticEmbedding
.. autoclass:: sentence_transformers.sparse_encoder.modules.SparseStaticEmbedding