mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-02 11:20:19 +03:00
Update transition parser distill docstring for examples argument
This commit is contained in:
parent
b61ee4c332
commit
8ca1cf7355
|
@ -222,8 +222,8 @@ cdef class Parser(TrainablePipe):
|
||||||
teacher_pipe (Optional[TrainablePipe]): The teacher pipe to learn
|
teacher_pipe (Optional[TrainablePipe]): The teacher pipe to learn
|
||||||
from.
|
from.
|
||||||
examples (Iterable[Example]): Distillation examples. The reference
|
examples (Iterable[Example]): Distillation examples. The reference
|
||||||
and predicted docs must have the same number of tokens and the
|
(teacher) and predicted (student) docs must have the same number of
|
||||||
same orthography.
|
tokens and the same orthography.
|
||||||
drop (float): dropout rate.
|
drop (float): dropout rate.
|
||||||
sgd (Optional[Optimizer]): An optimizer. Will be created via
|
sgd (Optional[Optimizer]): An optimizer. Will be created via
|
||||||
create_optimizer if not set.
|
create_optimizer if not set.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user