PaddleNLP
PaddleNLP copied to clipboard
在aistudio上运行样例的时候,提示information_extraction不在Taskflow list中
`---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
/tmp/ipykernel_182/1763430471.py in
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlenlp/taskflow/taskflow.py in init(self, task, model, device_id, **kwargs) 182 def init(self, task, model=None, device_id=0, **kwargs): 183 assert task in TASKS, "The task name:{} is not in Taskflow list, please check your task name.".format( --> 184 task) 185 self.task = task 186 if model is not None:
AssertionError: The task name:information_extraction is not in Taskflow list, please check your task name.`
paddlenlp的版本是2.2.6
paddlenlp的版本是2.2.6
升级一下paddlenlp的版本到最新的2.3.5版本
暂时关闭该issue,如有问题可以重新该issue。