arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.17189cs.LGcs.CL
收藏

使用$\texttt{t5x}$和$\texttt{seqio}$放大模型和数据

Scaling Up Models and Data with $\texttt{t5x}$ and $\texttt{seqio}$

Google(谷歌)
Adam Roberts, Hyung Won Chung, Anselm Levskaya, Gaurav Mishra, James Bradbury, Daniel Andor, Sharan Narang, Brian Lester, Colin Gaffney, Afroz Mohiuddin, Curtis… 展开作者

Adam Roberts, Hyung Won Chung, Anselm Levskaya, Gaurav Mishra, James Bradbury, Daniel Andor, Sharan Narang, Brian Lester, Colin Gaffney, Afroz Mohiuddin, Curtis Hawthorne, Aitor Lewkowycz, Alex Salcianu, Marc van Zee, Jacob Austin, Sebastian Goodman, Livio Baldini Soares, Haitang Hu, Sasha Tsvyashchenko, Aakanksha Chowdhery, Jasmijn Bastings, Jannis Bulian, Xavier Garcia, Jianmo Ni, Andrew Chen, Kathleen Kenealy, Jonathan H. Clark, Stephan Lee, Dan Garrette, James Lee-Thorp, Colin Raffel, Noam Shazeer, Marvin Ritter, Maarten Bosma, Alexandre Passos, Jeremy Maitin-Shepard, Noah Fiedel, Mark Omernick, Brennan Saeta, Ryan Sepassi, Alexander Spiridonov, Joshua Newlan, Andrea Gesmundo

摘要:

最近的基于神经网络的语言模型极大地受益于按比例增加训练数据集的大小和模型本身中的参数数量。由于各种因素,缩放可能是复杂的,包括需要在超级计算机集群上分布计算(例如,TPU),防止数据输入时出现瓶颈,并确保可重现的结果。在这项工作中,我们提出了两个软件库,缓解这些问题:$\texttt{t5x}$简化了大规模的构建和训练大语言模型的过程,同时保持易用性,和$\texttt{seqio}$提供了一个基于任务的API,用于简单地创建快速和可再现的训练数据和评估管道。这些开源库已被用于在具有数TB训练数据的数据集上训练具有数千亿参数的模型。除了这些库,我们还发布了类似T5的编码器-解码器模型以及类似GPT的仅解码器架构的配置和说明。$\texttt{t5x}$和$\texttt{seqio}$是开源的,可分别从https://github.com/google-research/t5x和https://github.com/google/seqio获得。

英文摘要:

Recent neural network-based language models have benefited greatly from scaling up the size of training datasets and the number of parameters in the models themselves. Scaling can be complicated due to various factors including the need to distribute computation on supercomputer clusters (e.g., TPUs), prevent bottlenecks when infeeding data, and ensure reproducible results. In this work, we present two software libraries that ease these issues: $\texttt{t5x}$ simplifies the process of building and training large language models at scale while maintaining ease of use, and $\texttt{seqio}$ provides a task-based API for simple creation of fast and reproducible training data and evaluation pipelines. These open-source libraries have been used to train models with hundreds of billions of parameters on datasets with multiple terabytes of training data. Along with the libraries, we release configurations and instructions for T5-like encoder-decoder models as well as GPT-like decoder-only architectures. $\texttt{t5x}$ and $\texttt{seqio}$ are open source and available at https://github.com/google-research/t5x and https://github.com/google/seqio, respectively.

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

↑