通义千问发布 Qwen1.5-32B,为 Qwen1.5 系列补上 30B 级中间档
Qwen1.5-32B: Fitting the Capstone of the Qwen1.5 Language Model Series
- 1千问发布 Qwen1.5-32B 与 Qwen1.5-32B-Chat,瞄准约 30B 参数的性能与资源平衡档
- 2官方评测 MMLU 73.4、MT-Bench 8.30,多数任务优于 Llama2-34B 与 Mixtral-8x7B,略低于自家 72B 版
- 3官方称其显存占用明显低于 72B 版、推理明显更快,32K tokens 长上下文测试表现居前
- 4多语言评测覆盖 12 种语言平均 56.91 分,低于 72B 版的 60.44 分,高于 Mixtral-8x7B 的 50.39 分
Qwen1.5-32B 补上 14B 与 72B 之间的中间档,官方用它同时回应 14B 能力不足和 72B 推理成本高两个痛点。
- 影响:自部署场景多了一个显存与推理成本明显低于 72B 的中间选项;智能体等 14B 能力不足的应用可以用它补位;与 72B 的性能差距要按具体任务权衡。
- 参考:可考虑在现有 72B 或 14B 服务上做一次替换对照,先算出显存、吞吐与单位推理成本的变化;值得用自家真实任务复测后再决定哪些场景迁移到 32B。
- 依据:性能与成本结论均出自千问官方博客,暂无独立评测验证;关键数字包括 MMLU 73.4、MT-Bench 8.30 与 32K tokens 长上下文表现居前。
GITHUB HUGGING FACE MODELSCOPE DEMO DISCORD
Introduction

The open-source community has long sought a model that strikes an ideal balance between performance, efficiency, and memory footprint. Despite the emergence of cutting-edge models like Qwen1.5-72B and DBRX, the models have faced persistent challenges such as large memory consumption, slow inference speed, and substantial finetuning costs.
A growing consensus within the field now points to a model with approximately 30 billion parameters as the optimal “sweet spot” for achieving both strong performance and manageable resource requirements. In response to this trend, we are proud to unveil the latest additions to our Qwen1.5 language model series: Qwen1.5-32B and Qwen1.5-32B-Chat.
Over the past months, we have meticulously developed the Qwen1.5-32B base model, striving to match or even surpass the performance benchmarks set by state-of-the-art 30B models. Simultaneously, we have made advancements in our post-training techniques, particularly in RLHF, to elevate the conversational capabilities of Qwen1.5-32B-Chat.
Model Quality
Qwen1.5-32B is a new member of the Qwen1.5 language model series, and besides model sizes, there is almost nothing different in model architecture except for the inclusion grouped query attention (GQA). Thus it has better potential of more efficient inference performance in model serving.
Here we provide the performance comparison with the SOTA of around 30B parameters or larger model sizes, in terms of the base capability evaluation, chat evaluation, and multilingual evaluation. Below, we report the evaluation of capabilities of base language models:
| Model | MMLU | C-Eval | GSM8K | MATH | HumanEval | MBPP | BBH | CMMLU |
|---|---|---|---|---|---|---|---|---|
| Llama2-34B | 62.6 | - | 42.2 | 6.2 | 22.6 | 33.0 | 44.1 | - |
| Yi-34B | 76.3 | 81.4 | 67.2 | 14.4 | 23.2 | 41.0 | 54.3 | 83.7 |
| Mixtral-8x7B | 70.6 | - | 74.4 | 28.4 | 40.2 | 60.7 | - | - |
| Qwen1.5-72B | 77.5 | 84.1 | 79.5 | 34.1 | 41.5 | 53.4 | 65.5 | 83.5 |
| Qwen1.5-32B | 73.4 | 83.5 | 77.4 | 36.1 | 37.2 | 49.4 | 66.8 | 82.3 |
Our 32B model demonstrates competitive performance across a variety of tasks, including MMLU, GSM8K, HumanEval, and BBH. Compared with the 72B parameter model, Qwen1.5-32B exhibits a slight decrease in performance, yet it still outperforms other 30B models, such as Llama2-34B and Mixtral-8x7B, in most tasks.
In terms of the chat models, we follow the evaluation recipe of Qwen1.5 to test their performance on MT-Bench and Alpaca-Eval 2.0. The results are shown below:
| Models | MT-Bench | AlpacaEval 2.0 |
|---|---|---|
| Avg. Score | LC Win Rate | |
| Qwen1.5-72B-Chat | 8.61 | 36.60 |
| Qwen1.5-32B-Chat | 8.30 | 27.49 |
Significantly, Qwen1.5-32B-Chat achieves a score of over 8 points, and the gap between Qwen1.5-32B-Chat and Qwen1.5-72B-Chat is relatively small. This result indicates that the 32B model is a viable alternative for users who require a more efficient and cost-effective solution for chat applications.
We also test the multilingual capabilities of Qwen1.5-32B on a diverse set of 12 languages, including Arabic, Spanish, French, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, and Indonesian, covering domains including exams, understanding, math, and translation. Results are shown below:
The detailed results are demonstrated below:
| Models | Exams | Understanding | Math | Translation | Average |
|---|---|---|---|---|---|
| Mixtral-8x7B | 56.08 | 70.70 | 45.00 | 29.78 | 50.39 |
| Qwen1.5-72B | 66.35 | 78.16 | 61.67 | 35.57 | 60.44 |
| Qwen1.5-32B | 61.57 | 76.48 | 56.13 | 33.46 | 56.91 |
Similar to other Qwen1.5 models, the 32B one also has decent multiplingual capabilities and it is also slightly behind the 72B model.
Finally we come to take a look at its performance in the long-context evaluation, Needle in a Haystack. We are happy to see that it is able to achieve a top-level performance in the context of 32K tokens.

Develop with Qwen1.5-32B
We advise you to read our blog for Qwen1.5 to figure out the usages with Transformers, vLLM, llama.cpp, Ollama, etc.
Conclusion
We release the medium-size model Qwen1.5-32B as well as its chat counterpart. The models require much less memory footprint and run significantly faster than the 72B model. We hope that this release can help our users to figure out a better solution for their downstream application to tackle the problems of weak capabilities of 14B models (especially in agent playing scenarios) and high inference costs of 72B models.
Citation
@misc{qwen1.5,
title = {Introducing Qwen1.5},
url = {https://qwenlm.github.io/blog/qwen1.5/},
author = {Qwen Team},
month = {February},
year = {2024}
}
来源:通义千问 Qwen:Blog · qwenlm.github.io