From 76fe24f44d1238e3755c07cd377eddde2b74a913 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 11 Oct 2017 09:44:17 +0200 Subject: [PATCH] Improve embedding defaults --- spacy/_ml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/_ml.py b/spacy/_ml.py index 62e0ceb9a..b07e179f0 100644 --- a/spacy/_ml.py +++ b/spacy/_ml.py @@ -311,7 +311,7 @@ def link_vectors_to_models(vocab): def Tok2Vec(width, embed_size, **kwargs): pretrained_dims = kwargs.get('pretrained_dims', 0) - cnn_maxout_pieces = kwargs.get('cnn_maxout_pieces', 3) + cnn_maxout_pieces = kwargs.get('cnn_maxout_pieces', 2) cols = [ID, NORM, PREFIX, SUFFIX, SHAPE, ORTH] with Model.define_operators({'>>': chain, '|': concatenate, '**': clone, '+': add, '*': reapply}):