mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Pass parameter for gradient noise
This commit is contained in:
parent
d1511e816a
commit
2db43e9662
|
@ -97,7 +97,8 @@ cdef class Parser:
|
|||
|
||||
if cfg.get('model') == 'neural':
|
||||
model = ParserNeuralNet(cfg.hidden_layers + [moves.n_moves],
|
||||
update_step=cfg.update_step, eta=cfg.eta, rho=cfg.rho)
|
||||
update_step=cfg.update_step, eta=cfg.eta, rho=cfg.rho,
|
||||
noise=cfg.noise)
|
||||
else:
|
||||
model = ParserPerceptron(get_templates(cfg.feat_set))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user