mirror of https://github.com/explosion/spaCy.git
Update morphologizer model
This commit is contained in:
parent
20e9098e3f
commit
6a6b09bd32
|
@ -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"]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue