RASA nlu parse not give currect intent, give same intent in result

假如想象 提交于 2019-12-12 08:16:13

问题


  • RASA version : 0.10.5
  • spaCy version : 1.9.0
  • Installed models : en, en_core_web_sm

I am creating training data using dialogflow export data and successfully finished training but when I request and give some text it gives wrong intent result. It always gives the same intent in result and also every time same intent_ranking.

Please let me know how can I get proper intent results as well as entities result.


回答1:


The general recommendation when Rasa NLU seems to be functioning correctly, but incorrectly classifying intents and entities is, add more training data.

So try that, but also try these other suggestions:

  • Rasa recently released the tensorflow embeddings pipeline. This pipeline creates a small language model with the training data set and word vectors. It can, in general, can operate on a more modest data set. Set your pipeline in config.yml to "tensorflow_embedding" to give it a try.
  • Use the evaluate script to see where your training data is the weakest. The script will generate f1 scores and a chart for showing which intents are being misclassified the most.
  • Increase the size of your spaCy model. Without information on the language you are using or the spacy model you have installed, this is just a shot in the dark, but especially if you have installed the small spacy model for English (en_core_web_sm), you should try the medium or large size models which include word vectors.

With all that said, my experience with Dialogflow and Rasa NLU both suggest more training data is required for Rasa's implementation. Also if you continue to have problems join us on the Rasa NLU Gitter and we can help you there.



来源:https://stackoverflow.com/questions/47862971/rasa-nlu-parse-not-give-currect-intent-give-same-intent-in-result

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!