Qwen2.5 技术报告
Qwen2.5 Technical Report
AI总结:
Qwen2.5 通过将预训练数据扩展至 18 万亿 token 并结合大规模监督微调与多阶段强化学习,构建了覆盖多种规模的大语言模型系列,在多项基准上达到顶尖水平,旗舰开放模型性能可比肩约 5 倍大的 Llama-3-405B-Instruct。
摘要:
在本报告中,我们介绍了 Qwen2.5,这是一个旨在满足多样化需求的全面大语言模型(LLMs)系列。与之前的迭代版本相比,Qwen2.5 在预训练和后训练阶段都得到了显著改进。在预训练方面,我们将高质量预训练数据集的规模从之前的 7 万亿 token 扩展到了 18 万亿 token,这为常识、专家知识和推理能力奠定了坚实的基础。在后训练方面,我们实施了超过 100 万个样本的精细监督微调,以及多阶段强化学习。后训练技术增强了人类偏好对齐,并显著改善了长文本生成、结构化数据分析和指令遵循能力。为了有效处理多样化的使用场景,我们提供了丰富尺寸的 Qwen2.5 LLM 系列。开放权重版本包括基础模型和指令微调模型,并提供量化版本。此外,对于托管解决方案,专有模型目前包括两个混合专家(MoE)变体:Qwen2.5-Turbo 和 Qwen2.5-Plus,两者均可从阿里云百炼平台(Alibaba Cloud Model Studio)获取。Qwen2.5 在评估语言理解、推理、数学、编码、人类偏好对齐等方面的广泛基准测试中表现出一流性能。具体而言,开放权重旗舰模型 Qwen2.5-72B-Instruct 超越了许多开放和专有模型,并展现出与最先进的开放权重模型 Llama-3-405B-Instruct 相当的竞争力,而后者规模约为其 5 倍。Qwen2.5-Turbo 和 Qwen2.5-Plus 分别在与 GPT-4o-mini 和 GPT-4o 的竞争中表现出色,同时提供了更优的成本效益。此外,作为基础模型,Qwen2.5 系列在训练 Qwen2.5-Math、Qwen2.5-Coder、QwQ 以及多模态模型等专用模型方面发挥了关键作用。
英文摘要:
In this report, we introduce Qwen2.5, a comprehensive series of large language models (LLMs) designed to meet diverse needs. Compared to previous iterations, Qwen 2.5 has been significantly improved during both the pre-training and post-training stages. In terms of pre-training, we have scaled the high-quality pre-training datasets from the previous 7 trillion tokens to 18 trillion tokens. This provides a strong foundation for common sense, expert knowledge, and reasoning capabilities. In terms of post-training, we implement intricate supervised finetuning with over 1 million samples, as well as multistage reinforcement learning. Post-training techniques enhance human preference, and notably improve long text generation, structural data analysis, and instruction following. To handle diverse and varied use cases effectively, we present Qwen2.5 LLM series in rich sizes. Open-weight offerings include base and instruction-tuned models, with quantized versions available. In addition, for hosted solutions, the proprietary models currently include two mixture-of-experts (MoE) variants: Qwen2.5-Turbo and Qwen2.5-Plus, both available from Alibaba Cloud Model Studio. Qwen2.5 has demonstrated top-tier performance on a wide range of benchmarks evaluating language understanding, reasoning, mathematics, coding, human preference alignment, etc. Specifically, the open-weight flagship Qwen2.5-72B-Instruct outperforms a number of open and proprietary models and demonstrates competitive performance to the state-of-the-art open-weight model, Llama-3-405B-Instruct, which is around 5 times larger. Qwen2.5-Turbo and Qwen2.5-Plus offer superior cost-effectiveness while performing competitively against GPT-4o-mini and GPT-4o respectively. Additionally, as the foundation, Qwen2.5 models have been instrumental in training specialized models such as Qwen2.5-Math, Qwen2.5-Coder, QwQ, and multimodal models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。