remove mypy hints

This commit is contained in:
thomashacker 2023-01-19 16:23:46 +01:00
parent 5050498661
commit e9057d2cc6

View File

@ -214,14 +214,14 @@ def train_while_improving(
subbatch,
drop=dropout,
losses=losses,
sgd=None, # type: ignore[arg-type]
sgd=None,
exclude=exclude,
annotates=annotating_components,
)
nlp.rehearse(
subbatch,
losses=losses,
sgd=None, # type: ignore[arg-type]
sgd=None,
exclude=exclude,
rehearse_components=rehearse_components,
)