From 81ccd66804ea17d9c88b78823afbad6cd1213d32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= Date: Mon, 30 Jan 2023 10:08:11 +0100 Subject: [PATCH] Better synopsis in `Language.distill` docstring --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index b16056465..59a723757 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -1031,7 +1031,7 @@ class Language: annotates: Iterable[str] = SimpleFrozenList(), student_to_teacher: Optional[Dict[str, str]] = None, ): - """Update the models in the pipeline. + """Distill the models in a student pipeline from a teacher pipeline. teacher (Language): Teacher to distill from. examples (Iterable[Example]): Distillation examples. The reference (teacher) and predicted (student) docs must have the same number of