torchkeras icon indicating copy to clipboard operation
torchkeras copied to clipboard

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

Open Andyszl opened this issue 1 year ago • 4 comments

image

Andyszl avatar Nov 14 '23 03:11 Andyszl

相同的问题

Lxhnnn avatar Nov 14 '23 09:11 Lxhnnn

相同的问题

+1

thewangcj avatar Nov 30 '23 15:11 thewangcj

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

Jack0000007 avatar Feb 29 '24 14:02 Jack0000007

这个self.top_p是什么意思啊?

Zeng-B-B avatar Jun 20 '24 15:06 Zeng-B-B