Instructions to use zai-org/chatglm-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm-6b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm-6b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,7 +46,7 @@ pip install "transformers>=4.23.1,icetk,cpm_kernels"
|
|
| 46 |
|
| 47 |
## 协议
|
| 48 |
|
| 49 |
-
本仓库的代码依照 [Apache-2.0](
|
| 50 |
|
| 51 |
## 引用
|
| 52 |
|
|
|
|
| 46 |
|
| 47 |
## 协议
|
| 48 |
|
| 49 |
+
本仓库的代码依照 [Apache-2.0](LICENSE) 协议开源,ChatGLM-6B 模型的权重的使用则需要遵循 [Model License](MODEL_LICENSE)。
|
| 50 |
|
| 51 |
## 引用
|
| 52 |
|