How to use zai-org/chatglm2-6b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm2-6b", trust_remote_code=True, dtype="auto")
这很Mac
你没改路径
'your local path' 要改成你本地 chatglm2-6b 文件夹路径
· Sign up or log in to comment