Remove delete inputs_embeds in _update_model_kwargs_for_generation 238dc29
duzx16 commited on
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")