Update morphologizer model

This commit is contained in:
Matthew Honnibal 2020-07-28 22:59:42 +02:00
parent 20e9098e3f
commit 6a6b09bd32

View File

@ -22,17 +22,23 @@ default_model_config = """
@architectures = "spacy.Tagger.v1" @architectures = "spacy.Tagger.v1"
[model.tok2vec] [model.tok2vec]
@architectures = "spacy.HashCharEmbedCNN.v1" @architectures = "spacy.Tok2Vec.v1"
pretrained_vectors = null
[model.tok2vec.embed]
@architectures = "spacy.CharacterEmbed.v1"
width = 128 width = 128
depth = 4 rows = 7000
embed_size = 7000
window_size = 1
maxout_pieces = 3
nM = 64 nM = 64
nC = 8 nC = 8
dropout = null
[model.tok2vec.encode]
@architectures = "spacy.MaxoutWindowEncoder.v1"
width = 128
depth = 4
window_size = 1
maxout_pieces = 3
""" """
DEFAULT_MORPH_MODEL = Config().from_str(default_model_config)["model"] DEFAULT_MORPH_MODEL = Config().from_str(default_model_config)["model"]