arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.14994cs.CL
收藏

RefGPT:由GPT生成、由GPT驱动、为GPT服务的对话生成

RefGPT: Dialogue Generation of GPT, by GPT, and for GPT

Shanghai Jiao Tong University(上海交通大学);Hong Kong Polytechnic University(香港理工大学);Beijing University of Posts and Telecommunications(北京邮电大学)

Dongjie Yang, Ruifeng Yuan, Yuantao Fan, Yifei Yang, Zili Wang, Shusen Wang, Hai Zhao

AI总结:

提出RefGPT方法,通过限制LLMs利用给定参考资料生成对话以解决模型幻觉问题,并支持高度定制化,同时发布了由GPT-4生成的两个高质量多轮对话数据集RefGPT-Fact和RefGPT-Code。

摘要:

大型语言模型(LLMs)通过微调高质量的指令数据,已经具备了解决广泛NLP任务的强大能力。然而,收集高质量的人工撰写数据,尤其是多轮对话,对大多数人来说成本高昂且难以实现。尽管以往的研究利用强大的LLMs自动生成对话,但由于模型幻觉,它们都存在生成不真实对话的问题。因此,我们提出了一种名为RefGPT的方法,用于生成大量真实且定制化的对话,无需担心由模型幻觉引发的事实错误。RefGPT通过限制LLMs利用给定的参考资料,而非背诵自身知识来生成对话,从而解决了对话生成中的模型幻觉问题。此外,RefGPT对每一轮话语添加了详细控制,以实现高度定制化能力,这是以往研究所忽视的。基于RefGPT,我们还提出了两个由GPT-4生成的高质量对话数据集,即RefGPT-Fact和RefGPT-Code。RefGPT-Fact是一个包含10万条基于事实知识的多轮对话数据集,而RefGPT-Code包含7.6万条涵盖广泛编码场景的多轮对话。我们的代码和数据集已在 https://github.com/mutonix/RefGPT 发布。

英文摘要:

Large Language Models (LLMs) have attained the impressive capability to resolve a wide range of NLP tasks by fine-tuning high-quality instruction data. However, collecting human-written data of high quality, especially multi-turn dialogues, is expensive and unattainable for most people. Though previous studies have used powerful LLMs to generate the dialogues automatically, they all suffer from generating untruthful dialogues because of the model hallucination. Therefore, we propose a method called RefGPT to generate enormous truthful and customized dialogues without worrying about factual errors caused by the model hallucination. RefGPT solves the model hallucination in dialogue generation by restricting the LLMs to leverage the given reference instead of reciting their own knowledge to generate dialogues. Additionally, RefGPT adds detailed controls on every utterance to enable high customization capability, which previous studies have ignored. On the basis of RefGPT, we also propose two high-quality dialogue datasets generated by GPT-4, namely RefGPT-Fact and RefGPT-Code. RefGPT-Fact is a dataset with 100k multi-turn dialogues based on factual knowledge and RefGPT-Code has 76k multi-turn dialogues covering a wide range of coding scenarios. Our code and datasets are released in https://github.com/mutonix/RefGPT.

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

↑