DeepSeek LLM: Scaling Open-Source Language Models with Longtermism

LLM PTSAD SFT DPO
开源大型语言模型(LLM)的快速发展真是令人瞩目。然而,先前文献中描述的缩放定律得出了不同的结论,这给缩放LLM带来了不确定性。我们深入研究了缩放定律,并提出了我们独特的发现,有助于在两种常用的开源配置(7B和67B)中扩展大规模模型。在缩放定律的指导下,我们推出了DeepSeek LLM项目,该项目致力于长期推进开源语言模型的发展。为了支持预训练阶段,我们开发了一个数据集,目前包含2万亿个标记,并不断扩展。我们进一步对DeepSeek LLM基础模型进行了有监督的微调(SFT)和直接偏好优化(DPO),从而创建了DeepSeek Chat模型。我们的评估结果表明,DeepSeek LLM 67B在各种基准测试中均超过了LLaMA-2 70B,特别是在代码、数学和推理领域。此外,开放式评估表明,DeepSeek LLM 67B Chat相对于GPT-3.5表现更优。
The rapid development of open-source large language models (LLMs) has been truly remarkable. However, the scaling law described in previous literature presents varying conclusions, which casts a dark cloud over scaling LLMs. We delve into the study of scaling laws and present our distinctive findings that facilitate scaling of large scale models in two commonly used open-source configurations, 7B and 67B. Guided by the scaling laws, we introduce DeepSeek LLM, a project dedicated to advancing open-source language models with a long-term perspective. To support the pre-training phase, we have developed a dataset that currently consists of 2 trillion tokens and is continuously expanding. We further conduct supervised fine-tuning (SFT) and Direct Preference Optimization (DPO) on DeepSeek LLM Base models, resulting in the creation of DeepSeek Chat models. Our evaluation results demonstrate that DeepSeek LLM 67B surpasses LLaMA-2 70B on various benchmarks, particularly in the domains of code, mathematics, and reasoning. Furthermore, open-ended evaluations reveal that DeepSeek LLM 67B Chat exhibits superior performance compared to GPT-3.5.
许愿