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-10b
is pretrained on the
Pile
dataset. It has 48 transformer layers, with hidden size 4096 and 64 attention heads in each layer. The model is pretrained with autoregressive blank filling objectives designed for natural language understanding, seq2seq, and language modeling. Find more details from our
repo
.
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-10b on huggingface.co
299
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About glm-10b huggingface.co Model
glm-10b huggingface.co
glm-10b huggingface.co is an AI model on huggingface.co that provides glm-10b's model effect (), which can be used instantly with this THUDM glm-10b model. huggingface.co supports a free trial of the glm-10b model, and also provides paid use of the glm-10b. Support call glm-10b model through api, including Node.js, Python, http.
glm-10b huggingface.co is an online trial and call api platform, which integrates glm-10b's modeling effects, including api services, and provides a free online trial of glm-10b, you can try glm-10b online for free by clicking the link below.
glm-10b is an open source model from GitHub that offers a free installation service, and any user can find glm-10b on GitHub to install. At the same time, huggingface.co provides the effect of glm-10b install, users can directly use glm-10b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.