Instructions to use zai-org/chatglm2-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm2-6b with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm2-6b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
duzx16 commited on
Commit ·
0ade0d3
1
Parent(s): d0886d5
Update change log
Browse files
README.md
CHANGED
|
@@ -66,7 +66,7 @@ pip install protobuf transformers==4.27.1 cpm_kernels torch>=2.0 gradio mdtex2ht
|
|
| 66 |
For more instructions, including how to run CLI and web demos, and model quantization, please refer to our [Github Repo](https://github.com/THUDM/ChatGLM2-6B).
|
| 67 |
|
| 68 |
## Change Log
|
| 69 |
-
*
|
| 70 |
|
| 71 |
## 协议
|
| 72 |
|
|
|
|
| 66 |
For more instructions, including how to run CLI and web demos, and model quantization, please refer to our [Github Repo](https://github.com/THUDM/ChatGLM2-6B).
|
| 67 |
|
| 68 |
## Change Log
|
| 69 |
+
* v1.0
|
| 70 |
|
| 71 |
## 协议
|
| 72 |
|