Instructions to use zai-org/glm-4v-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/glm-4v-9b with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/glm-4v-9b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
make compatible with transformers 4.49+ (#43)
zR +1: ctranslate2-4you
Verified signature- make compatible with transformers 4.49+ (1a5be979ef53262299363e521777777d1f356869) Co-authored-by: Blair Chintella <ctranslate2-4you@users.noreply.huggingface.co>3376fea
-
Fix tokenizer reloading (#42)
zR +1: kylesayrs Verified signature- fix kwarg passing (7aff27965f262d05ee7ab11e7f391ff9347e5312) Co-authored-by: Kyle Sayers <kylesayrs@users.noreply.huggingface.co>ae8facc
-
Fix "TypeError: ChatGLM4Tokenizer._pad() got an unexpected keyword argument 'padding_side'" (#39)
zR +1: sixsixcoder Verified signature- Fix "TypeError: ChatGLM4Tokenizer._pad() got an unexpected keyword argument 'padding_side'" (9ed793afa525d1d12f62bc94fe01c9eb2d5053ae) Co-authored-by: sixgod <sixsixcoder@users.noreply.huggingface.co>6a1215e
-
support transformers 4.44
zR01328fa
-
use reshape
zR9a7a028
-
fix #350
zR8ba56be
-
fix
zR7031540
-
fix device problem
zRade85af
-
finetune
zR1127073 -
finetune
zRd907213
-
fix
zR6c2e473
-
flash attn support
zRfe11ac1
-
更新引用
zRe190b08 -
Fix batch generation for vision model
duzx16f81daa3
-
Update LICENSE
zRVerified signature7bcdc71 -
Update README_en.md
zRVerified signature7238fed -
Update README.md
zRVerified signaturece63323 -
Multiple GPU's issue. (#19)
zR +1: vcadillo
Verified signature- Multiple GPU's issue. (73cd2bc90c8711e5de330bec279b118d58170258) Co-authored-by: Victor Cadillo <vcadillo@users.noreply.huggingface.co>4a1c77f
-
Use reshape for visual.py
duzx16301cb65 -
Update modeling_chatglm.py
zRVerified signature710c94a -
english
Ubuntu8fd7f05 -
english
Ubuntuba40b0b
-
Update README.md
zRVerified signaturee8b84fe
-
update readme
Ubuntu01ba545 -
Update README.md
zRVerified signaturec26219e -
update readme
Ubuntucc3fdc5 -
first commit
Ubuntu711d022 -
initial commit
zRVerified signaturebc36086