Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ajinkz opened this issue Feb 13, 2019 · 1 comment
Labels
question Further information is requested

Comments

@Ajinkz
Copy link

Ajinkz commented Feb 13, 2019

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.

@Ajinkz Ajinkz closed this as completed Feb 14, 2019
@Ajinkz Ajinkz reopened this Feb 14, 2019
@Ajinkz Ajinkz changed the title ValueError: could not broadcast input array from shape (128) into shape (300) I had some doubts regarding using spacy model. I was able to generate & extract Marathi language model. How to load my new model & link it to rasa nlu ? I’m not using docker. Feb 14, 2019
@Ajinkz Ajinkz changed the title I had some doubts regarding using spacy model. I was able to generate & extract Marathi language model. How to load my new model & link it to rasa nlu ? I’m not using docker. How to load my new spacy model & link it to rasa nlu ? I’m not using docker. Feb 14, 2019
@souvikg10
Copy link
Owner

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

@souvikg10 souvikg10 added the question Further information is requested label Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants