首页 PaddleNLP 帖子详情
paddlenlp遇到的坑
收藏
快速回复
PaddleNLP 问答部署NLP 1332 2
paddlenlp遇到的坑
收藏
快速回复
PaddleNLP 问答部署NLP 1332 2

在阿里云服务器部署(centos 7.9)nlp时出现:

RuntimeError: (Unavailable) An error occurred while loading model parameters. Please check whether the model file is complete or damaged.
[Hint: Expected static_cast(*buffer) == true, but received static_cast(*buffer):0 != true:1.] (at /paddle/paddle/fluid/operators/load_combine_op.h:86)

安装环境:

andconda:3.8

安装的Python3.7

paddlepaddle=2.3.2

运行官方案例:

from pprint import pprint
from paddlenlp import Taskflow

schema = ['时间', '选手', '赛事名称'] # Define the schema for entity extraction
ie = Taskflow('information_extraction', schema=schema)

报错如上。

0
收藏
回复
全部评论(2)
时间顺序
监管严于滑地滑
#2 回复于2023-08

楼主最后怎么解决了?

0
回复
c
chf0818
#3 回复于2023-09

同遇到这个问题,楼主有解决么?

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户