SpaCy-UDpipe load custom model colab

345 views Asked by At

I'm trying to load a custom spacy-udpipe model into google colab. I tried

!pip install ufal.udpipe

!pip install spacy-udpipe

import spacy_udpipe

nlp = udpipe_download_model(language = ("italian-postwita"))


but I get the following error message : NameError: name 'udpipe_download_model' is not defined.

Anyone can help? thanks

1

There are 1 answers

0
Raqib On
import spacy_udpipe

spacy_udpipe.download("name_of_model_to_download")