GenQA:从少量提示生成数百万条指令
GenQA: Generating Millions of Instructions from a Handful of Prompts
AI总结:
本文提出 GenQA,用单个提示和极少人工监督自动生成大规模多样化指令数据集,并证明其微调 Llama-3 8B 的效果可达到或超过 WizardLM 与 Ultrachat。
摘要:
与用于训练工业界模型的闭源数据集相比,大多数公开的指令微调数据集规模相对较小。为了研究大规模微调相关问题,例如课程安排和学习率冷却调度,需要工业规模的数据集。然而,这种规模要求数据生成过程几乎完全自动化。在本工作中,我们研究了从单个提示生成大型指令数据集的方法。在极少人工监督下,我们让 LLM 编写多样化的指令示例集合,涵盖从简单的补全任务到跨多个学科领域的复杂多轮对话。在对 Llama-3 8B 基础模型进行微调时,我们的数据集在知识密集型排行榜任务以及对话评估上均达到或超过 WizardLM 和 Ultrachat。我们发布了数据集、生成该数据集的“生成器”提示,以及微调后的模型检查点。
英文摘要:
Most public instruction finetuning datasets are relatively small compared to the closed source datasets used to train industry models. To study questions about finetuning at scale, such as curricula and learning rate cooldown schedules, there is a need for industrial-scale datasets. However, this scale necessitates a data generation process that is almost entirely automated. In this work, we study methods for generating large instruction datasets from a single prompt. With little human oversight, we get LLMs to write diverse sets of instruction examples ranging from simple completion tasks to complex multi-turn dialogs across a variety of subject areas. When finetuning a Llama-3 8B base model, our dataset meets or exceeds both WizardLM and Ultrachat on both knowledge-intensive leaderboard tasks as well as conversational evaluations. We release our dataset, the "generator" prompts that created it, and our finetuned model checkpoints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。