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 ·
e186c89
1
Parent(s): 5f2cf33
Fix name_or_path in tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"name_or_path": "THUDM/
|
| 3 |
"remove_space": false,
|
| 4 |
"do_lower_case": false,
|
| 5 |
"tokenizer_class": "ChatGLMTokenizer",
|
|
|
|
| 1 |
{
|
| 2 |
+
"name_or_path": "THUDM/chatglm2-6b",
|
| 3 |
"remove_space": false,
|
| 4 |
"do_lower_case": false,
|
| 5 |
"tokenizer_class": "ChatGLMTokenizer",
|