From 8ca1cf735558cc88470b2c0304a541fd6f491b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= Date: Wed, 18 Jan 2023 15:41:39 +0100 Subject: [PATCH] Update transition parser distill docstring for examples argument --- spacy/pipeline/transition_parser.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/pipeline/transition_parser.pyx b/spacy/pipeline/transition_parser.pyx index b0b3a0b96..1f924c64b 100644 --- a/spacy/pipeline/transition_parser.pyx +++ b/spacy/pipeline/transition_parser.pyx @@ -222,8 +222,8 @@ cdef class Parser(TrainablePipe): teacher_pipe (Optional[TrainablePipe]): The teacher pipe to learn from. examples (Iterable[Example]): Distillation examples. The reference - and predicted docs must have the same number of tokens and the - same orthography. + (teacher) and predicted (student) docs must have the same number of + tokens and the same orthography. drop (float): dropout rate. sgd (Optional[Optimizer]): An optimizer. Will be created via create_optimizer if not set.