You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,13 +152,16 @@ Options:
152
152
--pooling <POOLING>
153
153
Optionally control the pooling method for embedding models.
154
154
155
-
If `pooling` is not set, the pooling configuration will be parsed from the model `1_Pooling/config.json`
156
-
configuration.
155
+
If `pooling` is not set, the pooling configuration will be parsed from the model `1_Pooling/config.json` configuration.
157
156
158
157
If `pooling` is set, it will override the model pooling configuration
159
158
160
159
[env: POOLING=]
161
-
[possible values: cls, mean]
160
+
161
+
Possible values:
162
+
- cls: Select the CLS token as embedding
163
+
- mean: Apply Mean pooling to the model embeddings
164
+
- splade: Apply SPLADE (Sparse Lexical and Expansion) to the model embeddings. This option is only available if the loaded model is a `ForMaskedLM` Transformer model
0 commit comments