Fix for serialization

This commit is contained in:
Matthew Honnibal 2017-05-29 13:42:55 +02:00
parent 74235587ef
commit 7b06bb896e
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ from thinc.neural import Model
from thinc.neural.ops import NumpyOps, CupyOps
from thinc.neural.optimizers import Adam, SGD
import random
import ujson
from .tokenizer import Tokenizer
from .vocab import Vocab

View File

@ -14,6 +14,7 @@ import random
import msgpack
import msgpack_numpy
msgpack_numpy.patch()
import ujson
from .symbols import ORTH
from .compat import cupy, CudaStream, path2str, basestring_, input_, unicode_