How to use zai-org/chatglm-6b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm-6b", trust_remote_code=True, dtype="auto")
尝试用chatglm-6b生成一些文案,发现会过于“富有创造性”,导致会说一些不存在的功能,有啥可解的方法吗?
· Sign up or log in to comment