Raw Text is All you Need: Knowledge-intensive Multi-turn Instruction Tuning for Large Language Model

Xia Hou, Qifeng Li, Jian Yang, Tongliang Li, Linzheng Chai +6 more
7/3/2024
cs.CLcs.AI

No confident code implementation found for this paper. 6 possible matches can be shown below.

Abstract

Instruction tuning as an effective technique aligns the outputs of large language models (LLMs) with human preference. But how to generate the seasonal multi-turn dialogues from raw documents for instruction tuning still requires further exploration. In this paper, we present a novel framework named R2S that leverages the CoD-Chain of Dialogue logic to guide large language models (LLMs) in generating knowledge-intensive multi-turn dialogues for instruction tuning. By integrating raw documents from both open-source datasets and domain-specific web-crawled documents into a benchmark K-BENCH, we cover diverse areas such as Wikipedia (English), Science (Chinese), and Artifacts (Chinese). Our approach first decides the logic flow of the current dialogue and then prompts LLMs to produce key phrases for sourcing relevant response content. This methodology enables the creation of the G I NSTRUCT instruction dataset, retaining raw document knowledge within dialoguestyle interactions. Utilizing this dataset, we fine-tune GLLM, a model designed to transform raw documents into structured multi-turn dialogues, thereby injecting comprehensive domain knowledge into the SFT model for enhanced instruction tuning. This work signifies a stride towards refining the adaptability and effectiveness of LLMs in processing and generating more accurate, contextually nuanced responses across various fields.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 6 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hou2024text,
  title  = {Raw Text is All you Need: Knowledge-intensive Multi-turn Instruction Tuning for Large Language Model},
  author = {Xia Hou and Qifeng Li and Jian Yang and Tongliang Li and Linzheng Chai and Xianjie Wu and Hangyuan Ji and Zhoujun Li and Jixuan Nie and Jingbo Dun and Wenfeng Song},
  year   = {2024},
  eprint = {2407.03040},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.03040v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.03040.svg)](https://codeofpaper.com/paper/2407.03040)

Discussion