mymusise / ChatGLM-Tuning

基于ChatGLM-6B + LoRA的Fintune方案
MIT License
3.73k stars 440 forks source link

在colab上报错ModuleNotFoundError: No module named 'modeling_chatglm' #34

Open linkerlin opened 1 year ago

linkerlin commented 1 year ago

ModuleNotFoundError Traceback (most recent call last) in 1 from transformers import AutoTokenizer, AutoModel, TrainingArguments, AutoConfig ----> 2 from modeling_chatglm import ChatGLMForConditionalGeneration 3 import torch 4 import torch.nn as nn 5 from peft import get_peft_model, LoraConfig, TaskType

ModuleNotFoundError: No module named 'modeling_chatglm'


NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the "Open Examples" button below.

mymusise commented 1 year ago

看看之前的执行步骤是不是异常了