-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove _warn_and_correct_transformer_size
as it's not needed anymore
#10712
Comments
Exalate commented: emysdias commented: Hello there, I would like to work on this issue, can I? |
Exalate commented: jupyterjazz commented: Hi @emysdias, please go ahead and put me as a reviewer when you make a PR |
Exalate commented: emysdias commented:
ok, thanks |
➤ Maxime Verger commented: 💡 Heads up! We're moving issues to Jira: https://rasa-open-source.atlassian.net/browse/OSS. From now on, this Jira board is the place where you can browse (without an account) and create issues (you'll need a free Jira account for that). This GitHub issue has already been migrated to Jira and will be closed on January 9th, 2023. Do not forget to subscribe to the corresponding Jira issue! ➡️ More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569. |
What's the purpose of this function? As the name suggests,
_warn_and_correct_transformer_size
correctstransformer_size
parameter value inResponseSelector
and warns developers about this.transformer_size
isNone
by default. Hence, in case transformer layers are used insideResponseSelector
buttransformer_size
isn't specified in the config, we can't leave it toNone
and we correct it to a constant integer value.Why should we remove it? The problem is that
_warn_and_correct_transformer_size
is only called during training. #10519 showed us that we need to correct the parameter during loading as well. #10651 solved the error by modifying this functionrasa/rasa/utils/tensorflow/rasa_layers.py
Line 795 in e522be7
_warn_and_correct_transformer_size
isn't needed anymore.Definition of Done
_warn_and_correct_transformer_size
and resolve failing tests caused by the removalrasa/rasa/utils/tensorflow/rasa_layers.py
Line 795 in e522be7
The text was updated successfully, but these errors were encountered: