mirror of https://github.com/explosion/spaCy.git
Don't use iterated convolutions
This commit is contained in:
parent
5a7fd0fd36
commit
63bd87508d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue