BERT

Also known as: Bidirectional Encoder Representations from Transformers

Category: NLP / Language Processing

A bidirectional transformer model pre-trained on masked language modeling and next sentence prediction, designed to produce rich contextual representations for downstream NLP tasks.

Full Explanation

BERT (Bidirectional Encoder Representations from Transformers), introduced by Google in 2018, revolutionized NLP by demonstrating the power of bidirectional pre-training. Unlike previous language models that read text left-to-right, BERT processes text in both directions simultaneously using masked language modeling, where random tokens are masked and the model predicts them from surrounding context. BERT also uses next sentence prediction to learn relationships between sentence pairs. The pre-trained model can be fine-tuned on specific tasks with relatively small amounts of labeled data, achieving state-of-the-art results across a wide range of NLP benchmarks. BERT uses the transformer encoder architecture and comes in Base (110M parameters) and Large (340M parameters) variants. It spawned a family of improved models including RoBERTa, ALBERT, and DeBERTa.

Related Terms

More in NLP / Language Processing

Explore More