Update spacy/pipeline/spancat.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
kadarakos 2023-03-06 15:14:35 +01:00 committed by GitHub
parent 854d1614a9
commit 51a53de239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,