Instructions to use zai-org/visualglm-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/visualglm-6b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/visualglm-6b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
fix for transformers>4.33
#11
by jinmingyi - opened
update tokenizer
After fixed code as you suggested, I still hitted same error:
'ChatGLMTokenizer' object has no attribute 'sp_tokenizer'
After fixed code as you suggested, I still hitted same error:
'ChatGLMTokenizer' object has no attribute 'sp_tokenizer'
try update transormers version?