Instructions to use zai-org/glm-4-9b-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/glm-4-9b-chat with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/glm-4-9b-chat", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
PanicException: index out of bounds: the len is 1 but the index is 1
#44
by Moutsea - opened
Moutsea changed discussion status to closed
Moutsea changed discussion status to open
It is related to your tiktoken version. I upgraded my tiktoken version to 0.7.0, and it works now.
ZHANGYUXUAN-zR changed discussion status to closed

