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"]