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.
Please refer to our paper for a detailed description of GLM:
glm-large-chinese
is pretrained on the
WuDaoCorpora
dataset. It has 24 transformer layers, with hidden size 1024 and 16 attention heads in each layer. The model is pretrained with autoregressive blank filling objectives designed for natural language understanding, seq2seq, and language modeling.
We use three different mask tokens for different tasks:
[MASK]
for short blank filling,
[sMASK]
for sentence filling, and
[gMASK]
for left to right generation. You can find examples about different masks from
here
. The prediction always begin with a special
<|startofpiece|>
token and ends with a
<|endofpiece|>
token.
Citation
Please cite our paper if you find this code useful for your research:
@article{DBLP:conf/acl/DuQLDQY022,
author = {Zhengxiao Du and
Yujie Qian and
Xiao Liu and
Ming Ding and
Jiezhong Qiu and
Zhilin Yang and
Jie Tang},
title = {{GLM:} General Language Model Pretraining with Autoregressive Blank Infilling},
booktitle = {Proceedings of the 60th Annual Meeting of the Association for Computational
Linguistics (Volume 1: Long Papers), {ACL} 2022, Dublin, Ireland,
May 22-27, 2022},
pages = {320--335},
publisher = {Association for Computational Linguistics},
year = {2022},
}
Runs of THUDM glm-large-chinese on huggingface.co
56
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About glm-large-chinese huggingface.co Model
glm-large-chinese huggingface.co
glm-large-chinese huggingface.co is an AI model on huggingface.co that provides glm-large-chinese's model effect (), which can be used instantly with this THUDM glm-large-chinese model. huggingface.co supports a free trial of the glm-large-chinese model, and also provides paid use of the glm-large-chinese. Support call glm-large-chinese model through api, including Node.js, Python, http.
glm-large-chinese huggingface.co is an online trial and call api platform, which integrates glm-large-chinese's modeling effects, including api services, and provides a free online trial of glm-large-chinese, you can try glm-large-chinese online for free by clicking the link below.
THUDM glm-large-chinese online free url in huggingface.co:
glm-large-chinese is an open source model from GitHub that offers a free installation service, and any user can find glm-large-chinese on GitHub to install. At the same time, huggingface.co provides the effect of glm-large-chinese install, users can directly use glm-large-chinese installed effect in huggingface.co for debugging and trial. It also supports api for free installation.