mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-01 02:49:50 +03:00
Fix labels type in docstring
This commit is contained in:
parent
f6312eabba
commit
7ce7672512
|
@ -1346,9 +1346,9 @@ 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
|
||||
the names of the pipes as keys. Overrides labels that are in the
|
||||
model configuration.
|
||||
labels (Optional[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
|
||||
provided, will be created using the .create_optimizer() method.
|
||||
RETURNS (thinc.api.Optimizer): The optimizer.
|
||||
|
|
Loading…
Reference in New Issue
Block a user