PaddlePaddle / PaddleNLP

👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
12.16k stars 2.94k forks source link

[Question]: 使用uie官方实例代码时报错,无结果返回 #3910

Closed 61liuyi61 closed 1 year ago

61liuyi61 commented 1 year ago

请提出你的问题

from pprint import pprint from paddlenlp import Taskflow

schema = [{"歌曲名称": ["歌手", "所属专辑"]}, "人物"] ie = Taskflow('information_extraction', schema=schema) res = ie("告白气球是周杰伦在专辑周杰伦的床边故事里面的歌曲") pprint(res)

image

其中: python 3.7.4 paddlenlp 2.4.3

wawltor commented 1 year ago

看起来是windows机器,scipy的版本,需要满足 scipy<=1.3.1 & scipy>=1.7.3
看看是否能解决你的问题

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。