DeepSeek-Coder-V2:打破闭源模型在代码智能领域的壁垒

DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligence

深度求索 DeepSeek-AI · DeepSeek · 2024-06-17 · arXiv:2406.11931 ↗ · 被引 455

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

摘要 · Abstract

我们推出了 DeepSeek-Coder-V2,这是一个开源的混合专家(MoE)代码语言模型,在代码特定任务上实现了与 GPT4-Turbo 相当的性能。具体来说,DeepSeek-Coder-V2 从 DeepSeek-V2 的一个中间检查点开始,额外预训练了 6 万亿个 token。通过这种持续预训练,DeepSeek-Coder-V2 显著增强了 DeepSeek-V2 的编码和数学推理能力,同时保持了一般语言任务的性能。与 DeepSeek-Coder-33B 相比,DeepSeek-Coder-V2 在代码相关任务、推理和通用能力方面都取得了显著进步。此外,DeepSeek-Coder-V2 将支持的编程语言从 86 种扩展到 338 种,并将上下文长度从 16K 扩展到 128K。在标准基准评估中,DeepSeek-Coder-V2 在编码和数学基准测试中取得了优于 GPT4-Turbo、Claude 3 Opus 和 Gemini 1.5 Pro 等闭源模型的性能。

We present DeepSeek-Coder-V2, an open-source Mixture-of-Experts (MoE) code language model that achieves performance comparable to GPT4-Turbo in code-specific tasks. Specifically, DeepSeek-Coder-V2 is further pre-trained from an intermediate checkpoint of DeepSeek-V2 with additional 6 trillion tokens. Through this continued pre-training, DeepSeek-Coder-V2 substantially enhances the coding and mathematical reasoning capabilities of DeepSeek-V2, while maintaining comparable performance in general language tasks. Compared to DeepSeek-Coder-33B, DeepSeek-Coder-V2 demonstrates significant advancements in various aspects of code-related tasks, as well as reasoning and general capabilities. Additionally, DeepSeek-Coder-V2 expands its support for programming languages from 86 to 338, while extending the context length from 16K to 128K. In standard benchmark evaluations, DeepSeek-Coder-V2 achieves superior performance compared to closed-source models such as GPT4-Turbo, Claude 3 Opus, and Gemini 1.5 Pro in coding and math benchmarks.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 18)

阅读逐段中英对照全文 →