We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9395e0c commit db40b2cCopy full SHA for db40b2c
changelog/5506.bugfix.rst
@@ -0,0 +1 @@
1
+Set default value for ``weight_sparsity`` in ``ResponseSelector`` to ``0``.
rasa/nlu/selectors/response_selector.py
@@ -163,7 +163,7 @@ def required_components(cls) -> List[Type[Component]]:
163
# The scale of regularization
164
REGULARIZATION_CONSTANT: 0.002,
165
# Sparsity of the weights in dense layers
166
- WEIGHT_SPARSITY: 0.8,
+ WEIGHT_SPARSITY: 0.0,
167
# The scale of how important is to minimize the maximum similarity
168
# between embeddings of different labels.
169
NEGATIVE_MARGIN_SCALE: 0.8,
0 commit comments