diff --git a/spacy/pipeline/transition_parser.pyx b/spacy/pipeline/transition_parser.pyx index 7648647bf..2afeb6b35 100644 --- a/spacy/pipeline/transition_parser.pyx +++ b/spacy/pipeline/transition_parser.pyx @@ -317,6 +317,8 @@ cdef class Parser(TrainablePipe): RETURNS (Tuple[float, float]): The loss and the gradient. + RETURNS (Tuple[float, float]): The loss and the gradient. + DOCS: https://spacy.io/api/dependencyparser#get_teacher_student_loss """ loss_func = LegacySequenceCategoricalCrossentropy(normalize=False)