SpanCat: Remove invalid threshold config argument

This commit is contained in:
shadeMe 2023-07-26 13:07:57 +02:00
parent f8f489bcd6
commit 8398d3d36e
No known key found for this signature in database
GPG Key ID: 6FCA9FC635B2A402

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]},