From cecfcc77114af45bcc6e52da3c937c8c634c1dca Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 12 Oct 2017 13:12:26 +0200 Subject: [PATCH] Set default hyper params back to 'slow' settings --- spacy/syntax/nn_parser.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/syntax/nn_parser.pyx b/spacy/syntax/nn_parser.pyx index 1059982bc..5b087d367 100644 --- a/spacy/syntax/nn_parser.pyx +++ b/spacy/syntax/nn_parser.pyx @@ -240,8 +240,8 @@ cdef class Parser: @classmethod def Model(cls, nr_class, **cfg): depth = util.env_opt('parser_hidden_depth', cfg.get('hidden_depth', 1)) - token_vector_width = util.env_opt('token_vector_width', cfg.get('token_vector_width', 64)) - hidden_width = util.env_opt('hidden_width', cfg.get('hidden_width', 64)) + token_vector_width = util.env_opt('token_vector_width', cfg.get('token_vector_width', 128)) + hidden_width = util.env_opt('hidden_width', cfg.get('hidden_width', 200)) parser_maxout_pieces = util.env_opt('parser_maxout_pieces', cfg.get('maxout_pieces', 2)) embed_size = util.env_opt('embed_size', cfg.get('embed_size', 7000)) hist_size = util.env_opt('history_feats', cfg.get('hist_size', 4))