mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 21:24:11 +03:00
Set backwards compatibility flag
This commit is contained in:
parent
5454b20cd7
commit
5cbefcba17
|
@ -30,6 +30,10 @@ from . import util
|
|||
import numpy
|
||||
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)
|
||||
|
||||
VECTORS_KEY = 'spacy_pretrained_vectors'
|
||||
|
||||
@layerize
|
||||
|
|
Loading…
Reference in New Issue
Block a user