From 9e88108298a7cfd3dcb4983bcf0f4c859b49b7f7 Mon Sep 17 00:00:00 2001 From: Lj Miranda Date: Mon, 5 Dec 2022 08:13:59 +0800 Subject: [PATCH] Remove init_W and init_B parameters This commit is expected to fail until the new Thinc release. --- spacy/pipeline/spancat_exclusive.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spacy/pipeline/spancat_exclusive.py b/spacy/pipeline/spancat_exclusive.py index 64a3e0b24..ed5f3272e 100644 --- a/spacy/pipeline/spancat_exclusive.py +++ b/spacy/pipeline/spancat_exclusive.py @@ -18,12 +18,6 @@ spancat_excl_default_config = """ @architectures = "spacy.SpanCategorizer.v1" scorer = {"@layers": "Softmax.v2"} -[model.scorer.init_W] -@initializers = "zero_init.v1" - -[model.scorer.init_b] -@initializers = "zero_init.v1" - [model.reducer] @layers = spacy.mean_max_reducer.v1 hidden_size = 128