From d2ac618af103b9c4396d91501c858357f8f60ebe Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 8 Dec 2018 23:27:29 +0100 Subject: [PATCH] Set cbb_maxout_pieces=3 --- spacy/_ml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/_ml.py b/spacy/_ml.py index 3df9d72ba..c7c90398b 100644 --- a/spacy/_ml.py +++ b/spacy/_ml.py @@ -271,7 +271,7 @@ def PyTorchBiLSTM(nO, nI, depth, dropout=0.2): def Tok2Vec(width, embed_size, **kwargs): pretrained_vectors = kwargs.get("pretrained_vectors", None) - cnn_maxout_pieces = kwargs.get("cnn_maxout_pieces", 2) + cnn_maxout_pieces = kwargs.get("cnn_maxout_pieces", 3) subword_features = kwargs.get("subword_features", True) conv_depth = kwargs.get("conv_depth", 4) bilstm_depth = kwargs.get("bilstm_depth", 0)