diff --git a/spacy/syntax/nn_parser.pyx b/spacy/syntax/nn_parser.pyx index bf873f0e2..cf18b6e96 100644 --- a/spacy/syntax/nn_parser.pyx +++ b/spacy/syntax/nn_parser.pyx @@ -825,6 +825,7 @@ cdef class Parser: if 'model' not in exclude: path = util.ensure_path(path) if self.model is True: + self.cfg['pretrained_dims'] = self.vocab.vectors_length self.model, cfg = self.Model(**self.cfg) else: cfg = {}