Replies: 1 comment
-
什么环境?提个issue吧 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
使用mindnlp.engine.Trainer微调chatglm3-6b,保存的checkpoint形式是model.safetensors,如何inference?我尝试以下代码会报错:ValueError: Can't find 'adapter_config.json' at './checkpoints/checkpoint-8880/'
model = ChatGLM3ForConditionalGeneration.from_pretrained("ZhipuAI/chatglm3-6b") model = PeftModel.from_pretrained(model, "./checkpoints/checkpoint-8880/")
Beta Was this translation helpful? Give feedback.
All reactions