xxw1995 / chatglm3-finetune

最容易上手的0门槛 chatglm3 & agent & langchain 项目

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'model'

Jeru2023 opened this issue · comments

when running finetune error shows:

Traceback (most recent call last):
File "D:\dev\chatglm3-finetune\finetune.py", line 8, in
from model.modeling_chatglm import ChatGLMForConditionalGeneration
ModuleNotFoundError: No module named 'model'

the first line in finetune.py is
from model.modeling_chatglm import ChatGLMForConditionalGeneration

this should be chatglm model???

I fixed it with the model loaded from AutoModel instead of ChatGLMForConditionalGeneration