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:
# pip install -U transformers accelerate # 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
Commit History
-
added padding_side in the tokenizer _pad() method
EC2 Default User16dc1c4
-
support transformers 4.44
zR0aa722c
-
report
zRd5275af
-
update
zR7d23e9e
-
fix readme
zR3526756
-
fix import error of flash attn
zRbcf026a
-
add flash-attn
zRa7cafb0 -
add flash-attn
zR534e83c
-
fix with convert_tokens_to_string
zR76f71fd -
fix with convert_tokens_to_string
zRb97dd95 -
change Citations
zRb36cb68
-
Update tokenization_chatglm.py (#3)
zR +1: ksuriuriVerified signature- Update tokenization_chatglm.py (3f7e063eb632a7f8f93a7eab49a8e76fc59e638c) Co-authored-by: haoyuanhuang <ksuriuri@users.noreply.huggingface.co>dad3715
-
Update LICENSE
zRVerified signatured74db5f
-
readme update
Ubuntu5bac540
-
fix tensor shape error when torch version less than 2 (#4)
zR +1: hiyougaVerified signature- Update modeling_chatglm.py (5853f34804e757ba1bb3496331d108e2674088cc) Co-authored-by: Yaowei Zheng <hiyouga@users.noreply.huggingface.co>f762044 -
fixes https://github.com/THUDM/GLM-4/issues/22 (#1)
zR +1: hiyougaVerified signature- Update modeling_chatglm.py (44387a32e42983ed0c596fb039c927953dcc217b) Co-authored-by: Yaowei Zheng <hiyouga@users.noreply.huggingface.co>6dd1576 -
Update README.md
zRVerified signature79175b4 -
Update README.md
zRVerified signature715ddbe -
Update README.md
zRVerified signaturea078535 -
Update README.md
zRVerified signature91e93ee -
Update README.md
zRVerified signature428d5ca
-
Update config.json
Verified signature4839b9e -
change
Ubuntu3a69124 -
Update config.json
zRVerified signature18dd01e -
Update config.json
zRVerified signature3094fed -
fitst commit
Ubuntuee343b5 -
first commit
Ubuntuaa58d72 -
initial commit
zRVerified signatureccaf697