From ab97add6e60eea2679cfd70bde02695e45fded54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Thu, 7 Dec 2023 15:42:22 +0100 Subject: [PATCH] Doc fixes Co-authored-by: Sofie Van Landeghem --- spacy/ml/models/textcat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/ml/models/textcat.py b/spacy/ml/models/textcat.py index a579a0e4d..95362d45b 100644 --- a/spacy/ml/models/textcat.py +++ b/spacy/ml/models/textcat.py @@ -221,12 +221,12 @@ def build_reduce_text_classifier( """Build a model that classifies pooled `Doc` representations. Pooling is performed using reductions. Reductions are concatenated when - multible reductions are used. + multiple reductions are used. tok2vec (Model): the tok2vec layer to pool over. exclusive_classes (bool): Whether or not classes are mutually exclusive. use_reduce_first (bool): Pool by using the hidden representation of the - first token of a `Doc` + first token of a `Doc`. use_reduce_max (bool): Pool by taking the maximum values of the hidden representations of a `Doc`. use_reduce_mean (bool): Pool by taking the mean of all hidden