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

使用GPT-4进行指令微调

Instruction Tuning with GPT-4

Microsoft Research(微软研究院)

Baolin Peng, Chunyuan Li, Pengcheng He, Michel Galley, Jianfeng Gao

AI总结:

本文首次尝试使用GPT-4生成指令跟随数据对LLaMA进行微调,实验表明该方法显著提升了模型在新任务上的零样本性能,并公开了数据与代码库。

摘要:

先前的工作表明,使用机器生成的指令跟随数据对大型语言模型(LLMs)进行微调,能使此类模型在新任务上实现卓越的零样本能力,且无需人工编写的指令。在本文中,我们首次尝试使用GPT-4为LLM微调生成指令跟随数据。我们在指令微调LLaMA模型上的早期实验表明,由GPT-4生成的52K英文和中文指令跟随数据,在新任务上的零样本表现优于先前最先进模型生成的指令跟随数据。我们还从GPT-4收集反馈和比较数据,以实现全面的评估和奖励模型训练。我们将使用GPT-4生成的数据以及我们的代码库公开提供。

英文摘要:

Prior work has shown that finetuning large language models (LLMs) using machine-generated instruction-following data enables such models to achieve remarkable zero-shot capabilities on new tasks, and no human-written instructions are needed. In this paper, we present the first attempt to use GPT-4 to generate instruction-following data for LLM finetuning. Our early experiments on instruction-tuned LLaMA models show that the 52K English and Chinese instruction-following data generated by GPT-4 leads to superior zero-shot performance on new tasks to the instruction-following data generated by previous state-of-the-art models. We also collect feedback and comparison data from GPT-4 to enable a comprehensive evaluation and reward model training. We make our data generated using GPT-4 as well as our codebase publicly available.

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

↑