赞
踩
git clone https://huggingface.co/THUDM/chatglm-6b-int4.git
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("chatglm-6b-int4", trust_remote_code=True)
model = AutoModel.from_pretrained("chatglm-6b-int4
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。