Loading FastText and other language models

Hi, I want to ask several questions related to load language model. Currently, I am trying to load Fasttext into Rasa by following this link, but I got this following error: “ModuleNotFoundError: No module named 'rasa_nlu_examples”. Any solution?

The other question is, any suggestion about language models that not resource hungry (like BERT and GPT) since I have been trying using BERT but I got an error said that OOM (Out of Memory).

Thanks in advance!

@prabowoyogawicaksana - you need to install the package

pip install "rasa_nlu_examples[fasttext]@https://github.com/RasaHQ/rasa-nlu-examples.git"

Thank you so much, but it didn’t worked in my case. I’m done with this problem by using this line python -m pip install "rasa_nlu_examples[fasttext] @ git+https://github.com/RasaHQ/rasa-nlu-examples.git" which derived from the complete documentation.

Anyway, thank you so much Sir

1 Like