使用飞桨paddlenlp时报错
>>> from pprint import pprint
>>> from paddlenlp import Taskflow
D:\Anaconda\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
>>> schema = ['时间', '人物', '赛事']
>>> ie = Taskflow('information_extraction', schema=schema)
W0705 11:26:37.196576 5472 analysis_config.cc:971] It is detected that mkldnn and memory_optimize_pass are enabled at the same time, but they are not supported yet. Currently, memory_optimize_pass is explicitly disabled
[2023-07-05 11:26:37,799] [ INFO] - We are using <class 'paddlenlp.transformers.ernie.tokenizer.ErnieTokenizer'> to load 'C:\Users\*****\.paddlenlp\taskflow\information_extraction\uie-base'.
主要是最后那里。
稍微查了一下,好像是什么不能并行?
也不是很懂啊,目前才刚刚开始接触NLP,有没有大神教教。
这个可以教教你