mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Remove unhelpful multitask objectives
This commit is contained in:
parent
983201a83a
commit
66c388ee01
|
@ -779,7 +779,7 @@ cdef class NeuralDependencyParser(NeuralParser):
|
|||
TransitionSystem = ArcEager
|
||||
|
||||
def init_multitask_objectives(self, gold_tuples, pipeline, **cfg):
|
||||
for target in ['dep', 'ent']:
|
||||
for target in []:
|
||||
labeller = NeuralLabeller(self.vocab, target=target)
|
||||
tok2vec = self.model[0]
|
||||
labeller.begin_training(gold_tuples, pipeline=pipeline, tok2vec=tok2vec)
|
||||
|
|
Loading…
Reference in New Issue
Block a user