From 826c1d3ca3808c91ad3867c8856381ec7bfe824f Mon Sep 17 00:00:00 2001 From: Lj Miranda Date: Thu, 25 Aug 2022 13:31:36 +0800 Subject: [PATCH] Use spacy.SpanCategorizer.v1 as default archi --- spacy/pipeline/spancat_exclusive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/pipeline/spancat_exclusive.py b/spacy/pipeline/spancat_exclusive.py index d2a4e5dc4..4f8005cca 100644 --- a/spacy/pipeline/spancat_exclusive.py +++ b/spacy/pipeline/spancat_exclusive.py @@ -27,7 +27,7 @@ def build_linear_logistic(nO=None, nI=None) -> Model[Floats2d, Floats2d]: spancat_exclusive_default_config = """ [model] -@architectures = "spacy.SpanCategorizerExclusive.v1" +@architectures = "spacy.SpanCategorizer.v1" scorer = {"@layers": "spacy.Softmax.v1"} [model.reducer]