未验证 提交 81cf07b2 编写于 作者: K KP 提交者: GitHub

Add compatible code for paddlehub.module.nlp_module.DataFormatError

上级 945f0a5e
...@@ -34,6 +34,8 @@ from paddlehub.utils.utils import reseg_token_label ...@@ -34,6 +34,8 @@ from paddlehub.utils.utils import reseg_token_label
from paddlenlp.embeddings.token_embedding import EMBEDDING_HOME, EMBEDDING_URL_ROOT from paddlenlp.embeddings.token_embedding import EMBEDDING_HOME, EMBEDDING_URL_ROOT
from paddlenlp.data import JiebaTokenizer from paddlenlp.data import JiebaTokenizer
from paddlehub.compat.module.nlp_module import DataFormatError
__all__ = [ __all__ = [
'PretrainedModel', 'PretrainedModel',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册