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
TypeError: GenerationMixin._extract_past_from_model_output() got an unexpected keyword argument 'standardize_cache_format'
#73
by muxiao - opened
这是为什么呀?
解决了吗?我也报这个错了
更新transformers ==4.44.2
更新后仍然报错
Installing transformers 4.40.2 solved the problem for me
如果使用4.46以上版本,请搜索我们的 glm-4-9b-chat-hf,这个仓库兼容最新规范
ZHANGYUXUAN-zR changed discussion status to closed