Play-with-LLMs icon indicating copy to clipboard operation
Play-with-LLMs copied to clipboard

chatglm2 raise NotImplementedError

Open Grason-Lu opened this issue 1 year ago • 2 comments

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

Grason-Lu avatar Aug 07 '23 02:08 Grason-Lu

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

MarshalXu avatar Aug 23 '23 09:08 MarshalXu

这个应该不会影响,如果你用模型全称比如"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: @.***>

EvilPsyCHo avatar Aug 23 '23 09:08 EvilPsyCHo