Apply suggestions from code review

Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
This commit is contained in:
Daniël de Kok 2023-01-18 15:18:28 +01:00 committed by GitHub
parent d0eab0b995
commit c2f83f2510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1342,7 +1342,7 @@ class Language:
get_examples (Callable[[], Iterable[Example]]): Optional function that
returns gold-standard Example objects.
labels (Dict[str, Any]): labels to pass to pipe initialization, using
labels (Dict[str, Any]): Labels to pass to pipe initialization, using
the names of the pipes as keys. Overrides labels that are in the
model configuration.
sgd (Optional[Optimizer]): An optimizer to use for updates. If not

View File

@ -333,7 +333,7 @@ and custom registered functions if needed. See the
| `component_cfg` | Optional dictionary of keyword arguments for components, keyed by component names. Defaults to `None`. ~~Optional[Dict[str, Dict[str, Any]]]~~ |
| **RETURNS** | The updated `losses` dictionary. ~~Dict[str, float]~~ |
## Language.distill {id="distill",tag="method",version="4"}
## Language.distill {id="distill",tag="method,experimental",version="4"}
Distill the models in a student pipeline from a teacher pipeline.