`SpanCat`: Remove invalid `threshold` config argument (#12860)

This commit is contained in:
Madeesh Kannan 2023-07-26 13:56:31 +02:00 committed by GitHub
parent f8f489bcd6
commit 98799d849e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -67,7 +67,6 @@ architectures and their arguments and hyperparameters.
> ```python
> from spacy.pipeline.spancat import DEFAULT_SPANCAT_SINGLELABEL_MODEL
> config = {
> "threshold": 0.5,
> "spans_key": "labeled_spans",
> "model": DEFAULT_SPANCAT_SINGLELABEL_MODEL,
> "suggester": {"@misc": "spacy.ngram_suggester.v1", "sizes": [1, 2, 3]},