lyhue1991/torchkeras

AttributeError: 'ChatGLM' object has no attribute 'top_p'

Andyszl opened this issue · 4 comments

相同的问题

相同的问题

+1

快速修改方法:直接将其安装后源码中self.top_p修改为0.8然后保存重新运行就不报错了,不过最好作为参数传递进去。这只是比较快的办法