diff --git a/spacy/pipeline.pyx b/spacy/pipeline.pyx index 38cdbbd92..7a823f1a7 100644 --- a/spacy/pipeline.pyx +++ b/spacy/pipeline.pyx @@ -1070,7 +1070,7 @@ class ClozeMultitask(Pipe): gradient = (prediction - target) / prediction.shape[0] loss = (gradient**2).sum() return float(loss), gradient - + def update(self, docs, golds, drop=0., sgd=None, losses=None): pass