File size: 704 Bytes
9bbba62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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](../../sparse_encoder/training_overview.md).

See also the modules from `sentence_transformers.base.modules` in [Base > Modules](../base/modules.rst).

## SPLADE Pooling
```{eval-rst}
.. autoclass:: sentence_transformers.sparse_encoder.modules.SpladePooling
```

## SparseAutoEncoder
```{eval-rst}
.. autoclass:: sentence_transformers.sparse_encoder.modules.SparseAutoEncoder
```

## SparseStaticEmbedding
```{eval-rst}
.. autoclass:: sentence_transformers.sparse_encoder.modules.SparseStaticEmbedding
```