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