From 086bb7f5440ee546854dbb3f1a49dce4540c8f28 Mon Sep 17 00:00:00 2001 From: kadarakos Date: Tue, 7 Mar 2023 17:13:53 +0100 Subject: [PATCH] Update website/docs/api/spancategorizer.mdx Co-authored-by: Adriane Boyd --- website/docs/api/spancategorizer.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/spancategorizer.mdx b/website/docs/api/spancategorizer.mdx index d8a8bdfa5..7ee487c16 100644 --- a/website/docs/api/spancategorizer.mdx +++ b/website/docs/api/spancategorizer.mdx @@ -18,7 +18,7 @@ need to perform multi-label classification on your spans, use `spancat`. The `spancat` component uses a `Logistic` layer where the output class probabilities are independent for each class. However, if you need to predict at most one true class for a span, then use `spancat_singlelabel`. -It uses a `Softmax` layer and treats the spans as a multi-class problem. +It uses a `Softmax` layer and treats the task as a multi-class problem. Predicted spans will be saved in a [`SpanGroup`](/api/spangroup) on the doc. Individual span scores can be found in `spangroup.attrs["scores"]`.