Issues using Custom Embeddings

I’m trying create and use my own embeddings for a rasa bot. I am guided by [Custom Gensim Embeddings in Rasa | The Rasa Blog | Rasa](https://this rasa blog article).

I train my own embeddings as shown in the blog post and use same the config yml they’ve suggested. But, rasa train gives me the below error -

File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/rasa_nlu_examples/featurizers/dense/gensim_featurizer.py”, line 80, in for t in tokens File “/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/gensim/models/keyedvectors.py”, line 418, in contains return word in self.vocab AttributeError: ‘Word2VecKeyedVectors’ object has no attribute ‘vocab’

I’m not sure what to make of this. What am I doing wrong?