From 6ee6e412341b07a9d7f5b42c28e2f8d28a8432d9 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Wed, 9 Dec 2020 10:21:39 +0100 Subject: [PATCH] Update docstring for Language.evaluate --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index b5d29c391..995acbd7b 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -1279,7 +1279,7 @@ class Language: """Evaluate a model's pipeline components. examples (Iterable[Example]): `Example` objects. - batch_size (int): Batch size to use. + batch_size (Optional[int]): Batch size to use. scorer (Optional[Scorer]): Scorer to use. If not passed in, a new one will be created. component_cfg (dict): An optional dictionary with extra keyword