Instructions to use zai-org/glm-10b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/glm-10b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="zai-org/glm-10b", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("zai-org/glm-10b", trust_remote_code=True) model = AutoModel.from_pretrained("zai-org/glm-10b", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
duzx16 commited on
Commit ·
ff8a42a
1
Parent(s): 69c1d82
add tag
Browse files
README.md
CHANGED
|
@@ -3,6 +3,7 @@ language:
|
|
| 3 |
- en
|
| 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 |
|
|
@@ -41,4 +42,4 @@ Please cite our paper if you find this code useful for your research:
|
|
| 41 |
publisher = {Association for Computational Linguistics},
|
| 42 |
year = {2022},
|
| 43 |
}
|
| 44 |
-
```
|
|
|
|
| 3 |
- en
|
| 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 |
|
|
|
|
| 42 |
publisher = {Association for Computational Linguistics},
|
| 43 |
year = {2022},
|
| 44 |
}
|
| 45 |
+
```
|