Error while using stopword string {'english'} with tensorflow pipeline


  • name: “tokenizer_whitespace”
  • name: “intent_featurizer_count_vectors” “stop_words”: string {‘english’} “min_ngram”: 1 # int “max_ngram”: 2 # int
  • name: “ner_duckling”
  • name: “intent_classifier_tensorflow_embedding” “epochs”: 150

This is my config for training. On training the model i get the following tensorflow error:

ValueError: Cannot feed value of shape (3,) for Tensor u’a:0’, which has shape ‘(?, 3)’ Exception KeyError: KeyError(<weakref at 0x1526ede68; to ‘tqdm’ at 0x1525af250>,) in <bound method tqdm.del of Epochs: 0%| | 0/150 [00:00<?, ?it/s]> ignored

What can be the possible problem and how do I solve it

I think your ‘stop_words’ should be set to ‘english’, not " string {‘english’} "