Fix parser default

This commit is contained in:
Matthew Honnibal 2018-12-01 13:41:04 +00:00
parent 5c966d0874
commit fe7d6f36b1
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ cdef class Parser:
for action, label_freqs in previous_labels.items(): for action, label_freqs in previous_labels.items():
for label in label_freqs: for label in label_freqs:
self.moves.add_action(action, label) self.moves.add_action(action, label)
cfg.setdefault('token_vector_width', 128) cfg.setdefault('token_vector_width', 96)
if self.model is True: if self.model is True:
self.model, cfg = self.Model(self.moves.n_moves, **cfg) self.model, cfg = self.Model(self.moves.n_moves, **cfg)
if sgd is None: if sgd is None: