From 776d4f11909d796963068a9a931fdca8b71a8ccc Mon Sep 17 00:00:00 2001 From: svlandeg Date: Thu, 4 Jun 2020 16:07:30 +0200 Subject: [PATCH] cleanup --- spacy/cli/train_from_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/cli/train_from_config.py b/spacy/cli/train_from_config.py index 9cdc3bf2f..a6d0a0abc 100644 --- a/spacy/cli/train_from_config.py +++ b/spacy/cli/train_from_config.py @@ -76,7 +76,7 @@ maxout_pieces = 3 subword_features = true """ -# TODO: REMOVE ? + class PipelineComponent(BaseModel): factory: str model: Model @@ -84,7 +84,7 @@ class PipelineComponent(BaseModel): class Config: arbitrary_types_allowed = True -# TODO: REMOVE ? + class ConfigSchema(BaseModel): optimizer: Optional["Optimizer"]