mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +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)
|
||||
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")
|
||||
entity_width = cfg.get("entity_width")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user