# WizardLM

**WizardLM** 是一个开放权重、经指令微调的大语言模型系列，由[微软研究院](https://www.edgepedia.org/zh/microsoft-research)的一个团队开发，训练数据是用一种名为 [Evol-Instruct](https://www.edgepedia.org/zh/evol-instruct) 的方法生成的合成指令数据——在该方法中，一个大语言模型迭代地将种子指令改写为逐步复杂的版本。<sup>[1](https://arxiv.org/abs/2304.12244)</sup> 最初模型于 2023 年 4 月发布，基于 LLaMA 在约 70,000 对演化指令—回复上微调，随后推出了面向代码和数学的专用模型 WizardCoder 与 WizardMath，以及第二代 WizardLM-2——后者在 2024 年的短暂发布与当日下架，使其成为那一时期最受讨论的开放模型事件之一。<sup>[1](https://arxiv.org/abs/2304.12244)</sup><sup> • </sup><sup>[2](https://openreview.net/pdf?id=CfXh93NDgH)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 论文《WizardLM：让大语言模型能够遵循复杂指令》，作者为 Can Xu、Qingfeng Sun、Kai Zheng 等人，arXiv 2023 年 4 月；发表于 ICLR 2024<sup>[1](https://arxiv.org/abs/2304.12244)</sup> |
| 训练数据 | 从 Alpaca 的 52,000 条指令演化出的 70,000 个样本；另有一套从 ShareGPT 抽取的 25 万条指令集用于训练 13B 和 30B 的 V1.0 模型<sup>[3](https://openreview.net/pdf?id=yB9AcakeIV)</sup><sup> • </sup><sup>[4](https://github.com/nlpxucan/WizardLM/blob/main/README.md?plain=1)</sup> |
| 标志性结果 | 在 GPT-4 自动评估中，初代 WizardLM 在 29 项技能中的 17 项上达到 ChatGPT 能力的 90% 以上，人类评估者在测试集的高复杂度部分更偏好其输出而非 ChatGPT<sup>[1](https://arxiv.org/abs/2304.12244)</sup> |
| 最大的 V1 模型 | WizardLM-70B-V1.0（Llama 2 基座，Llama 2 许可证）：MT-Bench 7.78，AlpacaEval 92.91%，GSM8k 77.6%，HumanEval 50.6<sup>[4](https://github.com/nlpxucan/WizardLM/blob/main/README.md?plain=1)</sup> |
| 数据效率 | WizardLM-13B-V1.1 仅用 1,000 个高质量演化样本训练，在 AlpacaEval 上得分 86.32%<sup>[4](https://github.com/nlpxucan/WizardLM/blob/main/README.md?plain=1)</sup> |
| 第二代 | WizardLM-2（7B、70B 和 8x22B 混合专家模型）于 2024 年 4 月 15 日发布，数小时内因漏做毒性测试而被撤下；此后从未正式重新发布<sup>[5](https://www.404media.co/microsoft-deleted-its-llm-because-it-didnt-get-a-safety-test-but-now-its-everywhere/)</sup> |
| 衍生方法 | Code Evol-Instruct（WizardCoder）和 Reinforced Evol-Instruct（WizardMath）将该方法扩展到代码生成与数学推理<sup>[6](https://arxiv.org/abs/2306.08568)</sup><sup> • </sup><sup>[7](https://arxiv.org/abs/2308.09583)</sup> |

## Evol-Instruct

Evol-Instruct 针对的是指令微调中的一个瓶颈：人工编写开放域指令数据耗时费力，且人类难以产出高复杂度的指令。<sup>[1](https://arxiv.org/abs/2304.12244)</sup> 该方法从一组初始种子指令出发，用特定的演化提示词引导一个大语言模型将每条指令逐步改写为更复杂的版本，再混合所有生成数据对基座模型进行微调。<sup>[1](https://arxiv.org/abs/2304.12244)</sup> 与 Alpaca 的 self-instruct 生成不同，Evol-Instruct 可以控制所生成指令的难度与复杂度水平。<sup>[2](https://openreview.net/pdf?id=CfXh93NDgH)</sup>

在消融研究中，ICLR 2024 论文发现 Evol-Instruct 能从更丰富的种子数据和更大的指令集合中获益，不依赖任何特定的基座模型或演化用大语言模型，且能很好地迁移到不同的预训练架构上；作者还额外训练了以 LLaMA-2-70B-Chat 作为演化模型、以及基于 Mistral-7B 和更大 Llama 基座的变体。<sup>[2](https://openreview.net/pdf?id=CfXh93NDgH)</sup> 2024 年，团队推出了 Auto Evol-Instruct，这是一个端到端框架，其中优化器大语言模型分析演化轨迹中的失败并逐步改进演化方法本身，从而免去人工设计工作；优化后的方法在 MT-Bench、[AlpacaEval](https://www.edgepedia.org/zh/alpacaeval)、GSM8K 和 [HumanEval](https://www.edgepedia.org/zh/humaneval) 上均优于人工设计的方法。<sup>[8](https://arxiv.org/abs/2406.00770)</sup>

## 模型发布与结果

首个 WizardLM-7B 于 2023 年 4 月发布，在 70k 演化数据集上训练。<sup>[1](https://arxiv.org/abs/2304.12244)</sup> 后续版本在数据和基座模型两方面都进行了扩展。WizardLM-13B-V1.0 和 WizardLM-30B-V1.0 在从 ShareGPT 对话生成的 250,000 条演化指令上训练，团队报告称在 GPT-4 评估下，30B 模型在 Evol-Instruct 测试集上达到 ChatGPT 性能的 97.8%。<sup>[4](https://github.com/nlpxucan/WizardLM/blob/main/README.md?plain=1)</sup> WizardLM-13B-V1.2 改用 Llama-2 基座并采用新的 Evol+ 方法，在 AlpacaEval 上得分 89.17%，MT-Bench 得分 7.06；2023 年 9 月发布的 WizardLM-70B-V1.0 达到 MT-Bench 7.78 和 AlpacaEval 92.91%。<sup>[4](https://github.com/nlpxucan/WizardLM/blob/main/README.md?plain=1)</sup> 2023 年 10 月，WizardLM-70B 首次亮相 Chatbot Arena，登上开源模型榜首，取代了 Vicuna-33B。<sup>[9](https://www.squaredtech.co/the-forgotten-open-source-models-that-beat-gpt-4-for-300)</sup>

独立评估将这些模型列入 2023 年较强的开放指令微调模型之列，但整体上仍低于 ChatGPT：在 AlpacaEval 排行榜上，WizardLM-13B V1.0 对 Text-Davinci-003 的胜率为 75.31%，落后于 ChatGPT 的 86.09% 和 GPT-4 的 95.28%。<sup>[10](https://aclanthology.org/2024.findings-acl.958.pdf)</sup> 微软一项关于安全行为的评估发现，WizardLM-13B 对毒性陈述的分类准确率高于中性陈述（在 ToxiGen 上为 87.62% 对 38.71%），这种模式存在过滤掉关于遭受攻击的身份群体的良性内容的风险。<sup>[11](https://storage.prod.researchhub.com/uploads/papers/2023/11/22/2311.11045.pdf)</sup>

## Wizard 家族

团队将数据演化的思路适配到专门领域。**WizardCoder** 将 Code Evol-Instruct 应用于代码大语言模型；论文报告称，WizardCoder 在发表时于 HumanEval、HumanEval+、MBPP 和 [DS-1000](https://www.edgepedia.org/zh/ds-1000) 上超越了所有其他开源代码大语言模型，且 34B 版本的 HumanEval 得分与 GPT-3.5 相当，在 HumanEval+ 上则超过后者。<sup>[6](https://arxiv.org/abs/2306.08568)</sup><sup> • </sup><sup>[12](https://proceedings.iclr.cc/paper_files/paper/2024/file/72eba29737f9c3a5a4ce8cdb7b667145-Paper-Conference.pdf)</sup> **WizardMath** 应用了基于 Evol-Instruct 反馈的强化学习（RLEIF），将指令演化与评判指令质量和步骤级正确性的奖励模型相结合；从 Mistral-7B 训练而来的 WizardMath-7B-V1.1 在 GSM8K 上达到 83.2 pass@1，在 MATH 上达到 33.0，据团队称 70B 模型在 GSM8K 上超过了 GPT-3.5-Turbo、Claude 2 和 Gemini Pro。<sup>[7](https://arxiv.org/abs/2308.09583)</sup>

这些数据集被广泛复用。[Hugging Face](https://www.edgepedia.org/zh/hugging-face) 上的 70k 和 196k（V2）演化指令数据集已被数百个衍生模型引用，社区的再训练——如无审查变体——进一步传播了这些数据。<sup>[13](https://huggingface.co/WizardLMTeam)</sup>

## 无审查变体

2023 年 5 月，前微软员工 Eric Hartford 发布了 WizardLM-Uncensored，这是一个在数据集经过滤的子集上重新训练的版本，其中含有对齐或说教内容的回复已被移除，以便用户按需另行添加对齐。<sup>[14](https://www.businesstimes.com.sg/startups-tech/uncensored-chatbots-provoke-fracas-over-free-speech)</sup> 此后到 2023 年年中，他陆续推出了无审查的 7B、13B、30B 以及基于 Falcon 的变体。这些发布引发了媒体关于无审查聊天机器人和言论自由的报道，模型卡中声明用户对模型生成的内容负责。<sup>[14](https://www.businesstimes.com.sg/startups-tech/uncensored-chatbots-provoke-fracas-over-free-speech)</sup>

## WizardLM-2 与下架事件

2024 年 4 月 15 日，团队发布了三种规模的 WizardLM-2：7B（基于 Mistral-7B）、70B（基于 Llama-2），以及基于 Mixtral-8x22B 的 8x22B 混合专家模型。<sup>[15](https://github.com/nlpxucan/WizardLM/issues/254)</sup> 团队声称 8x22B 版本与领先的专有模型相比极具竞争力，并超越了现有的最先进开源模型。<sup>[15](https://github.com/nlpxucan/WizardLM/issues/254)</sup> 数小时之内，微软从 Hugging Face 和 GitHub 上删除了模型文件、代码和博客文章。<sup>[5](https://www.404media.co/microsoft-deleted-its-llm-because-it-didnt-get-a-safety-test-but-now-its-everywhere/)</sup>

给出的原因是漏掉了一个安全步骤。据 [The Information](https://www.edgepedia.org/zh/the-information) 描述，该团队由微软亚洲研究院驻中国的研究人员组成，他们在社交媒体上表示“意外漏掉”了微软发布流程中要求的毒性测试——该流程包括在模型发布前须经公司部署安全委员会批准。<sup>[16](https://www.theinformation.com/briefings/microsoft-takes-down-wizardlm-ai-model-china-safety-toxicity-checks)</sup> 团队称将尽快完成测试并重新发布模型。<sup>[5](https://www.404media.co/microsoft-deleted-its-llm-because-it-didnt-get-a-safety-test-but-now-its-everywhere/)</sup> 重新发布从未发生：在下架前的数小时内，用户已下载权重并重新上传至 GitHub 和 Hugging Face，副本扩散到微软控制之外，WizardLM-2 此后再未正式发布；计划中的 70B 变体则完全未曾发布。<sup>[5](https://www.404media.co/microsoft-deleted-its-llm-because-it-didnt-get-a-safety-test-but-now-its-everywhere/)</sup><sup> • </sup><sup>[15](https://github.com/nlpxucan/WizardLM/issues/254)</sup>

## 遗产与数据污染

Evol-Instruct 比模型本身更长久。该方法被认为帮助确立了合成指令数据作为主流后训练技术的地位，其影响在后来的微软模型系列中可见。<sup>[9](https://www.squaredtech.co/the-forgotten-open-source-models-that-beat-gpt-4-for-300)</sup> 这些数据集也揭示了一个已知的评估隐患：[Infinity-Instruct](https://www.edgepedia.org/zh/infinity-instruct) 项目的一项审计发现，代码演化数据集 Evol-Instruct-Code 含有改写样本，与 HumanEval 测试题的 7.9% 重叠，而通用的 WizardLM-Evol-Instruct 数据集与 MMLU 的 0.5% 重叠，这意味着在此类数据上训练的模型的基准分数可能因污染而部分虚高。<sup>[17](https://huggingface.co/datasets/BAAI/Infinity-Instruct/discussions/20)</sup> 团队及其他课题组后来的工作继续在演化式数据生成的基础上推进，包括 2024 年的 Auto Evol-Instruct 框架。<sup>[8](https://arxiv.org/abs/2406.00770)</sup>

## References

1. [Can Xu et al. (2023). WizardLM: Empowering Large Language Models to Follow Complex Instructions. arXiv:2304.12244; ICLR 2024.](https://arxiv.org/abs/2304.12244)
2. [WizardLM ICLR 2024 paper (OpenReview).](https://openreview.net/pdf?id=CfXh93NDgH)
3. [WizardLM test set description (OpenReview).](https://openreview.net/pdf?id=yB9AcakeIV)
4. [WizardLM GitHub README, model table and release notes.](https://github.com/nlpxucan/WizardLM/blob/main/README.md?plain=1)
5. [Emanuel Maiberg (2024). Microsoft Deleted Its LLM Because It Didn't Get a Safety Test, But Now It's Everywhere. 404 Media.](https://www.404media.co/microsoft-deleted-its-llm-because-it-didnt-get-a-safety-test-but-now-its-everywhere/)
6. [Ziyang Luo et al. (2023). WizardCoder: Empowering Code Large Language Models with Evol-Instruct. arXiv:2306.08568.](https://arxiv.org/abs/2306.08568)
7. [Haipeng Luo et al. (2023). WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct. arXiv:2308.09583.](https://arxiv.org/abs/2308.09583)
8. [Automatic Instruction Evolving for Large Language Models (Auto Evol-Instruct). arXiv:2406.00770.](https://arxiv.org/abs/2406.00770)
9. [Open Source Models That Topped Chatbot Arena First. Squared Technologies.](https://www.squaredtech.co/the-forgotten-open-source-models-that-beat-gpt-4-for-300)
10. [AlpacaEval leaderboard comparison table, Findings of ACL 2024.](https://aclanthology.org/2024.findings-acl.958.pdf)
11. [Orca 2 technical report, safety evaluation of WizardLM models.](https://storage.prod.researchhub.com/uploads/papers/2023/11/22/2311.11045.pdf)
12. [WizardCoder, ICLR 2024 proceedings.](https://proceedings.iclr.cc/paper_files/paper/2024/file/72eba29737f9c3a5a4ce8cdb7b667145-Paper-Conference.pdf)
13. [WizardLM Team organization page, Hugging Face.](https://huggingface.co/WizardLMTeam)
14. [Uncensored chatbots provoke a fracas over free speech. The Business Times / The New York Times, July 2023.](https://www.businesstimes.com.sg/startups-tech/uncensored-chatbots-provoke-fracas-over-free-speech)
15. [Mirrors of deleted WizardLM models, GitHub issue #254, nlpxucan/WizardLM.](https://github.com/nlpxucan/WizardLM/issues/254)
16. [Aaron Holmes (2024). Microsoft Takes Down AI Model Published by Beijing-Based Researchers Without Adequate Safety Checks. The Information.](https://www.theinformation.com/briefings/microsoft-takes-down-wizardlm-ai-model-china-safety-toxicity-checks)
17. [BAAI/Infinity-Instruct decontamination discussion, Hugging Face.](https://huggingface.co/datasets/BAAI/Infinity-Instruct/discussions/20)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Model families and named models › Large language model families › Open-weight model families

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/wizardlm

English original: https://www.edgepedia.org/wizardlm
