Wrong Intent Classified - to certain data set

Hello, nlu is identifying wrong intent for below example, please guide if I am missing something

nlu.md ##intent:pfContrib


When I try giving ( error is only for below input) pf contribution -> intent recognized is pfContact but when I give contribution to pf -> correct intent is recognized.


Configuration for Rasa NLU.


language: en pipeline:

  • name: WhitespaceTokenizer
  • name: RegexFeaturizer
  • name: LexicalSyntacticFeaturizer
  • name: CountVectorsFeaturizer analyzer: “char_wb” min_ngram: 1 max_ngram: 4
  • name: DIETClassifier epochs: 100
  • name: EntitySynonymMapper
  • name: ResponseSelector epochs: 100

Configuration for Rasa Core.



  • name: KerasPolicy
  • name: TEDPolicy max_history: 5 epochs: 100
  • name: AugmentedMemoizationPolicy
  • name: MappingPolicy
  • name: FallbackPolicy nlu_threshold: 0.4 core_threshold: 0.4 fallback_action_name: “action_default_fallback”

Hi @ MohanSampagaon may be you need train the model with more stories. you can edit the prediction using ‘Rasa X’ and save it.