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, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
#25
by baby12 - opened
README.md
CHANGED
|
@@ -16,7 +16,7 @@ ChatGLM-6B is an open bilingual language model based on [General Language Model
|
|
| 16 |
## 软件依赖
|
| 17 |
|
| 18 |
```shell
|
| 19 |
-
pip install protobuf==3.20.0 transformers==4.
|
| 20 |
```
|
| 21 |
|
| 22 |
## 代码调用
|
|
|
|
| 16 |
## 软件依赖
|
| 17 |
|
| 18 |
```shell
|
| 19 |
+
pip install protobuf==3.20.0 transformers==4.27.4 icetk cpm_kernels
|
| 20 |
```
|
| 21 |
|
| 22 |
## 代码调用
|