# Issues using Custom Embeddings

**URL:** <https://forum.rasa.com/t/issues-using-custom-embeddings/47894>\
**Category:** Feedback on Rasa Open Source\
**Created:** [September 21, 2021, 3:55pm UTC](https://forum.rasa.com/t/issues-using-custom-embeddings/47894 "2021-09-21T15:55:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asc](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@asc](https://forum.rasa.com/u/asc)\
**Post date:** [September 21, 2021, 3:55pm UTC](https://forum.rasa.com/t/issues-using-custom-embeddings/47894/1 "2021-09-21T15:55:05Z")

</div>

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://rasa.com/blog/custom-gensim-embeddings-in-rasa/)]([https://this](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?
