mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-22 18:12:00 +03:00
Update spacy/pipeline/spancat.py
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
854d1614a9
commit
51a53de239
|
@ -306,8 +306,6 @@ class SpanCategorizer(TrainablePipe):
|
|||
vocab: Vocab,
|
||||
model: Model[Tuple[List[Doc], Ragged], Floats2d],
|
||||
suggester: Suggester,
|
||||
# TODO Not sure what's the best default name when it can both be spancat
|
||||
# and spancat_singlelabel
|
||||
name: str = "spancat",
|
||||
*,
|
||||
add_negative_label: bool = False,
|
||||
|
|
Loading…
Reference in New Issue
Block a user