arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.08442cs.CLcs.LG
收藏

面向数据高效语言模型的MiniPile挑战

The MiniPile Challenge for Data-Efficient Language Models

Centre for Artificial Intelligence(人工智能中心);University College London(伦敦大学学院)

Jean Kaddour

AI总结:

本文提出MiniPile挑战,通过三步过滤从The Pile构建仅6GB的多样化语料,实验证明在其上预训练的BERT和T5性能接近大规模数据训练的模型。

摘要:

预训练文本语料库日益增长的多样性赋予了语言模型在各种下游任务上的泛化能力。然而,如此多样化的数据集对于学术预算而言往往过于庞大;因此,大多数关于Transformer架构、训练流程、优化器等方面的研究都是在较小且同质的数据集上进行的。为此,我们提出了MiniPile挑战,即在一个最多包含100万篇文档的多样化文本语料库上预训练语言模型。MiniPile是去重后的825GB The Pile语料库的一个6GB子集。为了构建MiniPile,我们执行了一个简单的三步数据过滤流程:我们(1)为The Pile中的所有文档推断嵌入,(2)使用$k$-means对嵌入空间进行聚类,以及(3)过滤掉低质量聚类。为了验证MiniPile对语言模型预训练的适用性,我们使用它来预训练BERT和T5模型,与在2.6倍/745倍数据量上训练的原始预训练检查点相比,在GLUE和SNI基准上的性能下降仅为$1.9\%$/$2.5\%$。MiniPile可在https://huggingface.co/datasets/JeanKaddour/minipile获取。

英文摘要:

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 $k$-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\%$/$2.5\%$ on the GLUE and SNI benchmarks compared to the original pre-trained checkpoints trained on $2.6$x/$745$x the amount of data. MiniPile is available at https://huggingface.co/datasets/JeanKaddour/minipile.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑