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:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm2-6b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Enable JIT only when cuda is available
#84
by statelesshz - opened
This comment has been hidden
statelesshz changed pull request title from Add support for Ascend NPU to Enable JIT only when cuda is available
statelesshz changed pull request status to closed