mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 04:10:20 +03:00
Remove backward compat setting from tagger
This commit is contained in:
parent
6a8ab366e7
commit
72fdaf166d
|
@ -25,9 +25,6 @@ from .. import util
|
||||||
|
|
||||||
ActivationsT = Dict[str, Union[List[Floats2d], List[Ints1d]]]
|
ActivationsT = Dict[str, Union[List[Floats2d], List[Ints1d]]]
|
||||||
|
|
||||||
# See #9050
|
|
||||||
BACKWARD_OVERWRITE = False
|
|
||||||
|
|
||||||
default_model_config = """
|
default_model_config = """
|
||||||
[model]
|
[model]
|
||||||
@architectures = "spacy.Tagger.v2"
|
@architectures = "spacy.Tagger.v2"
|
||||||
|
@ -97,7 +94,7 @@ class Tagger(TrainablePipe):
|
||||||
model,
|
model,
|
||||||
name="tagger",
|
name="tagger",
|
||||||
*,
|
*,
|
||||||
overwrite=BACKWARD_OVERWRITE,
|
overwrite=False,
|
||||||
scorer=tagger_score,
|
scorer=tagger_score,
|
||||||
neg_prefix="!",
|
neg_prefix="!",
|
||||||
save_activations: bool = False,
|
save_activations: bool = False,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user