已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!祝你早点完成任务,早点休息,好梦!

Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism

平行性(语法) 培训(气象学) 计算机科学 并行计算 数据并行性 地理 气象学
作者
Mohammad Shoeybi,Mostofa Patwary,Raul Puri,Patrick LeGresley,Jared Casper,Bryan Catanzaro
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:820
标识
DOI:10.48550/arxiv.1909.08053
摘要

Recent work in language modeling demonstrates that training large transformer models advances the state of the art in Natural Language Processing applications. However, very large models can be quite difficult to train due to memory constraints. In this work, we present our techniques for training very large transformer models and implement a simple, efficient intra-layer model parallel approach that enables training transformer models with billions of parameters. Our approach does not require a new compiler or library changes, is orthogonal and complimentary to pipeline model parallelism, and can be fully implemented with the insertion of a few communication operations in native PyTorch. We illustrate this approach by converging transformer based models up to 8.3 billion parameters using 512 GPUs. We sustain 15.1 PetaFLOPs across the entire application with 76% scaling efficiency when compared to a strong single GPU baseline that sustains 39 TeraFLOPs, which is 30% of peak FLOPs. To demonstrate that large language models can further advance the state of the art (SOTA), we train an 8.3 billion parameter transformer language model similar to GPT-2 and a 3.9 billion parameter model similar to BERT. We show that careful attention to the placement of layer normalization in BERT-like models is critical to achieving increased performance as the model size grows. Using the GPT-2 model we achieve SOTA results on the WikiText103 (10.8 compared to SOTA perplexity of 15.8) and LAMBADA (66.5% compared to SOTA accuracy of 63.2%) datasets. Our BERT model achieves SOTA results on the RACE dataset (90.9% compared to SOTA accuracy of 89.4%).
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
叛逆黑洞完成签到 ,获得积分10
1秒前
tethysss完成签到,获得积分10
2秒前
十三完成签到 ,获得积分10
3秒前
科研通AI2S应助hunter采纳,获得10
3秒前
molihuakai应助Alex采纳,获得10
4秒前
笨笨山芙完成签到 ,获得积分10
4秒前
XPDHW发布了新的文献求助10
5秒前
领导范儿应助飘逸问晴采纳,获得10
5秒前
现在完成签到 ,获得积分10
5秒前
龍Ryu完成签到,获得积分10
5秒前
完美世界应助白芷采纳,获得10
6秒前
7秒前
heathens发布了新的文献求助10
7秒前
yiyao完成签到 ,获得积分10
7秒前
9秒前
luowenjin发布了新的文献求助10
12秒前
田田完成签到 ,获得积分10
13秒前
xfy1002完成签到 ,获得积分10
13秒前
钟杰发布了新的文献求助10
14秒前
14秒前
雨霧雲完成签到,获得积分10
14秒前
16秒前
16秒前
bjyx完成签到 ,获得积分10
18秒前
上官若男应助suer采纳,获得10
18秒前
馨馨的科科应助Zircon采纳,获得10
19秒前
科研通AI6.2应助寻晚境采纳,获得30
20秒前
白芷发布了新的文献求助10
20秒前
20秒前
huxiaowen发布了新的文献求助10
22秒前
古木发布了新的文献求助10
22秒前
苍露完成签到 ,获得积分10
22秒前
天天快乐应助zeng采纳,获得10
26秒前
27秒前
hunter发布了新的文献求助10
27秒前
27秒前
李健的小迷弟应助浅丿颜采纳,获得10
29秒前
Thecold完成签到,获得积分10
30秒前
王佳俊完成签到,获得积分10
31秒前
脑洞疼应助林林总总采纳,获得10
32秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Principles of town planning: translating concepts to applications 1000
内視鏡的に摘除しえた十二指腸乳頭部腫瘍の2例 660
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Positive Obsession: The Life and Times of Octavia E. Butler 500
Interpolation and Regression Models for the Chemical Engineer: Solving Numerical Problems 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7687528
求助须知:如何正确求助?哪些是违规求助? 9250508
关于积分的说明 19962852
捐赠科研通 7260497
什么是DOI,文献DOI怎么找? 3289861
关于科研通互助平台的介绍 2446680
邀请新用户注册赠送积分活动 2294383