Rasa spaCy 3.0 pipeline help

Hey guys, I want to integrate a spacy 3 model (https://spacy.io/models/ro) and I haven’t found a way so far. Rasa docs refer to spacy v2 and this pretrained model is not compatible with that. I have installed it using python3 -m spacy download ro_core_news_sm but the usual link command doesn’t work.

Can someone help me? I tried going through spacy’s docs, there’s a way to import them using a script, but I don’t know to my shame where to put that script and how to actually have it run when my bot is running.

Really looking for some feedback here. Thanks!

Yeah, don’t use link anymore with SpaCy 3.

In your config.yml file, just write language: ro_core_news_sm.

1 Like

Thanks a lot for the answer. Do I need to specify any tokenizers / featurizers? Or will it work only by specifying the model in the config file?

Just specifying language: ro_core_news_sm in the config is enough. I don’t know of any other way to do it with.

Will test the new settings soon and let you know. Thanks for the quick help!!

1 Like

So far works as expected, thank you!

1 Like

Happy to help :slight_smile:

1 Like