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

State information missing in context while running slu test. #89

Open
keshav47 opened this issue Apr 7, 2022 · 1 comment
Open

State information missing in context while running slu test. #89

keshav47 opened this issue Apr 7, 2022 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@keshav47
Copy link
Contributor

keshav47 commented Apr 7, 2022

Describe the bug
ValueError: Plugin XLMRMultiClass requires state to be passed to the model
When use_state=True is passed inside plugins.XLMRMultiClass.

@keshav47
Copy link
Contributor Author

keshav47 commented Apr 7, 2022

Context missing in this line inside slu/dev/test.py.
Simple fix like this would solve it.
const.CONTEXT: {const.CURRENT_STATE: row["state"]}

@keshav47 keshav47 self-assigned this Apr 7, 2022
@keshav47 keshav47 added bug Something isn't working enhancement New feature or request labels Apr 7, 2022
ltbringer added a commit that referenced this issue Apr 8, 2022
…slu_test

Bug/#89/passing state context in slu test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant