mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
cleanup
This commit is contained in:
parent
6b027d7689
commit
776d4f1190
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user