From f2f1deca662a197c8e605e32238bfa015851f2ad Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 5 Oct 2020 15:24:33 +0200 Subject: [PATCH] spacy/tests/ --- spacy/tests/pipeline/test_tok2vec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/tests/pipeline/test_tok2vec.py b/spacy/tests/pipeline/test_tok2vec.py index 06212e351..78a677acf 100644 --- a/spacy/tests/pipeline/test_tok2vec.py +++ b/spacy/tests/pipeline/test_tok2vec.py @@ -25,8 +25,8 @@ def test_empty_doc(): MultiHashEmbed( width=width, rows=embed_size, - also_use_static_vectors=False, - also_embed_subwords=True, + include_static_vectors=False, + attrs=["NORM", "PREFIX", "SUFFIX", "SHAPE"], ), MaxoutWindowEncoder(width=width, depth=4, window_size=1, maxout_pieces=3), )