This commit is contained in:
svlandeg 2020-06-04 16:07:30 +02:00
parent 6b027d7689
commit 776d4f1190

View File

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