From 98b6c62654dae41a580a339cbdfc3f3f72c70085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=93=E7=9B=B8?= Date: Thu, 16 Jun 2022 14:55:28 +0800 Subject: [PATCH] [to #42322933] bugfix --- modelscope/preprocessors/nlp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modelscope/preprocessors/nlp.py b/modelscope/preprocessors/nlp.py index 0904fdcf..b1344abb 100644 --- a/modelscope/preprocessors/nlp.py +++ b/modelscope/preprocessors/nlp.py @@ -12,7 +12,8 @@ from .builder import PREPROCESSORS __all__ = [ 'Tokenize', 'SequenceClassificationPreprocessor', - 'TextGenerationPreprocessor' + 'TextGenerationPreprocessor', + "ZeroShotClassificationPreprocessor" ]