DeepSeek-Coder:当大型语言模型遇见编程——代码智能的崛起

DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligence

郭达雅 Daya Guo · DeepSeek · 2024-01-25 · arXiv:2401.14196 ↗ · 被引 1735

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

大型语言模型的快速发展彻底改变了软件开发中的代码智能。然而,闭源模型的主导地位限制了广泛的研究和开发。为了解决这一问题,我们推出了 DeepSeek-Coder 系列,这是一系列开源代码模型,参数规模从 1.3B 到 33B,从头开始在 2 万亿个 token 上训练。这些模型在高质量的项目级代码语料库上进行预训练,并采用具有 16K 窗口的填空任务来增强代码生成和填充。我们的广泛评估表明,DeepSeek-Coder 不仅在多个基准测试中在开源代码模型中取得了最先进的性能,而且还超越了现有的闭源模型,如 Codex 和 GPT-3.5。此外,DeepSeek-Coder 模型采用宽松许可证,允许研究和无限制的商业使用。

The rapid development of large language models has revolutionized code intelligence in software development. However, the predominance of closed-source models has restricted extensive research and development. To address this, we introduce the DeepSeek-Coder series, a range of open-source code models with sizes from 1.3B to 33B, trained from scratch on 2 trillion tokens. These models are pre-trained on a high-quality project-level code corpus and employ a fill-in-the-blank task with a 16K window to enhance code generation and infilling. Our extensive evaluations demonstrate that DeepSeek-Coder not only achieves state-of-the-art performance among open-source code models across multiple benchmarks but also surpasses existing closed-source models like Codex and GPT-3.5. Furthermore, DeepSeek-Coder models are under a permissive license that allows for both research and unrestricted commercial use.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 22)

阅读逐段中英对照全文 →