Parameter "share_hidden_layers" not compatible with RegexFeaturizer/LexicalSyntacticFeaturizer #5528
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
type:bug 🐛
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Rasa version:
1.9.3
Rasa SDK version (if used & relevant):
1.9.0
Rasa X version (if used & relevant):
not used
Python version:
3.7
Operating system (windows, osx, ...):
OSX
Issue:
Training a response selector / DIET classifier with the parameter
share_hidden_layers: true
leads to the following error, even though the text+label dimension were configure to be of equal size in the config:Suggested fix by @Ghostvv : Removing the
RegexFeaturizer
and theLexicalSyntacticFeaturizer
from my config solved the issue. Looks like Rasa is attaching some features to either the text or label vectors internally that breaks theshare_hidden_layers
parameter.Breaking NLU config:
Error (including full traceback):
in
diet_classifier.py
, line ~400see method
_check_input_dimension_consistency
Command or request that led to error:
The text was updated successfully, but these errors were encountered: