# Unable to train CountVectorizer for message attribute response

**URL:** <https://forum.rasa.com/t/unable-to-train-countvectorizer-for-message-attribute-response/15670>\
**Category:** Rasa Open Source\
**Created:** [September 14, 2019, 5:03pm UTC](https://forum.rasa.com/t/unable-to-train-countvectorizer-for-message-attribute-response/15670 "2019-09-14T17:03:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![subitha](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@subitha](https://forum.rasa.com/u/subitha)\
**Post date:** [September 14, 2019, 5:03pm UTC](https://forum.rasa.com/t/unable-to-train-countvectorizer-for-message-attribute-response/15670/1 "2019-09-14T17:03:49Z")

</div>

While training the bot with rasa train nlu I am getting the following error: Unable to train CountVectorizer for message attribute response. Leaving an untrained CountVectorizer for it

2019-09-14 22:24:27 INFO rasa.nlu.model - Starting to train component WhitespaceTokenizer 2019-09-14 22:24:27 INFO rasa.nlu.model - Finished training component. 2019-09-14 22:24:27 INFO rasa.nlu.model - Starting to train component RegexFeaturizer 2019-09-14 22:24:27 INFO rasa.nlu.model - Finished training component. 2019-09-14 22:24:27 INFO rasa.nlu.model - Starting to train component CRFEntityExtractor 2019-09-14 22:24:27 INFO rasa.nlu.model - Finished training component. 2019-09-14 22:24:27 INFO rasa.nlu.model - Starting to train component EntitySynonymMapper 2019-09-14 22:24:27 INFO rasa.nlu.model - Finished training component. 2019-09-14 22:24:27 INFO rasa.nlu.model - Starting to train component CountVectorsFeaturizer 2019-09-14 22:24:27 WARNING rasa.nlu.featurizers.count\_vectors\_featurizer - Unable to train CountVectorizer for message attribute response. Leaving an untrained CountVectorizer for it 2019-09-14 22:24:27 INFO rasa.nlu.model - Finished training component. 2019-09-14 22:24:27 INFO rasa.nlu.model - Starting to train component CountVectorsFeaturizer 2019-09-14 22:24:27 WARNING rasa.nlu.featurizers.count\_vectors\_featurizer - Unable to train CountVectorizer for message attribute response. Leaving an untrained CountVectorizer for it 2019-09-14 22:24:27 INFO rasa.nlu.model - Finished training component. 2019-09-14 22:24:27 INFO rasa.nlu.model - Starting to train component EmbeddingIntentClassifier Epochs: 100%|█████████████████████████████████████████████████| 300/300 [00:06\<00:00, 46.89it/s, loss=0.479, acc=1.000] 2019-09-14 22:24:36 INFO rasa.utils.train\_utils - Finished training embedding policy, train loss=0.479, train accuracy=1.000

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [September 16, 2019, 9:55am UTC](https://forum.rasa.com/t/unable-to-train-countvectorizer-for-message-attribute-response/15670/2 "2019-09-16T09:55:10Z")

</div>

Hi @subitha, if you aren’t trying to use the new `ResponseSelector`, no need to worry about this warning! We are currently working on a fix to make sure that the warning only shows up if you’re trying to use it and something goes wrong. 🙂

---

<div class="post-metadata">

**Author:** ![dakshvar22](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dakshvar22/32/3993_2.png) [@dakshvar22](https://forum.rasa.com/u/dakshvar22)\
**Post date:** [September 16, 2019, 9:58am UTC](https://forum.rasa.com/t/unable-to-train-countvectorizer-for-message-attribute-response/15670/3 "2019-09-16T09:58:44Z")

</div>

Hi @subitha , are you specifying any retrieval actions or response phrases in your training data for response selector? If not, then the log is just a warning and you can ignore it. If you do have some data for response selector in your training data and you are still seeing this, please post a small snippet of your data and exact Rasa version.

In the first case you shouldn’t see the warning if you update the Rasa package to version 1.3.3 anyways.
