Better synopsis in Language.distill docstring

This commit is contained in:
Daniël de Kok 2023-01-30 10:08:11 +01:00
parent bde20110c4
commit 81ccd66804

View File

@ -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