souvikg10 / spacy-fasttext

The code describes how to load fastText vectors onto spaCy
18 stars 10 forks source link

How to load my new spacy model & link it to rasa nlu ? I’m not using docker. #2

Open Ajinkz opened 5 years ago

Ajinkz commented 5 years ago

I had some doubts regarding using spacy model. I was able to generate & extract the Marathi language model. How to load my new model & link it to rasa nlu ? I’m not using Docker.

souvikg10 commented 5 years ago

Did you generate a spaCy model?

basically in rasa_nlu, in the config file you have a language parameter, you specify the path to your language model under which the vectors are residing, this parameter is then parsed in rasa nlu utils.py to load spacy model. typically you can associate the model with a language code like en,mr etc when you install the model using pip, however it is not needed here