Dont use iterated convolutions

This commit is contained in:
Matthew Honnibal 2017-09-17 17:36:04 -05:00
parent c013e5996f
commit 2148ae605b

View File

@ -252,11 +252,8 @@ def Tok2Vec(width, embed_size, pretrained_dims=0):
embed
>> with_flatten(
Affine(width, width+pretrained_dims)
>> convolution
>> convolution
>> convolution
>> convolution,
pad=1)
>> convolution ** 4,
pad=4)
)
# Work around thinc API limitations :(. TODO: Revise in Thinc 7
tok2vec.nO = width