Instructions to use zai-org/glm-4-9b-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/glm-4-9b-chat with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/glm-4-9b-chat", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Merge main d99af46
Update apply_chat_template d493e51
duzx16 commited on
Merge branch 'main' of https://huggingface.co/THUDM/glm-4-9b-chat dba7772
duzx16 commited on
Fix default dtype for classification head 0deb1dd
duzx16 commited on
recover as comment 8993ee7
disable `torch.jit` when using Ascend NPUs (#20) 7d93f12 verified
fix metadata 7c0351d
Update LICENSE 6f060dc verified
zR commited on
update template, remove apply_chat_template, use default apply_chat_template 972e7b4
Fix classification model 12c8049
duzx16 commited on
readme cbc9aaf
Ubuntu commited on
english readme 368f865
Ubuntu commited on
Update README.md 269b8ba verified
zR commited on
Update README.md 6324425 verified
zR commited on
Update README.md b84dc74 verified
zR commited on
Update README.md 3caf9b5 verified
first commit 4b556ad
Ubuntu commited on
initial commit fc5ff92 verified
zR commited on