Dont link vectors in vocab deserialize
@@ -324,7 +324,6 @@ 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):
@@ -364,7 +363,6 @@ cdef class Vocab:
('vectors', lambda b: serialize_vectors(b))
))
util.from_bytes(bytes_data, setters, exclude)
- link_vectors_to_models(self)
return self
def lexemes_to_bytes(self):
