Instructions to use zai-org/chatglm3-6b-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm3-6b-base with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm3-6b-base", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
duzx16 commited on
Commit ·
ee22604
1
Parent(s): ff8a00e
Update model variable
Browse files- modeling_chatglm.py +2 -2
modeling_chatglm.py
CHANGED
|
@@ -38,11 +38,11 @@ if sys.platform != 'darwin':
|
|
| 38 |
|
| 39 |
logger = logging.get_logger(__name__)
|
| 40 |
|
| 41 |
-
_CHECKPOINT_FOR_DOC = "THUDM/
|
| 42 |
_CONFIG_FOR_DOC = "ChatGLM6BConfig"
|
| 43 |
|
| 44 |
CHATGLM_6B_PRETRAINED_MODEL_ARCHIVE_LIST = [
|
| 45 |
-
"THUDM/
|
| 46 |
# See all ChatGLM models at https://huggingface.co/models?filter=chatglm
|
| 47 |
]
|
| 48 |
|
|
|
|
| 38 |
|
| 39 |
logger = logging.get_logger(__name__)
|
| 40 |
|
| 41 |
+
_CHECKPOINT_FOR_DOC = "THUDM/ChatGLM"
|
| 42 |
_CONFIG_FOR_DOC = "ChatGLM6BConfig"
|
| 43 |
|
| 44 |
CHATGLM_6B_PRETRAINED_MODEL_ARCHIVE_LIST = [
|
| 45 |
+
"THUDM/chatglm3-6b-base",
|
| 46 |
# See all ChatGLM models at https://huggingface.co/models?filter=chatglm
|
| 47 |
]
|
| 48 |
|