Instructions to use AICube/ChatGLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AICube/ChatGLM with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("THUDM/chatglm3-6b-base") model = PeftModel.from_pretrained(base_model, "AICube/ChatGLM") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from AICube/ChatGLM: direct link, hf CLI and curl.
- Browser
- Download file 3 Bytes
-
https://huggingface.co/AICube/ChatGLM/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://AICube/ChatGLM/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/AICube/ChatGLM/resolve/main/special_tokens_map.json
3 Bytes
| {} | |