diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index f14a8e8c6..4317a96e8 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -375,7 +375,7 @@ def unpickle_vocab(strings_loc, lex_loc, vec_loc, morphology, get_lex_attr, vocab.strings.load(file_) vocab.load_lexemes(lex_loc) if vec_loc is not None: - vocab.load_vectors_from_bin_loc(vec_loc) + vocab.vectors_length = vocab.load_vectors_from_bin_loc(vec_loc) return vocab