Skip to content

Commit

Permalink
Add note in docs on score_weight config if using a non-default `spa…
Browse files Browse the repository at this point in the history
…ns_key` for SpanCat (explosion#13093)

* Add note on score_weight if using a non-default span_key for SpanCat.

* Fix formatting.

* Fix formatting.

* Fix typo.

* Use warning infobox.

* Fix infobox formatting.
  • Loading branch information
rmitsch authored and jikanter committed Mar 29, 2024
1 parent cc72da2 commit 64bad1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/docs/api/spancategorizer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ architectures and their arguments and hyperparameters.
<Infobox variant="warning">
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. g.
for `spans_key == "myspankey"`, include this in your config:
`[training.score_weights]` as well so that weights are computed properly. E. g. for `span_key == "myspankey"`, include this in your config:
```ini
[training.score_weights]
Expand Down

0 comments on commit 64bad1c

Please sign in to comment.