arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.12244cs.CLcs.AI
收藏

WizardLM:赋能大型预训练语言模型遵循复杂指令

WizardLM: Empowering large pre-trained language models to follow complex instructions

Microsoft(微软);Peking University(北京大学)

Can Xu, Qingfeng Sun, Kai Zheng, Xiubo Geng, Pu Zhao, Jiazhan Feng, Chongyang Tao, Qingwei Lin, Daxin Jiang

AI总结:

本文提出Evol-Instruct方法,利用LLM自动生成复杂指令数据,微调LLaMA得到WizardLM,在多项评估中优于人类创建指令,接近ChatGPT性能。

摘要:

使用开放域指令跟随数据训练大型语言模型(LLM)取得了巨大成功。然而,手动创建此类指令数据非常耗时且劳动密集。此外,人类可能难以生成高复杂度的指令。在本文中,我们展示了一种利用LLM而非人类来创建大量不同复杂度级别的指令数据的途径。从一组初始指令开始,我们使用所提出的Evol-Instruct方法逐步将其重写为更复杂的指令。然后,我们混合所有生成的指令数据来微调LLaMA。我们将得到的模型称为WizardLM。在复杂度平衡的测试平台和Vicuna的测试集上进行的人工评估表明,来自Evol-Instruct的指令优于人类创建的指令。通过分析高复杂度部分的人工评估结果,我们证明WizardLM的输出优于OpenAI ChatGPT的输出。在GPT-4自动评估中,WizardLM在29项技能中的17项上达到了ChatGPT能力的90%以上。尽管WizardLM在某些方面仍落后于ChatGPT,但我们的研究结果表明,使用AI进化的指令进行微调是增强LLM的一个有前景的方向。我们的代码和数据公开于https://github.com/nlpxucan/WizardLM。

英文摘要:

Training large language models (LLMs) with open-domain instruction following data brings colossal success. However, manually creating such instruction data is very time-consuming and labor-intensive. Moreover, humans may struggle to produce high-complexity instructions. In this paper, we show an avenue for creating large amounts of instruction data with varying levels of complexity using LLM instead of humans. Starting with an initial set of instructions, we use our proposed Evol-Instruct to rewrite them step by step into more complex instructions. Then, we mix all generated instruction data to fine-tune LLaMA. We call the resulting model WizardLM. Human evaluations on a complexity-balanced test bed and Vicuna's testset show that instructions from Evol-Instruct are superior to human-created ones. By analyzing the human evaluation results of the high complexity part, we demonstrate that outputs from our WizardLM are preferred to outputs from OpenAI ChatGPT. In GPT-4 automatic evaluation, WizardLM achieves more than 90\% capacity of ChatGPT on 17 out of 29 skills. Even though WizardLM still lags behind ChatGPT in some aspects, our findings suggest that fine-tuning with AI-evolved instructions is a promising direction for enhancing LLMs. Our code and data are public at https://github.com/nlpxucan/WizardLM

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑