LongForm: Effective Instruction Tuning with Reverse Instructions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Köksal, Abdullatif, Schick, Timo, Korhonen, Anna, Schütze, Hinrich
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910629678284800
author Köksal, Abdullatif
Schick, Timo
Korhonen, Anna
Schütze, Hinrich
author_facet Köksal, Abdullatif
Schick, Timo
Korhonen, Anna
Schütze, Hinrich
contents Instruction tuning enables language models to more effectively generalize and better follow user intent. However, obtaining instruction data is costly and challenging. Prior work employs methods such as expensive human annotation, crowd-sourced datasets with alignment issues, and generating noisy examples via LLMs. We introduce the LongForm-C dataset, which is created by reverse instructions. We generate instructions via LLMs for human-written corpus examples using reverse instructions. First we select a diverse set of human-written documents from corpora such as C4 and Wikipedia; then we generate instructions for these documents via LLMs. This approach provides a cheaper and cleaner instruction-tuning dataset with natural output and one suitable for long text generation. Our models outperform 10x larger language models without instruction tuning on tasks such as story/recipe generation and long-form question answering. Moreover, LongForm models outperform prior instruction-tuned models such as FLAN-T5 and Alpaca by a large margin, and improve language understanding capabilities further. We publicly release our data and models: https://github.com/akoksal/LongForm.
format Preprint
id arxiv_https___arxiv_org_abs_2304_08460
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle LongForm: Effective Instruction Tuning with Reverse Instructions
Köksal, Abdullatif
Schick, Timo
Korhonen, Anna
Schütze, Hinrich
Computation and Language
Artificial Intelligence
Machine Learning
Instruction tuning enables language models to more effectively generalize and better follow user intent. However, obtaining instruction data is costly and challenging. Prior work employs methods such as expensive human annotation, crowd-sourced datasets with alignment issues, and generating noisy examples via LLMs. We introduce the LongForm-C dataset, which is created by reverse instructions. We generate instructions via LLMs for human-written corpus examples using reverse instructions. First we select a diverse set of human-written documents from corpora such as C4 and Wikipedia; then we generate instructions for these documents via LLMs. This approach provides a cheaper and cleaner instruction-tuning dataset with natural output and one suitable for long text generation. Our models outperform 10x larger language models without instruction tuning on tasks such as story/recipe generation and long-form question answering. Moreover, LongForm models outperform prior instruction-tuned models such as FLAN-T5 and Alpaca by a large margin, and improve language understanding capabilities further. We publicly release our data and models: https://github.com/akoksal/LongForm.
title LongForm: Effective Instruction Tuning with Reverse Instructions
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2304.08460