Skip to content
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

Closed
2 tasks
jupyterjazz opened this issue Jan 20, 2022 · 4 comments
Closed
2 tasks
Assignees
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR

Comments

@jupyterjazz
Copy link
Contributor

jupyterjazz commented Jan 20, 2022

What's the purpose of this function? As the name suggests, _warn_and_correct_transformer_size corrects transformer_size parameter value in ResponseSelector and warns developers about this.

transformer_size is None by default. Hence, in case transformer layers are used inside ResponseSelector but transformer_size isn't specified in the config, we can't leave it to None 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 function

def _get_transformer_dimensions(
which is called during both training and prediction(loading). Thus, _warn_and_correct_transformer_size isn't needed anymore.

Definition of Done

@jupyterjazz jupyterjazz added type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR area:rasa-oss 🎡 Anything related to the open source Rasa framework labels Jan 20, 2022
@emysdias
Copy link
Contributor

emysdias commented Feb 5, 2022

Exalate commented:

emysdias commented:

Hello there, I would like to work on this issue, can I?

@jupyterjazz
Copy link
Contributor Author

jupyterjazz commented Feb 7, 2022

Exalate commented:

jupyterjazz commented:

Hi @emysdias, please go ahead and put me as a reviewer when you make a PR

@emysdias
Copy link
Contributor

emysdias commented Feb 8, 2022

Exalate commented:

emysdias commented:

Hi @emysdias, please go ahead and put me as a reviewer when you make a PR

ok, thanks

@rasabot-exalate rasabot-exalate added area:rasa-oss and removed type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR area:rasa-oss 🎡 Anything related to the open source Rasa framework labels Mar 15, 2022 — with Exalate Issue Sync
@m-vdb m-vdb added type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR area:rasa-oss 🎡 Anything related to the open source Rasa framework and removed type:enhancement labels Mar 16, 2022
@rasabot-exalate rasabot-exalate added area:rasa-oss type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR area:rasa-oss 🎡 Anything related to the open source Rasa framework and removed type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR area:rasa-oss 🎡 Anything related to the open source Rasa framework area:rasa-oss labels Mar 17, 2022 — with Exalate Issue Sync
@rasabot-exalate rasabot-exalate added type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR and removed type:enhancement_:sparkles: labels Mar 21, 2022 — with Exalate Issue Sync
@sync-by-unito
Copy link

sync-by-unito bot commented Dec 16, 2022

➤ 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.

@m-vdb m-vdb closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR
Projects
None yet
Development

No branches or pull requests

4 participants