Qwen2 技术报告

Qwen2 Technical Report

林俊旸 Junyang Lin · Alibaba Qwen · 2024-07-15 · arXiv:2407.10671 ↗ · 被引 2277

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

摘要 · Abstract

本报告介绍了 Qwen2 系列,这是我们大语言模型和多模态模型的最新成员。我们发布了一套全面的基础模型和指令微调语言模型,参数范围从 0.5 亿到 720 亿,包括密集模型和混合专家模型。Qwen2 超越了大多数之前的开源模型,包括其前身 Qwen1.5,并在语言理解、生成、多语言能力、编程、数学和推理等多个基准测试中展现出与专有模型相竞争的性能。旗舰模型 Qwen2-72B 作为基础语言模型,在 MMLU 上达到 84.2,GPQA 上 37.9,HumanEval 上 64.6,GSM8K 上 89.5,BBH 上 82.4。指令微调版本 Qwen2-72B-Instruct 在 MT-Bench 上达到 9.1,Arena-Hard 上 48.1,LiveCodeBench 上 35.7。此外,Qwen2 展示了强大的多语言能力,精通约 30 种语言,包括英语、中文、西班牙语、法语、德语、阿拉伯语、俄语、韩语、日语、泰语、越南语等,凸显了其多功能性和全球影响力。为了促进社区创新和可访问性,我们已在 Hugging Face 和 ModelScope 上公开了 Qwen2 模型权重,并在 GitHub 上提供了包括示例代码在内的补充材料。这些平台还包含量化、微调和部署的资源,促进了广泛的应用和研究工作。

This report introduces the Qwen2 series, the latest addition to our large language models and large multimodal models. We release a comprehensive suite of foundational and instruction-tuned language models, encompassing a parameter range from 0.5 to 72 billion, featuring dense models and a Mixture-of-Experts model. Qwen2 surpasses most prior open-weight models, including its predecessor Qwen1.5, and exhibits competitive performance relative to proprietary models across diverse benchmarks on language understanding, generation, multilingual proficiency, coding, mathematics, and reasoning. The flagship model, Qwen2-72B, showcases remarkable performance: 84.2 on MMLU, 37.9 on GPQA, 64.6 on HumanEval, 89.5 on GSM8K, and 82.4 on BBH as a base language model. The instruction-tuned variant, Qwen2-72B-Instruct, attains 9.1 on MT-Bench, 48.1 on Arena-Hard, and 35.7 on LiveCodeBench. Moreover, Qwen2 demonstrates robust multilingual capabilities, proficient in approximately 30 languages, spanning English, Chinese, Spanish, French, German, Arabic, Russian, Korean, Japanese, Thai, Vietnamese, and more, underscoring its versatility and global reach. To foster community innovation and accessibility, we have made the Qwen2 model weights openly available on Hugging Face and ModelScope, and the supplementary materials including example code on GitHub. These platforms also include resources for quantization, fine-tuning, and deployment, facilitating a wide range of applications and research endeavors.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 16)

阅读逐段中英对照全文 →