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:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm2-6b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
duzx16 commited on
Commit ·
31d45da
1
Parent(s): c57e892
Remove redundant
Browse files- configuration_chatglm.py +0 -1
configuration_chatglm.py
CHANGED
|
@@ -20,7 +20,6 @@ class ChatGLMConfig(PretrainedConfig):
|
|
| 20 |
post_layer_norm=True,
|
| 21 |
add_bias_linear=False,
|
| 22 |
add_qkv_bias=False,
|
| 23 |
-
interleaved_qkv=False,
|
| 24 |
bias_dropout_fusion=True,
|
| 25 |
multi_query_attention=False,
|
| 26 |
multi_query_group_num=1,
|
|
|
|
| 20 |
post_layer_norm=True,
|
| 21 |
add_bias_linear=False,
|
| 22 |
add_qkv_bias=False,
|
|
|
|
| 23 |
bias_dropout_fusion=True,
|
| 24 |
multi_query_attention=False,
|
| 25 |
multi_query_group_num=1,
|