rasa: Failed to validate at component "ner_crf". Missing property: "spacy_doc"

Rasa NLU version: 0.12.3

Operating system (windows, osx, …): OSX 10.11.6

Content of model configuration file:

language: "fr"

pipeline:
- name: "tokenizer_whitespace"
- name: "ner_crf"
- name: "intent_featurizer_count_vectors"
- name: "intent_classifier_tensorflow_embedding"
  intent_tokenization_flag: true
  intent_split_symbol: "+"

Training data:

{
  "text":"Bonjour",
  "intent":"greet",
  "entities":[

  ]
},
{
  "text":"Bonjour. Je suis Développeur depuis environ 5 ans dans marseille",
  "intent":"greet+inform",
  "entities":[
    {
      "start":17,
      "end":28,
      "value":"Développeur",
      "entity":"job"
    },
    {
      "start":44,
      "end":49,
      "value":"5 ans",
      "entity":"experienceYears"
    },
    {
      "start":55,
      "end":64,
      "value":"marseille",
      "entity":"city"
    }
  ]
},
{
  "text":"Je suis Développeur depuis environ 5 ans dans marseille",
  "intent":"inform",
  "entities":[
    {
      "start":17,
      "end":28,
      "value":"Développeur",
      "entity":"job"
    },
    {
      "start":44,
      "end":49,
      "value":"5 ans",
      "entity":"experienceYears"
    },
    {
      "start":55,
      "end":64,
      "value":"marseille",
      "entity":"city"
    }
  ]
}

Issue:
Hello, I am trying to work with Multiple Intents ( in a sentence ) and I am getting this error: "Failed to validate at component “ner_crf”. Missing property: “spacy_doc” " Any help?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

thanks updating rasa nlu works thanks @akelad 😃