Synthetic Data Generation in Low-Resource Settings via Fine-Tuning of Large Language Models

Jean Kaddour, Qi Liu
10/2/2023
cs.CLcs.LG

No official code found. Best implementation: EleutherAI/gpt-neox (7,470 stars, Apache-2.0, last commit 2026-04-13).

Abstract

The in-context learning ability of large language models (LLMs) enables them to generalize to novel downstream tasks with relatively few labeled examples. However, they require enormous computational resources to be deployed. Alternatively, smaller models can solve specific tasks if fine-tuned with enough labeled examples. These examples, however, are expensive to obtain. In pursuit of the best of both worlds, we study synthetic data generation of fine-tuning training data via fine-tuned teacher LLMs to improve the downstream performance of much smaller models. In four text classification and two text generation tasks, we find that both data generation and annotation dramatically improve the respective downstream model's performance, occasionally necessitating only a minor fraction of the original training dataset.

View on arXivView PDF

Code Implementations(1)

EleutherAI/gpt-neoxCommunity100%
Apache-2.0

An implementation of model parallel autoregressive transformers on GPUs, based on the Megatron and DeepSpeed libraries

7,4701,127C, C++Dec 22, 20206 months agoApache-2.0
deepspeed-librarygpt-3language-modeltransformers

Similar Papers

Cite this paper

@article{kaddour2023synthetic,
  title  = {Synthetic Data Generation in Low-Resource Settings via Fine-Tuning of Large Language Models},
  author = {Jean Kaddour and Qi Liu},
  year   = {2023},
  eprint = {2310.01119},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.01119v2}
}

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/2310.01119.svg)](https://codeofpaper.com/paper/2310.01119)

Discussion