mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-30 22:03:41 +03:00
remove mypy hints
This commit is contained in:
parent
5050498661
commit
e9057d2cc6
|
@ -214,14 +214,14 @@ def train_while_improving(
|
||||||
subbatch,
|
subbatch,
|
||||||
drop=dropout,
|
drop=dropout,
|
||||||
losses=losses,
|
losses=losses,
|
||||||
sgd=None, # type: ignore[arg-type]
|
sgd=None,
|
||||||
exclude=exclude,
|
exclude=exclude,
|
||||||
annotates=annotating_components,
|
annotates=annotating_components,
|
||||||
)
|
)
|
||||||
nlp.rehearse(
|
nlp.rehearse(
|
||||||
subbatch,
|
subbatch,
|
||||||
losses=losses,
|
losses=losses,
|
||||||
sgd=None, # type: ignore[arg-type]
|
sgd=None,
|
||||||
exclude=exclude,
|
exclude=exclude,
|
||||||
rehearse_components=rehearse_components,
|
rehearse_components=rehearse_components,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user