Instructions to use ljsabc/ChatGLM-prefix-tuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ljsabc/ChatGLM-prefix-tuning with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ljsabc/ChatGLM-prefix-tuning", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Duplicate from THUDM/chatglm-6b
Co-authored-by: Zeng Aohan <Sengxian@users.noreply.huggingface.co>54cba16