ChatGLM-6B
ChatGLM-6B copied to clipboard
fixed cannot launch api.py
修复了api.py启动不了的问题 单纯的改了下大小写 #218
还需要修改模型名称,修改完毕以后,我在本地运行成功了。 将
model = AutoModel.from_pretrained("THUDM/chatglm_6b", trust_remote_code=True).half().cuda()
修改为
model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True).half().cuda()