Skip to content

Commit ebcc7d8

Browse files
committed
Update slow readers test to use textcat_multilabel (explosion#9300)
1 parent 694c318 commit ebcc7d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spacy/tests/training/test_readers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ def test_cat_readers(reader, additional_config):
8282
8383
[nlp]
8484
lang = "en"
85-
pipeline = ["tok2vec", "textcat"]
85+
pipeline = ["tok2vec", "textcat_multilabel"]
8686
8787
[components]
8888
8989
[components.tok2vec]
9090
factory = "tok2vec"
9191
92-
[components.textcat]
93-
factory = "textcat"
92+
[components.textcat_multilabel]
93+
factory = "textcat_multilabel"
9494
"""
9595
config = Config().from_str(nlp_config_string)
9696
fix_random_seed(config["training"]["seed"])

0 commit comments

Comments
 (0)