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, dtype="auto") - Notebooks
- Google Colab
- Kaggle
fix tensor shape error when torch version less than 2 #4
#9
by hiyouga - opened
No description provided.
hiyouga changed pull request title from Update modeling_chatglm.py to fixes #4
hiyouga changed pull request title from fixes #4 to fix tensor shape error when torch version less than 2 #4
ZHANGYUXUAN-zR changed pull request status to merged