mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-30 01:50:03 +03:00
Rename pipe_map
to student_to_teacher
This commit is contained in:
parent
b450d34dca
commit
4a7a60c9e6
|
@ -6,7 +6,7 @@ corpus = "corpora.distillation"
|
|||
dropout = 0.1
|
||||
max_epochs = 1
|
||||
max_steps = 0
|
||||
pipe_map = {}
|
||||
student_to_teacher = {}
|
||||
|
||||
[distillation.batcher]
|
||||
@batchers = "spacy.batch_by_words.v1"
|
||||
|
|
|
@ -418,7 +418,7 @@ class ConfigSchemaDistill(BaseModel):
|
|||
max_epochs: StrictInt = Field(..., title="Maximum number of epochs to distill for")
|
||||
max_steps: StrictInt = Field(..., title="Maximum number of steps to distill for")
|
||||
optimizer: Optimizer = Field(..., title="The optimizer to use")
|
||||
pipe_map: Dict[str, str] = Field(..., title="Mapping from teacher to student pipe")
|
||||
student_to_teacher: Dict[str, str] = Field(..., title="Mapping from student to teacher pipe")
|
||||
# fmt: on
|
||||
|
||||
class Config:
|
||||
|
|
Loading…
Reference in New Issue
Block a user