Instructions to use zai-org/chatglm2-6b-int4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm2-6b-int4 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm2-6b-int4", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from zai-org/chatglm2-6b-int4: direct link, hf CLI and curl.
- Browser
- Download file 3.92 GB
-
https://huggingface.co/zai-org/chatglm2-6b-int4/resolve/refs%2Fpr%2F24/pytorch_model.bin
- Command line
-
hf download hf://zai-org/chatglm2-6b-int4@refs/pr/24/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/zai-org/chatglm2-6b-int4/resolve/refs%2Fpr%2F24/pytorch_model.bin
3.92 GB
- Xet hash:
- 769a0eecadb125172919a3ba4968fe36293084cde1cbce93bfb7b9946efb60aa
- Size of remote file:
- 3.92 GB
- SHA256:
- 783e9eac82c278f1e57ba93344a96580fd6f2cd222c8703f25998bb16926688e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.