Update slow readers test to use textcat_multilabel (#9300)

This commit is contained in:
Adriane Boyd 2021-09-27 20:04:02 +02:00 committed by GitHub
parent 4da2af4e0e
commit effae12cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,15 +82,15 @@ def test_cat_readers(reader, additional_config):
[nlp]
lang = "en"
pipeline = ["tok2vec", "textcat"]
pipeline = ["tok2vec", "textcat_multilabel"]
[components]
[components.tok2vec]
factory = "tok2vec"
[components.textcat]
factory = "textcat"
[components.textcat_multilabel]
factory = "textcat_multilabel"
"""
config = Config().from_str(nlp_config_string)
config["corpora"]["@readers"] = reader