rename spancat_exclusive to singlelable

This commit is contained in:
kadarakos 2023-01-31 16:04:35 +00:00
parent 3f6fd410cc
commit f1e091a31f

View File

@ -15,7 +15,7 @@ OPS = get_current_ops()
SPAN_KEY = "labeled_spans"
SPANCAT_COMPONENTS = ["spancat", "spancat_exclusive"]
SPANCAT_COMPONENTS = ["spancat", "spancat_singlelabel"]
TRAIN_DATA = [
("Who is Shaka Khan?", {"spans": {SPAN_KEY: [(7, 17, "PERSON")]}}),