jjzjj

ChatGLMModel

全部标签

【AI实战】ChatGLM2-6B 微调:AttributeError: ‘ChatGLMModel‘ object has no attribute ‘prefix_encoder‘

【AI实战】ChatGLM2-6B微调:AttributeError:'ChatGLMModel'objecthasnoattribute'prefix_encoder'ChatGLM2-6B介绍ChatGLM2微调问题解决方法1.安装transformers版本2.重新下载THUDM/chatglm2-6b中的文件3.重新训练参考ChatGLM2-6B介绍ChatGLM2-6B是开源中英双语对话模型ChatGLM-6B的第二代版本,在保留了初代模型对话流畅、部署门槛较低等众多优秀特性的基础之上,ChatGLM2-6B引入了如下新特性:1.更强大的性能:基于ChatGLM初代模型的开发经验,我