mirror of https://github.com/explosion/spaCy.git
Disable LayerNorm hack
This commit is contained in:
parent
943af4423a
commit
dcdfa071aa
|
@ -32,7 +32,7 @@ import io
|
|||
|
||||
# TODO: Unset this once we don't want to support models previous models.
|
||||
import thinc.neural._classes.layernorm
|
||||
thinc.neural._classes.layernorm.set_compat_six_eight(True)
|
||||
thinc.neural._classes.layernorm.set_compat_six_eight(False)
|
||||
|
||||
VECTORS_KEY = 'spacy_pretrained_vectors'
|
||||
|
||||
|
|
Loading…
Reference in New Issue