Instructions to use zai-org/chatglm2-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm2-6b with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm2-6b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add new_version pointer to chatglm3-6b
#117
by davanstrien HF Staff - opened
This adds new_version: zai-org/chatglm3-6b to the model card metadata, so this page shows a notice linking users to the newer chatglm3-6b model. If chatglm3-6b later gets its own new_version, the Hub follows the chain to the latest release.
Docs: https://huggingface.co/docs/hub/en/model-cards#specifying-a-new-version