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.
Scaling Up Models and Data with $\texttt{t5x}$ and $\texttt{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.
- Year
- 2022
- Venue
- arXiv 2022
- Authors
- 43
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2203.17189ARXIV-DEFAULT
- TL;DR
- Semantic Scholar
Abstract
Authors
43Aakanksha ChowdheryBrennan SaetaHyung Won ChungJacob AustinJames BradburyMaarten BosmaNoam ShazeerAlexandre PassosAdam RobertsColin RaffelJasmijn BastingsSharan NarangNoah FiedelMarc van ZeeCurtis HawthorneAnselm LevskayaGaurav MishraDaniel AndorBrian LesterColin GaffneyAfroz MohiuddinAitor LewkowyczAlex SalcianuSebastian GoodmanLivio Baldini SoaresHaitang HuSasha TsvyashchenkoJannis BulianXavier GarciaJianmo NiAndrew ChenKathleen KenealyJonathan H. ClarkStephan LeeDan GarretteJames Lee-ThorpMarvin RitterJeremy Maitin-ShepardMark OmernickRyan SepassiAlexander SpiridonovJoshua NewlanAndrea Gesmundo