Don't reapply the model during training
@@ -47,6 +47,7 @@ class Trainer(object):
for process in self.nlp.pipeline:
if hasattr(process, 'update'):
loss = process.update(doc, gold, itn=self.nr_epoch)
+ else:
process(doc)
return doc
