Don't use iterated convolutions

This commit is contained in:
Matthew Honnibal 2017-09-23 04:39:17 -05:00
parent 5a7fd0fd36
commit 63bd87508d

View File

@ -270,7 +270,7 @@ def Tok2Vec(width, embed_size, **kwargs):
tok2vec = ( tok2vec = (
FeatureExtracter(cols) FeatureExtracter(cols)
>> with_flatten( >> with_flatten(
embed >> (convolution * 4), pad=4) embed >> (convolution ** 4), pad=4)
) )
# Work around thinc API limitations :(. TODO: Revise in Thinc 7 # Work around thinc API limitations :(. TODO: Revise in Thinc 7