From 2cf0f4622fb5efc57c622b5d37c771e8042bed3d Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 1 Oct 2017 14:05:32 -0500 Subject: [PATCH] Fix loading of models with pre-trained vectors --- spacy/vocab.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 0a420849c..21c2a1165 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -324,6 +324,7 @@ cdef class Vocab: self.lexemes_from_bytes(file_.read()) if self.vectors is not None: self.vectors.from_disk(path, exclude='strings.json') + link_vectors_to_models(self) return self def to_bytes(self, **exclude):