I am very new to Spacy so this question might be kinda dumb, but I can't figure out how to add a NER from an existing model to a blank model. I am following this example: https://spacy.io/api/language#add_pipe and this is my code:
# Build main nlp
main_nlp = spacy.blank("es-419")
# Get spanish ner
spanish_nlp = spacy.load("es_core_news_lg")
main_nlp.add_pipe("ner",source=spanish_nlp, name="spanish_ner")
test_text = # Random text
main_nlp(test_text)
I get the following error: RuntimeError: [E896] There was an error using the static vectors. Ensure that the vectors of the vocab are properly initialized, or set 'include_static_vectors' to False.
Any help would be greatly appreciated!!