Instructions to use zai-org/glm-4-9b-chat-1m 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-1m with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/glm-4-9b-chat-1m", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
add padding_side in tokenizer _pad() method
#22
by framolfese - opened
No description provided.
I have added the padding_side parameter to the tokenizer _pad() function to be compliant with glm-4-9b-chat tokenizer: https://huggingface.co/THUDM/glm-4-9b-chat/blob/main/tokenization_chatglm.py
framolfese changed pull request status to open
ZHANGYUXUAN-zR changed pull request status to merged