Instructions to use silver/chatglm-6b-slim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use silver/chatglm-6b-slim with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("silver/chatglm-6b-slim", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Fix generate fb23542
duzx16 commited on
Fix attention_mask and position_ids 373fd6b
duzx16 commited on
Fix encode method e22cddf
duzx16 commited on
Fix batch input e1494f2
duzx16 commited on
Implement batch generation cc96a22
duzx16 commited on
Change padding side db22499
duzx16 commited on
merge from ChatGLM-6B b8b422f
Fix typo in tokenization_chatglm.py 1b54948
songxxzp commited on
remove image tokens from chatglm-6b 82834c6
Remove image tokens when decoding 8492687
duzx16 commited on
Update tokenizer c4575e7
duzx16 commited on