EvilPsyCHo / Play-with-LLMs

Tutorial on training, evaluating LLM, as well as utilizing RAG, Agent, Chain to build entertaining applications with LLMs.分享如何训练、评估LLMs,如何基于RAG、Agent、Chain构建有趣的LLMs应用。
https://kky42.com/
MIT License
516 stars 82 forks source link

chatglm2 raise NotImplementedError #16

Open Grason-Lu opened 1 year ago

Grason-Lu commented 1 year ago
image

model.enable_input_require_grads() 这块报错。如何解决呀

MarshalXu commented 1 year ago

image 在model.py里面,model_name 只判断了 chatglm 和baichuan 检查一下 运行命令里面 --model_name 这一项是不是写的不对。

EvilPsyCHo commented 1 year ago

这个应该不会影响,如果你用模型全称比如"baichuan-inc/Baichuan-7B" , 那么对应的字符串"baichuan“是包含在里面的。

On Wed, Aug 23, 2023 at 5:20 PM XuChang @.***> wrote:

[image: image] https://user-images.githubusercontent.com/34258804/262621500-2811b0ad-38d0-4e41-9b5a-df819be89a83.png 在model.py里面,model_name 只判断了 chatglm 和baichuan 检查一下 运行命令里面 --model_name 这一项是不是写的不对。

— Reply to this email directly, view it on GitHub https://github.com/EvilPsyCHo/train_custom_LLM/issues/16#issuecomment-1689597509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJXRCT7YK3WRHAXVSU43T3XWXDM5ANCNFSM6AAAAAA3GKNVZE . You are receiving this because you are subscribed to this thread.Message ID: @.***>