Hi everyone, I’m currently using Rasa NLU to get intents and extract entities for some custom code. For each of the different functions, the required components for the function will vary.
For example, I have:
- multiple intents “hi”, “bye”, “sad”, “happy” etc. where I only need the classifier to get the intent.
However, I also have:
- the intent “reminder” which requires the use of Duckling http extractor, and
- the intent “weather” which requires the RegexEntityExtractor.and Diet Classifier for Entity extraction
My questions are:
- Should I include all of the intent examples in one single NLU file and train one single nlu model with all the required components in the config file?
- Will the extra components impact the intent detection times of intents not using such components?
- Will the extra components significantly impact training time?
- Should I train multiple NLU models, with the main model only detecting intents and passing the input to a secondary model, which performs entity extraction, such that each secondary model would contain examples which requires a specific components config?
- Would a structure like this be more or less computationally expensive if most of the intents do not require entity extraction?
- Would a structure like this potentially reduce overall training time of the entire project as I would only need to train my main model multiple times, whereas the secondary models (with extra components) would only need to be trained once or twice?
Thank you in advance to anyone who can help answer all or even some of these questions!