Fix use_cache=False 7fabe56
duzx16 commited on
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")