From dcdfa071aaf983adae5b3fb39336a2b1102970ab Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 4 Oct 2017 20:06:52 -0500 Subject: [PATCH] Disable LayerNorm hack --- spacy/_ml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/_ml.py b/spacy/_ml.py index 1f78de9a9..6223715b5 100644 --- a/spacy/_ml.py +++ b/spacy/_ml.py @@ -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'