Hunyuan-Large:腾讯开源 MoE 模型,520 亿激活参数

Hunyuan-Large: An Open-Source MoE Model with 52 Billion Activated Parameters by Tencent

孙兴武 Xingwu Sun · Tencent · 2024-11-04 · arXiv:2411.02265 ↗ · 被引 99

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

摘要 · Abstract

本文介绍了 Hunyuan-Large,这是目前最大的开源基于 Transformer 的混合专家模型,总参数量达 3890 亿,激活参数 520 亿,可处理高达 256K 个 token。我们在语言理解与生成、逻辑推理、数学问题求解、编程、长上下文及聚合任务等多个基准上对 Hunyuan-Large 进行了全面评估,其性能优于 LLama3.1-70B,并与规模更大的 LLama3.1-405B 模型表现相当。Hunyuan-Large 的关键实践包括:比以往文献大数个数量级的大规模合成数据、混合专家路由策略、键值缓存压缩技术以及专家特定的学习率策略。此外,我们还研究了混合专家模型的缩放规律和学习率调度,为未来模型开发和优化提供了宝贵的见解和指导。我们已开源 Hunyuan-Large 的代码和检查点,以促进未来的创新和应用。代码:https://github.com/Tencent/Hunyuan-Large 模型:https://huggingface.co/tencent/Tencent-Hunyuan-Large

In this paper, we introduce Hunyuan-Large, which is currently the largest open-source Transformer-based mixture of experts model, with a total of 389 billion parameters and 52 billion activation parameters, capable of handling up to 256K tokens. We conduct a thorough evaluation of Hunyuan-Large's superior performance across various benchmarks including language understanding and generation, logical reasoning, mathematical problem-solving, coding, long-context, and aggregated tasks, where it outperforms LLama3.1-70B and exhibits comparable performance when compared to the significantly larger LLama3.1-405B model. Key practice of Hunyuan-Large include large-scale synthetic data that is orders larger than in previous literature, a mixed expert routing strategy, a key-value cache compression technique, and an expert-specific learning rate strategy. Additionally, we also investigate the scaling laws and learning rate schedule of mixture of experts models, providing valuable insights and guidances for future model development and optimization. The code and checkpoints of Hunyuan-Large are released to facilitate future innovations and applications. Codes: https://github.com/Tencent/Hunyuan-Large Models: https://huggingface.co/tencent/Tencent-Hunyuan-Large

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 15)

阅读逐段中英对照全文 →