History of AI
BERT: How Google Improved Language Understanding
BERT, released in 2018, learned language by filling in hidden words and set new records on language tests.
BERT (Bidirectional Encoder Representations from Transformers) is a language model introduced in October 2018 by researchers at Google. It builds on the transformer design, using only the "encoder" half of it.
What BERT does
BERT turns a piece of text into a list of numbers for every token, where each list reflects the context around that token. This is the step beyond Word2vec: there, a word like "bank" got one fixed list. BERT can give "bank" different numbers depending on the sentence.
The training trick: hide some words
BERT learned by playing a fill-in-the-blank game on a huge amount of text, with no human labels. In the training described on Wikipedia, 15% of tokens are picked at random. A picked token is replaced with a [MASK] marker 80% of the time, replaced with a random word 10% of the time, and left unchanged 10% of the time. The model then has to predict the original word.
Because the blank has words on both sides, BERT learns from both directions at once. That is the "bidirectional" in its name. It was also trained to predict whether one sentence follows another, although Wikipedia notes that later work found more varied training goals are generally better.
How big was it?
BERT came in two sizes. BERT BASE has 110 million parameters and BERT LARGE has 340 million. Both were trained on the Toronto BookCorpus (800 million words) and English Wikipedia (2,500 million words). The trained weights were released publicly, and in 2020 smaller versions followed, the smallest with about 4 million parameters.
Using it for a job
After the fill-in-the-blank training, the same model can be adapted to a specific task such as answering questions or judging whether a review is positive. This is a kind of fine-tuning: a small new piece is added on top and trained on the task.
BERT vs GPT
BERT is an encoder-only model, mainly used to understand text, for example for search and classification. GPT-style models are trained to continue text, which suits writing.
Impact
The BERT paper reported new state-of-the-art results on eleven natural language processing tasks at the time, including the GLUE benchmark (80.5%) and the SQuAD v1.1 question answering test (F1 93.2). Wikipedia says that as of 2026 BERT is still a common building block in language research.
Try this
Take a sentence from a book you like and cover one word with your finger. Can you guess it from the words before and after? Now cover the words after it and guess again. That is why seeing both sides helps.