-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: pp-uie推理返回格式 #10245
Comments
应该无法直接返回位置信息。 |
我执行这段代码去了20分钟,虽然结果出来了,这在生产中如何使用?有不有好的办法可以优化?谢谢! |
当前使用较慢,是否已经正确使用NPU算力,还是在CPU上进行推理?可以观察NPU负载。 优化方式:可以使用高性能推理来进行优化,在星河平台使用v100 32G版本推理5条数据时间约为700ms,如果是在生产环境,还可以推理部署实现动态插入功能,加速总吞吐。 |
|
|
当前算子支持文档在 https://github.com/PaddlePaddle/PaddleNLP/tree/develop/csrc/npu ,算子在PaddleCustomDevice中实现。如果昇腾版本没有支持,无法使用高性能推理。 |
请提出你的问题
ppuie有提示词,这个提示词如何改,推导的结果格式才能够像uie那样,能够显示出抽取实体在段落中的开始位置和结束位置:
预期:
实际值:
The text was updated successfully, but these errors were encountered: