← 返回资源分享
GLM: General Language Model Pretraining with Autoregressive Blank Infilling
论文
论文
发布时间2021-03-18
发表ACL 2022 5 · arXiv:2103.10360
作者:Xiao Liu,Zhilin Yang,Jiezhong Qiu,Jie Tang,Zhengxiao Du,Yujie Qian,Ming Ding
详细介绍
There have been various types of pretraining architectures including autoencoding models (e.g., BERT), autoregressive models (e.g., GPT), and encoder-decoder models (e.g., T5). However, none of the pretraining frameworks performs the best for all tasks of three main categories including natural language understanding (NLU), unconditional generation, and conditional generation. We propose a General Language Model (GLM) based on autoregressive blank infilling to address this challenge. GLM improves blank filling pretraining by adding 2D positional encodings and allowing an arbitrary order to predict spans, which results in performance gains over BERT and T5 on NLU tasks. Meanwhile, GLM can be pretrained for different types of tasks by varying the number and lengths of blanks. On a wide range of tasks across NLU, conditional and unconditional generation, GLM outperforms BERT, T5, and GPT given the same model sizes and data, and achieves the best performance from a single pretrained model with 1.25x parameters of BERT Large , demonstrating its generalizability to different downstream tasks.
代码仓库 (8)
THUDM/GLM官方PyTorch
thudm/chatglm3PyTorch
thudm/chatglm2-6bPyTorch
jackaduma/ChatGLM-LoRA-RLHF-PyTorchPyTorch
thudm/chatglmPyTorch
thudm/visualglm-6bPyTorch
thudm/swissarmytransformerPyTorch
BBuf/GLMPyTorch
