LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructions

Minghao Wu, Abdul Waheed, Chiyu Zhang, Muhammad Abdul-Mageed, Alham Fikri Aji
4/27/2023
cs.CL

No official code found. Best implementation: mbzuai-nlp/LaMini-LM (822 stars, last commit 2023-05-06).

Abstract

Large language models (LLMs) with instruction fine-tuning demonstrate superior generative capabilities. However, these models are resource-intensive. To alleviate this issue, we explore distilling knowledge from instruction-tuned LLMs into much smaller ones. To this end, we carefully develop a large set of 2.58M instructions based on both existing and newly-generated instructions. In addition to being sizable, we design our instructions to cover a broad set of topics to ensure diversity. Extensive analysis of our instruction dataset confirms its diversity, and we generate responses for these instructions using gpt-3.5-turbo. Leveraging these instructions, we fine-tune a diverse herd of models, collectively referred to as LaMini-LM, which includes models from both the encoder-decoder and decoder-only families, with varying sizes. We evaluate the performance of our models using automatic metrics on 15 different natural language processing (NLP) benchmarks, as well as through human assessment. The results demonstrate that our proposed LaMini-LM models are comparable to competitive baselines, while being much smaller in size.

View on arXivView PDF

Code Implementations(1)

LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructions

82250Apr 23, 20233 years ago

Similar Papers

Cite this paper

@article{wu2023laminilm,
  title  = {LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructions},
  author = {Minghao Wu and Abdul Waheed and Chiyu Zhang and Muhammad Abdul-Mageed and Alham Fikri Aji},
  year   = {2023},
  eprint = {2304.14402},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.14402v3}
}

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

Discussion