The Scale of BERT: Parameters, Datasets, and Compute Costs
BERT was released in two sizes: BERT-Base (110M parameters) and BERT-Large (340M parameters), trained on vast datasets like BooksCorpus (800M words) and English Wikipedia (2.5B words), with pre-training for BERT-Large requiring around 4 days on 4 to 16 Cloud TPUs.
The top 3
- BERT's Parameter Milestones: Base vs. Large: BERT was released in two primary configurations: BERT-Base with 110 million parameters and BERT-Large with 340 million parameters. The larger model, BERT-Large, featured approximately 3.09 times more parameters, establishing a new benchmark for language understanding models at its release. [1, 6, 7, 14]
- BERT's Massive Pre-training Datasets Revealed: BERT was pre-trained on an enormous text corpus totaling approximately 3.3 billion words, combining the English Wikipedia (2.5 billion words) and BookCorpus (800 million words). BookCorpus itself comprised about 7,000 to 11,038 self-published books, providing a diverse range of text for the model to learn from. [1, 6, 14, 21, 23]
- BERT's Groundbreaking Training Cost & Compute: Training BERT-Large involved significant computational resources, specifically 16 Cloud TPUs (v2) running for 4 days, with an estimated cost of US$6,912. For researchers with tighter budgets, a smaller BERT-Base model could be pre-trained on a single preemptible Cloud TPU v2 for about US$500 over two weeks. [2, 8, 11]
Sources
Open the full topic