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")
当我有两句长度不一样的话,在变成input_ids做generate的时候,怎么做padding?
· Sign up or log in to comment