How to Train BERT with an Academic Budget

Peter Izsak, Moshe Berchansky, Omer Levy
4/15/2021
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

While large language models a la BERT are used ubiquitously in NLP, pretraining them is considered a luxury that only a few well-funded industry labs can afford. How can one train such models with a more modest budget?

Show full abstract

We present a recipe for pretraining a masked language model in 24 hours using a single low-end deep learning server. We demonstrate that through a combination of software optimizations, design choices, and hyperparameter tuning, it is possible to produce models that are competitive with BERT-base on GLUE tasks at a fraction of the original pretraining cost.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{izsak2021train,
  title  = {How to Train BERT with an Academic Budget},
  author = {Peter Izsak and Moshe Berchansky and Omer Levy},
  year   = {2021},
  eprint = {2104.07705},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07705}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.07705.svg)](https://codeofpaper.com/paper/2104.07705)

Discussion