mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
small fix
This commit is contained in:
parent
60f299374f
commit
cdc589d344
|
@ -670,7 +670,7 @@ def build_nel_encoder(embed_width, hidden_width, ner_types, **cfg):
|
||||||
|
|
||||||
conv_depth = cfg.get("conv_depth", 2)
|
conv_depth = cfg.get("conv_depth", 2)
|
||||||
cnn_maxout_pieces = cfg.get("cnn_maxout_pieces", 3)
|
cnn_maxout_pieces = cfg.get("cnn_maxout_pieces", 3)
|
||||||
pretrained_vectors = cfg.get("pretrained_vectors") # self.nlp.vocab.vectors.name
|
pretrained_vectors = cfg.get("pretrained_vectors", None)
|
||||||
context_width = cfg.get("context_width")
|
context_width = cfg.get("context_width")
|
||||||
entity_width = cfg.get("entity_width")
|
entity_width = cfg.get("entity_width")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user