Closed xikaluo closed 1 year ago
Exalate commented:
xikaluo commented:
In addition, if I remove the entity annotation in nlu.yml and 'entities' in domain.yml, this problem no longer appears
Exalate commented:
liugong commented:
I have the same problem with Rasa 3.0.4, and is there any way to avoid this now?
Exalate commented:
xikaluo commented:
I have the same problem with Rasa 3.0.4, and is there any way to avoid this now?
In fact I do not meet this problem again after updating rasa to 3.0.4. I guess maybe explicitly setting "entity_recognition" as "true" could solve the problem?
Exalate commented:
liugong commented:
I have the same problem with Rasa 3.0.4, and is there any way to avoid this now?
In fact I do not meet this problem again after updating rasa to 3.0.4. I guess maybe explicitly setting "entity_recognition" as "true" could solve the problem?
By default "entity_recognition" is set to True, this is my configuration, could you please give me some guidance
after one week of understanding and debugging the whole code, I was able to find the root cause: jieba tokenizer will treat space as a token, which means in jieba, "hey you" will be tokenized as "hey", " ", "you". But for BERT, it seems to ignore the space, as a result, "hey you" will be tokenized as "hey", "you".
for entity loss inside DIET the shape will mismatch: 4(one more for CLS) vs 3
@xikaluo You can remove all spaces before the bug is fixed.
when i remove the block of LanguageModelFeaturizer,the issue disappeared.I guess it is because module jieba and module LanguageModelFeaturizer are incompatible.Although in a certain version, they are compatible,hhhh
➤ Maxime Verger commented:
:bulb: 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!
:arrow_right: More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569.
Rasa Open Source version
3.0.3
Rasa SDK version
3.0.2
Rasa X version
None
Python version
3.8
What operating system are you using?
OSX
What happened?
Hello Rasa team, I met the problem shown in the log during developing a Chinese conversation bot. Looks like there are some misalignment between LanguageModelFeaturizer and DIETClassifier when the language is Chinese.
The pipeline of my config file is
Command / Request
Relevant log output