mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 01:21:58 +03:00
Fix formatting.
This commit is contained in:
parent
71ce0c8895
commit
6d4cc547b7
|
@ -89,7 +89,7 @@ architectures and their arguments and hyperparameters.
|
|||
| `negative_weight` <Tag variant="new">3.5.1</Tag> | Multiplier for the loss terms. It can be used to downweight the negative samples if there are too many. It is only used when `add_negative_label` is `True`. Defaults to `1.0`. ~~float~~ |
|
||||
| `allow_overlap` <Tag variant="new">3.5.1</Tag> | If `True`, the data is assumed to contain overlapping spans. It is only available when `max_positive` is exactly 1. Defaults to `True`. ~~bool~~ |
|
||||
|
||||
> ⚠️ Note that if you set a non-default value for `spans_key`, you'll have to
|
||||
> ⚠️ Caution: if you set a non-default value for `spans_key`, you'll have to
|
||||
> update `[training.score_weights]` as well so that weights are computed
|
||||
> properly. I. e. for `span_key == "myspankey"`, include this in your config:
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue
Block a user