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:
# pip install -U transformers accelerate # 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
Download tokenizer.model from zai-org/glm-4-9b-chat: direct link, hf CLI and curl.
- Browser
- Download file 2.62 MB
-
https://huggingface.co/zai-org/glm-4-9b-chat/resolve/main/tokenizer.model
- Command line
-
hf download hf://zai-org/glm-4-9b-chat/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/zai-org/glm-4-9b-chat/resolve/main/tokenizer.model
2.62 MB
- Xet hash:
- 28180b49b82f82e7f3f7170ab1bc6456095739baf5eca275c17b6ca407d66d56
- Size of remote file:
- 2.62 MB
- SHA256:
- 5a493598071550244b2ee7f26118f3edec2150b9dfa967929a99052ac83fe716
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.