mirror of https://github.com/explosion/spaCy.git
cleanup
This commit is contained in:
parent
6b027d7689
commit
776d4f1190
|
@ -76,7 +76,7 @@ maxout_pieces = 3
|
||||||
subword_features = true
|
subword_features = true
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# TODO: REMOVE ?
|
|
||||||
class PipelineComponent(BaseModel):
|
class PipelineComponent(BaseModel):
|
||||||
factory: str
|
factory: str
|
||||||
model: Model
|
model: Model
|
||||||
|
@ -84,7 +84,7 @@ class PipelineComponent(BaseModel):
|
||||||
class Config:
|
class Config:
|
||||||
arbitrary_types_allowed = True
|
arbitrary_types_allowed = True
|
||||||
|
|
||||||
# TODO: REMOVE ?
|
|
||||||
class ConfigSchema(BaseModel):
|
class ConfigSchema(BaseModel):
|
||||||
optimizer: Optional["Optimizer"]
|
optimizer: Optional["Optimizer"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue