跳到正文
原文
通义千问 Qwen:Blog·· 2025-01-28精选AI 评分63

阿里通义千问发布大规模 MoE 模型 Qwen2.5-Max,预训练超 20 万亿 tokens

Qwen2.5-Max: Exploring the Intelligence of Large-scale MoE Model

文章要点
  • 1阿里通义千问发布大规模 MoE 模型 Qwen2.5-Max,预训练数据超过 20 万亿 tokens
  • 2官方称指令模型在 Arena-Hard、LiveBench 等基准超过 DeepSeek V3
  • 3模型已上线 Qwen Chat,API 通过阿里云提供,兼容 OpenAI API
  • 4基座模型对比 DeepSeek V3 与 Llama-3.1-405B,官方称多数基准占优
决策要点

阿里以超大规模 MoE 模型直接对标 DeepSeek V3,旗舰模型竞争焦点转向数据与模型规模的比拼。

  • 影响:旗舰模型对标 DeepSeek V3 等头部模型,且接口兼容 OpenAI API,替换或试用的迁移成本较低;跑分为官方自报口径,选型前用自有场景实测更稳妥。
  • 参考:可考虑先在 Qwen Chat 用真实业务问题试用;值得按官方示例接入兼容 OpenAI 的 API,跑一轮自有场景小样本评测,与现有模型对比后再定选型。
  • 依据:性能对比数据来自阿里官方博客,暂无独立验证;对比对象为 DeepSeek V3、GPT-4o、Claude-3.5-Sonnet、Llama-3.1-405B 等。
正文 · 原文

QWEN CHAT API DEMO DISCORD

It is widely recognized that continuously scaling both data size and model size can lead to significant improvements in model intelligence. However, the research and industry community has limited experience in effectively scaling extremely large models, whether they are dense or Mixture-of-Expert (MoE) models. Many critical details regarding this scaling process were only disclosed with the recent release of DeepSeek V3. Concurrently, we are developing Qwen2.5-Max, a large-scale MoE model that has been pretrained on over 20 trillion tokens and further post-trained with curated Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) methodologies. Today, we are excited to share the performance results of Qwen2.5-Max and announce the availability of its API through Alibaba Cloud. We also invite you to explore Qwen2.5-Max on Qwen Chat!

Performance

We evaluate Qwen2.5-Max alongside leading models, whether proprietary or open-weight, across a range of benchmarks that are of significant interest to the community. These include MMLU-Pro, which tests knowledge through college-level problems, LiveCodeBench, which assesses coding capabilities, LiveBench, which comprehensively tests the general capabilities, and Arena-Hard, which approximates human preferences. Our findings include the performance scores for both base models and instruct models.

We begin by directly comparing the performance of the instruct models, which can serve for downstream applications such as chat and coding. We present the performance results of Qwen2.5-Max alongside leading state-of-the-art models, including DeepSeek V3, GPT-4o, and Claude-3.5-Sonnet.

Qwen2.5-Max outperforms DeepSeek V3 in benchmarks such as Arena-Hard, LiveBench, LiveCodeBench, and GPQA-Diamond, while also demonstrating competitive results in other assessments, including MMLU-Pro.

When comparing base models, we are unable to access the proprietary models such as GPT-4o and Claude-3.5-Sonnet. Therefore, we evaluate Qwen2.5-Max against DeepSeek V3, a leading open-weight MoE model, Llama-3.1-405B, the largest open-weight dense model, and Qwen2.5-72B, which is also among the top open-weight dense models. The results of this comparison are presented below.

Our base models have demonstrated significant advantages across most benchmarks, and we are optimistic that advancements in post-training techniques will elevate the next version of Qwen2.5-Max to new heights.

Use Qwen2.5-Max

Now Qwen2.5-Max is available in Qwen Chat, and you can directly chat with the model, or play with artifacts, search, etc.

The API of Qwen2.5-Max (whose model name is qwen-max-2025-01-25) is available. You can first register an Alibaba Cloud account and activate Alibaba Cloud Model Studio service, and then navigate to the console and create an API key.

Since the APIs of Qwen are OpenAI-API compatible, we can directly follow the common practice of using OpenAI APIs. Below is an example of using Qwen2.5-Max in Python:

from openai import OpenAI
import os

client = OpenAI(
    api_key=os.getenv("API_KEY"),
    base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
)

completion = client.chat.completions.create(
    model="qwen-max-2025-01-25",
    messages=[
      {'role': 'system', 'content': 'You are a helpful assistant.'},
      {'role': 'user', 'content': 'Which number is larger, 9.11 or 9.8?'}
    ]
)

print(completion.choices[0].message)

Future Work

The scaling of data and model size not only showcases advancements in model intelligence but also reflects our unwavering commitment to pioneering research. We are dedicated to enhancing the thinking and reasoning capabilities of large language models through the innovative application of scaled reinforcement learning. This endeavor holds the promise of enabling our models to transcend human intelligence, unlocking the potential to explore uncharted territories of knowledge and understanding.

Citation

Feel free to cite the following article if you find Qwen2.5 helpful.

@article{qwen25,
  title={Qwen2.5 technical report},
  author={Qwen Team},
  journal={arXiv preprint arXiv:2412.15115},
  year={2024}
}

来源:通义千问 Qwen:Blog · qwenlm.github.io