From 2713890eccbbaaa8fedfbbad86dc208c4b15a9de Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Wed, 8 Mar 2023 10:59:24 +0100 Subject: [PATCH] Update website/docs/api/spancategorizer.mdx --- website/docs/api/spancategorizer.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/spancategorizer.mdx b/website/docs/api/spancategorizer.mdx index c9ae8e483..c7de2324b 100644 --- a/website/docs/api/spancategorizer.mdx +++ b/website/docs/api/spancategorizer.mdx @@ -68,11 +68,11 @@ architectures and their arguments and hyperparameters. > "spans_key": "labeled_spans", > "model": DEFAULT_SPANCAT_SINGLELABEL_MODEL, > "suggester": {"@misc": "spacy.ngram_suggester.v1", "sizes": [1, 2, 3]}, -> # Additional spancat_exclusive parameters +> # Additional spancat_singlelabel parameters > "negative_weight": 0.8, > "allow_overlap": True, > } -> nlp.add_pipe("spancat_exclusive", config=config) +> nlp.add_pipe("spancat_singlelabel", config=config) > ``` | Setting | Description |