Instructions to use zai-org/glm-large-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/glm-large-chinese with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="zai-org/glm-large-chinese", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("zai-org/glm-large-chinese", trust_remote_code=True) model = AutoModel.from_pretrained("zai-org/glm-large-chinese", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
duzx16 commited on
Commit ·
22edd20
1
Parent(s): e3f9625
add tag
Browse files
README.md
CHANGED
|
@@ -3,6 +3,7 @@ language:
|
|
| 3 |
- zh
|
| 4 |
tags:
|
| 5 |
- glm
|
|
|
|
| 6 |
---
|
| 7 |
GLM is a General Language Model pretrained with an autoregressive blank-filling objective and can be finetuned on various natural language understanding and generation tasks.
|
| 8 |
|
|
|
|
| 3 |
- zh
|
| 4 |
tags:
|
| 5 |
- glm
|
| 6 |
+
- thudm
|
| 7 |
---
|
| 8 |
GLM is a General Language Model pretrained with an autoregressive blank-filling objective and can be finetuned on various natural language understanding and generation tasks.
|
| 9 |
|