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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xu, Can, Sun, Qingfeng, Zheng, Kai, Geng, Xiubo, Zhao, Pu, Feng, Jiazhan, Tao, Chongyang, Lin, Qingwei, Jiang, Daxin
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909624185126912
author Xu, Can
Sun, Qingfeng
Zheng, Kai
Geng, Xiubo
Zhao, Pu
Feng, Jiazhan
Tao, Chongyang
Lin, Qingwei
Jiang, Daxin
author_facet Xu, Can
Sun, Qingfeng
Zheng, Kai
Geng, Xiubo
Zhao, Pu
Feng, Jiazhan
Tao, Chongyang
Lin, Qingwei
Jiang, Daxin
contents 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
format Preprint
id arxiv_https___arxiv_org_abs_2304_12244
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle WizardLM: Empowering large pre-trained language models to follow complex instructions
Xu, Can
Sun, Qingfeng
Zheng, Kai
Geng, Xiubo
Zhao, Pu
Feng, Jiazhan
Tao, Chongyang
Lin, Qingwei
Jiang, Daxin
Computation and Language
Artificial Intelligence
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
title WizardLM: Empowering large pre-trained language models to follow complex instructions
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2304.12244