Merge branch 'master' into issue-1959

This commit is contained in:
Aaron Marquez 2018-02-16 15:14:09 -08:00
commit ea571e8325
1 changed files with 2 additions and 1 deletions

View File

@ -835,6 +835,7 @@ cdef class Parser:
sgd = self.create_optimizer()
self.model[1].begin_training(
self.model[1].ops.allocate((5, cfg['token_vector_width'])))
if pipeline is not None:
self.init_multitask_objectives(gold_tuples, pipeline, sgd=sgd, **cfg)
link_vectors_to_models(self.vocab)
else: