English

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

Machine Learning 2022-04-01 v1 Computation and Language

Abstract

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: t5x\texttt{t5x} simplifies the process of building and training large language models at scale while maintaining ease of use, and seqio\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. t5x\texttt{t5x} and seqio\texttt{seqio} are open source and available at https://github.com/google-research/t5x and https://github.com/google/seqio, respectively.

Keywords

Cite

@article{arxiv.2203.17189,
  title  = {Scaling Up Models and Data with $\texttt{t5x}$ and $\texttt{seqio}$},
  author = {Adam Roberts and Hyung Won Chung and Anselm Levskaya and Gaurav Mishra and James Bradbury and Daniel Andor and Sharan Narang and Brian Lester and Colin Gaffney and Afroz Mohiuddin and Curtis Hawthorne and Aitor Lewkowycz and Alex Salcianu and Marc van Zee and Jacob Austin and Sebastian Goodman and Livio Baldini Soares and Haitang Hu and Sasha Tsvyashchenko and Aakanksha Chowdhery and Jasmijn Bastings and Jannis Bulian and Xavier Garcia and Jianmo Ni and Andrew Chen and Kathleen Kenealy and Jonathan H. Clark and Stephan Lee and Dan Garrette and James Lee-Thorp and Colin Raffel and Noam Shazeer and Marvin Ritter and Maarten Bosma and Alexandre Passos and Jeremy Maitin-Shepard and Noah Fiedel and Mark Omernick and Brennan Saeta and Ryan Sepassi and Alexander Spiridonov and Joshua Newlan and Andrea Gesmundo},
  journal= {arXiv preprint arXiv:2203.17189},
  year   = {2022}
}
R2 v1 2026-06-24T10:33:39.359Z