Seed-Free Synthetic Data Generation Framework for Instruction-Tuning LLMs: A Case Study in Thai

Parinthapat Pengpun, Can Udomcharoenchaikit, Weerayut Buaphet, Peerat Limkonchotiwat
11/23/2024
cs.CL

Official code: parinzee/seed-free-synthetic-instruct (22 stars, last commit 2025-05-09).

Abstract

We present a synthetic data approach for instruction-tuning large language models (LLMs) for low-resource languages in a data-efficient manner, specifically focusing on Thai. We identify three key properties that contribute to the effectiveness of instruction-tuning datasets: fluency, diversity, and cultural context. We propose a seed-data-free framework for generating synthetic instruction-tuning data that incorporates these essential properties. Our framework employs an LLM to generate diverse topics, retrieve relevant contexts from Wikipedia, and create instructions for various tasks, such as question answering, summarization, and conversation. The experimental results show that our best-performing synthetic dataset, which incorporates all three key properties, achieves competitive performance using only 5,000 instructions when compared to state-of-the-art Thai LLMs trained on hundreds of thousands of instructions. Our code and dataset are publicly available at https://github.com/parinzee/seed-free-synthetic-instruct.

View on arXivView PDF

Code Implementations(1)

Official Code for "Seed-Free Synthetic Data Generation Framework for Instruction-Tuning LLMs: A Case Study in Thai"

225TeX, PythonJun 10, 20241 years ago

Similar Papers

Cite this paper

@article{pengpun2024seedfree,
  title  = {Seed-Free Synthetic Data Generation Framework for Instruction-Tuning LLMs: A Case Study in Thai},
  author = {Parinthapat Pengpun and Can Udomcharoenchaikit and Weerayut Buaphet and Peerat Limkonchotiwat},
  year   = {2024},
  eprint = {2411.15484},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.15484v1}
}

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

Discussion