diff --git a/spacy/language.py b/spacy/language.py index 4b7651d65..0ec29f3b1 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -1615,8 +1615,6 @@ def _fix_pretrained_vectors_name(nlp: Language) -> None: nlp.vocab.vectors.name = vectors_name else: raise ValueError(Errors.E092) - if nlp.vocab.vectors.size != 0: - link_vectors_to_models(nlp.vocab) for name, proc in nlp.pipeline: if not hasattr(proc, "cfg"): continue