paddlenlp遇到的坑
收藏
在阿里云服务器部署(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
收藏
请登录后评论
楼主最后怎么解决了?
同遇到这个问题,楼主有解决么?