WangRongsheng / XrayGLM

🩺 首个会看胸部X光片的中文多模态医学大模型 | The first Chinese Medical Multimodal Model that Chest Radiographs Summarization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

测试报错,args中无 'pad_token_id' AttributeError: 'Namespace' object has no attribute 'pad_token_id'

shituo123456 opened this issue · comments

commented

感觉像是配置文件修改了,查看了最新的配置文件pad_token_id=3,设置后,推理的结果都是乱码

SwissArmyTransformer==0.4.0 把这个库降级一下

commented

SwissArmyTransformer==0.4.0 把这个库降级一下

多谢,的确可以解决问题!!!

跳过deepspeed库,但是推理失败,我看VisualGLM-6B的问题回答对于这个是升级到最新版本,但是需要我去注释掉引用的deepspeed,降级后就难注释了