-
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
Improvements to FallbackClassifier #6285
Comments
oh also, this format won't work anymore for triggering a fallback: |
another improvement could be to include possibility to use confidence interval between first and second intent rather than hard threshold |
@Ghostvv That's already handled by this issue: #6244
@akelad I didn't even know of this option, but I think we should keep it and it to the todos from the PR description 👍 |
yeah i mean now you can just do |
The logging part is done as part of https://github.com/RasaHQ/rasa/pull/6355/files |
hm, should we just leave the issue open for now then and address later potentially? |
Sounds good 👍 |
From Sara's NLU tests, it looks like nlu_fallback is getting predicted as an intent (RasaHQ/rasa-demo#566 (comment)). @wochinge is this supposed to happen during evaluation when the confidence score falls below the NLU threshold? |
Good question 🤔 I think we should fix this for the evaluation. What do you think @Ghostvv ? |
not sure, I think we should say in evaluation that nlu_fallback was predicted, however I'd put original intent there as well |
So maybe showing the original intent and putting the fallback intent in brackets behind it? (Thinking of the confusion matrix right now) |
in the confusion matrix, I think it should be |
i disagree vova, you want to be debugging your NLU model, and for that it's important to see which intent it's confused with so you can fix those issues in your training data |
I changed the priority to |
Description of Problem:
When moving the NLU fallback to the NLU side, we now overwrite the intent with
nlu_fallback
and assign that a confidence of 1.0I'm not sure about the overwriting part and assigning it a confidence of 1.0 in the first place, but the main issue for me at the moment is that there's no note of what the predicted intent was in the debug logs at the moment.
We should be logging:
The text was updated successfully, but these errors were encountered: