当前位置:首页 >英文主页 >中英对照 > 报告详情

DeepSeek:2024年DeepSeek-V2模型技术报告:经济、高效的混合专家语言模型(英文版)(52页).pdf

上传人: 白**** 编号:599691 2024-12-31 52页 1.51MB

下载:

1、DeepSeek-V2:A Strong,Economical,and EfficientMixture-of-Experts Language ModelDeepSeek-AIAbstractWe present DeepSeek-V2,a strong Mixture-of-Experts(MoE)language model characterized byeconomical training and efficient inference.It comprises 236B total parameters,of which 21Bare activated for each tok

2、en,and supports a context length of 128K tokens.DeepSeek-V2 adoptsinnovative architectures including Multi-head Latent Attention(MLA)and DeepSeekMoE.MLA guarantees efficient inference through significantly compressing the Key-Value(KV)cacheinto a latent vector,while DeepSeekMoE enables training stro

3、ng models at an economicalcost through sparse computation.Compared with DeepSeek 67B,DeepSeek-V2 achievessignificantly stronger performance,and meanwhile saves 42.5%of training costs,reduces theKV cache by 93.3%,and boosts the maximum generation throughput to 5.76 times.We pretrainDeepSeek-V2 on a h

4、igh-quality and multi-source corpus consisting of 8.1T tokens,and furtherperform Supervised Fine-Tuning(SFT)and Reinforcement Learning(RL)to fully unlock itspotential.Evaluation results show that,even with only 21B activated parameters,DeepSeek-V2and its chat versions still achieve top-tier performa

5、nce among open-source models.The modelcheckpoints are available athttps:/ Parameters(Billions)556065707580Performance(MMLU)DeepSeek-V2DeepSeek 67BLLaMA 1 33BLLaMA 1 65BLLaMA 2 13BLLaMA 2 34BLLaMA 2 70BLLaMA 3 8BLLaMA 3 70BMistral 7BMixtral 8x7BMixtral 8x22BCommand RCommand R+Grok-1DBRXQwen1.5 32BQwe

6、n1.5 72BLLaMA 1 FamilyLLaMA 2 FamilyLLaMA 3 FamilyMixtral FamilyCommand R FamilyQwen1.5 Family(a)050100150200250300DeepSeek-V2DeepSeek 67Bsaving 42.5%oftraining costsTraining Costs(K GPU Hours/T Tokens)0100200300400DeepSeek-V2DeepSeek 67Breducing KV cache by 93.3%KV Cache for Generation(KB/Token)010

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文介绍了DeepSeek-V2,一种具有经济高效训练和高效推理的混合专家(MoE)语言模型。主要内容包括: 1. 模型架构:采用多头潜在注意力(MLA)和DeepSeekMoE,前者通过低秩键值联合压缩显著减少推理时的键值缓存,后者通过细粒度的专家分割和共享专家隔离提高模型性能。 2. 预训练:在8.1T标记的高质量双语语料上进行,支持最大128K的上下文长度。 3. 评估:在多个英语和中文基准测试中,DeepSeek-V2在21B参数下达到顶级性能,相比DeepSeek 67B节省42.5%训练成本,KV缓存减少93.3%,生成吞吐量提高5.76倍。 4. 对齐:进行监督式微调和强化学习,使模型更好地符合人类偏好,在开放域对话中展现出色性能。 5. 结论:DeepSeek-V2是一个强大、经济、高效的MoE语言模型,在多个任务和语言中展现出顶级性能。
DeepSeek-V2如何提高推理效率? 为什么DeepSeek-V2在中文能力上表现出色? DeepSeek-V2的RL训练如何平衡标准基准和开放式生成的性能?
客服
商务合作
小程序
服务号
折叠