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, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
#25
by baby12 - opened
版本需要更新,否则会出现RuntimeError: Tensors must have same number of dimensions: got 4 and 2
啥意思?你是说必须使用这条命令pip install protobuf==3.20.0 transformers==4.27.4 icetk cpm_kernels?要不然就会报错是吗?
zxdu20 changed pull request status to closed