mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-31 10:29:46 +03:00
Better synopsis in Language.distill
docstring
This commit is contained in:
parent
bde20110c4
commit
81ccd66804
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user