XrayGLM
XrayGLM copied to clipboard
'Namespace' object has no attribute 'pad_token_id' 请问这个问题怎么解决呢!
我刚开始也遇到这个问题,后来将sat的版本从0.4.9降低到0.3.6,然后将transoformers的版本定在4.27.1,就没有错误了。 原因应该是checkpoint是旧版本的,不兼容新版本的sat。 希望对你有用~
好的,我去试一下!辛苦啦~
***@***.***
---- 回复的原邮件 ----
发件人
Hao ***@***.***>
发送日期
2024年1月5日 15:49
收件人
***@***.***>
抄送人
***@***.***>
,
***@***.***>
主题
Re: [WangRongsheng/XrayGLM] 'Namespace' object has no attribute 'pad_token_id' 请问这个问题怎么解决呢! (Issue #66)
我刚开始也遇到这个问题,后来将sat的版本从0.4.9降低到0.3.6,然后将transoformers的版本定在4.27.1,就没有错误了。 原因应该是checkpoint是旧版本的,不兼容新版本的sat。 希望对你有用~
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>