# Word embeddings and RASA NLU

**URL:** <https://forum.rasa.com/t/word-embeddings-and-rasa-nlu/23978>\
**Category:** Rasa Open Source\
**Created:** [January 27, 2020, 5:16am UTC](https://forum.rasa.com/t/word-embeddings-and-rasa-nlu/23978 "2020-01-27T05:16:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nurakib](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@nurakib](https://forum.rasa.com/u/nurakib)\
**Post date:** [January 27, 2020, 5:16am UTC](https://forum.rasa.com/t/word-embeddings-and-rasa-nlu/23978/1 "2020-01-27T05:16:53Z")

</div>

How to add fastText pre-trained/customized word embedding in RASA NLU? I’m trying to make a chatbot for ‘Bangla’ Language.

---

<div class="post-metadata">

**Author:** ![Juste](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juste/32/15_2.png) [@Juste](https://forum.rasa.com/u/Juste)\
**Post date:** [January 27, 2020, 10:37am UTC](https://forum.rasa.com/t/word-embeddings-and-rasa-nlu/23978/2 "2020-01-27T10:37:00Z")

</div>

Hey @nurakib. I think this thread will be helpful for you: [Feeding Custom/Pretrained embeddings for ner\_crf](http://forum.rasa.com/t/feeding-custom-pretrained-embeddings-for-ner-crf/5406). Our contributor Souvik wrote a great tutorial on how to use fastText with Rasa, have a look and let us know if you need more help.

---

<div class="post-metadata">

**Author:** ![jamesmf](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jamesmf/32/4476_2.png) [@jamesmf](https://forum.rasa.com/u/jamesmf)\
**Post date:** [February 3, 2020, 3:28am UTC](https://forum.rasa.com/t/word-embeddings-and-rasa-nlu/23978/3 "2020-02-03T03:28:38Z")

</div>

This works slightly more simply than that post now.

Once you convert the `fastText` model to `spacy` vectors, you can just add `text_dense_features` under `CRFEntityExtractor`'s features, and your `SpacyFeaturizer` will add a dense vector per token.

---

<div class="post-metadata">

**Author:** ![Shrivatsa2904](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Shrivatsa2904](https://forum.rasa.com/u/Shrivatsa2904)\
**Post date:** [August 7, 2020, 5:31pm UTC](https://forum.rasa.com/t/word-embeddings-and-rasa-nlu/23978/4 "2020-08-07T17:31:02Z")

</div>

The article in the medium about using fasttext is quite confusing, can I get some steps to do the same for other languages than English?.

---

<div class="post-metadata">

**Author:** ![Juste](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juste/32/15_2.png) [@Juste](https://forum.rasa.com/u/Juste)\
**Post date:** [August 10, 2020, 11:22am UTC](https://forum.rasa.com/t/word-embeddings-and-rasa-nlu/23978/5 "2020-08-10T11:22:02Z")

</div>

Hi @Shrivatsa2904. I would suggest checking out one of our latest projects - [Rasa NLU examples](https://blog.rasa.com/introducing-rasa-nlu-examples/) where you can also find components that support other languages as well.

---

<div class="post-metadata">

**Author:** ![Shrivatsa2904](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Shrivatsa2904](https://forum.rasa.com/u/Shrivatsa2904)\
**Post date:** [August 10, 2020, 2:15pm UTC](https://forum.rasa.com/t/word-embeddings-and-rasa-nlu/23978/6 "2020-08-10T14:15:01Z")

</div>

Thank you, I’ll check them out.
