> For the complete documentation index, see [llms.txt](https://metaverse-imagen.gitbook.io/ai-tools-research/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metaverse-imagen.gitbook.io/ai-tools-research/ai-technology/ann-deep-learning-architectures/3.-transformers.md).

# 3. Transformers

Transformers\
These models, introduced in the paper "Attention is All You Need", use self-attention mechanisms and are very effective for many NLP tasks. Variants include:&#x20;

(a) Transformer (base model)&#x20;

(b) BERT (Bidirectional Encoder Representations from Transformers)&#x20;

(c) GPT (Generative Pretrained Transformer)&#x20;

(d) T5 (Text-to-Text Transfer Transformer)&#x20;

(e) BART (Bidirectional and Auto-Regressive Transformers)

(f) RoBERTa, ALBERT, DistilBERT (variants of BERT with different training strategies or model sizes)
