English

The MiniPile Challenge for Data-Efficient Language Models

Computation and Language 2023-04-18 v1 Machine Learning

Abstract

The ever-growing diversity of pre-training text corpora has equipped language models with generalization capabilities across various downstream tasks. However, such diverse datasets are often too large for academic budgets; hence, most research on Transformer architectures, training procedures, optimizers, etc. gets conducted on smaller, homogeneous datasets. To this end, we present The MiniPile Challenge, where one pre-trains a language model on a diverse text corpus containing at most 1M documents. MiniPile is a 6GB subset of the deduplicated 825GB The Pile corpus. To curate MiniPile, we perform a simple, three-step data filtering process: we (1) infer embeddings for all documents of the Pile, (2) cluster the embedding space using kk-means, and (3) filter out low-quality clusters. To verify MiniPile's suitability for language model pre-training, we use it to pre-train a BERT and T5 model, yielding a performance drop of only 1.9%1.9\%/2.5%2.5\% on the GLUE and SNI benchmarks compared to the original pre-trained checkpoints trained on 2.62.6x/745745x the amount of data. MiniPile is available at https://huggingface.co/datasets/JeanKaddour/minipile.

Keywords

Cite

@article{arxiv.2304.08442,
  title  = {The MiniPile Challenge for Data-Efficient Language Models},
  author = {Jean Kaddour},
  journal= {arXiv preprint arXiv:2304.08442},
  year   = {2023}
}
R2 v1 2026-06-28T10:08:41.152Z