mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-14 18:22:27 +03:00
Fix infobox formatting.
This commit is contained in:
parent
cf5a99be41
commit
63cdc50680
|
@ -91,16 +91,15 @@ architectures and their arguments and hyperparameters.
|
||||||
|
|
||||||
<Infobox variant="warning">
|
<Infobox variant="warning">
|
||||||
|
|
||||||
> If you set a non-default value for `spans_key`, you'll have to update
|
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. E.
|
`[training.score_weights]` as well so that weights are computed properly. E. g. for `span_key == "myspankey"`, include this in your config:
|
||||||
> g. for `span_key == "myspankey"`, include this in your config:
|
|
||||||
>
|
```ini
|
||||||
> ```ini
|
[training.score_weights]
|
||||||
> [training.score_weights]
|
spans_myspankey_f = 1.0
|
||||||
> spans_myspankey_f = 1.0
|
spans_myspankey_p = 0.0
|
||||||
> spans_myspankey_p = 0.0
|
spans_myspankey_r = 0.0
|
||||||
> spans_myspankey_r = 0.0
|
```
|
||||||
> ```
|
|
||||||
|
|
||||||
</Infobox>
|
</Infobox>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user