{
 "slug": "Transformer_(architecture)",
 "title": "Transformer (architecture)",
 "type": "concept",
 "short_desc": "Neural network architecture based on self-attention, introduced by Vaswani et al. in 2017; the basis of virtually all modern large language models.",
 "categories": [
  "Architectures",
  "Concepts"
 ],
 "infobox": {
  "Introduced": "\"Attention Is All You Need\" (June 2017)",
  "Authors": "Vaswani, Shazeer, Parmar, Uszkoreit, Jones, Gomez, Kaiser, Polosukhin",
  "Field": "Deep learning, natural language processing",
  "Key papers": "arXiv:1706.03762, arXiv:1810.04805, arXiv:2005.14165",
  "Used in": "Virtually all modern large language models; vision, speech, and multimodal systems"
 },
 "infobox_links": {},
 "aliases": [
  "Transformer",
  "Attention Is All You Need"
 ],
 "family": "",
 "org": "Google",
 "registry_status": "complete",
 "words": 2743,
 "references": 25,
 "outbound": [
  "ALBERT",
  "Anthropic",
  "Attention_sink",
  "BERT",
  "CLIP",
  "Chain-of-thought_prompting",
  "Chinchilla",
  "Claude_(model_family)",
  "DALL-E",
  "DeepSeek-V2",
  "DeepSeek-V3",
  "Diffusion_language_model",
  "Distributed_training",
  "ELECTRA",
  "Embedding_(machine_learning)",
  "Feed-forward_network",
  "Flan-T5",
  "FlashAttention",
  "GLM_(model_family)",
  "GPT-1",
  "GPT-2",
  "GPT-3",
  "GPT-4",
  "GPT-5",
  "GPT_(model_family)",
  "Gemini_(model_family)",
  "Google_DeepMind",
  "Gopher",
  "Grok_(model_family)",
  "Hybrid_architecture_(LLM)",
  "Instruction_tuning",
  "Kimi_K2",
  "LaMDA",
  "Large_language_model",
  "Layer_normalization",
  "Llama_3",
  "MMLU",
  "Megatron-LM",
  "Meta_AI",
  "Mistral_7B",
  "Mixtral_8x7B",
  "Mixture_of_experts",
  "Multi-head_attention",
  "Multi-head_latent_attention",
  "NVIDIA",
  "Next-token_prediction",
  "OpenAI",
  "PaLM",
  "PagedAttention",
  "Positional_encoding",
  "Qwen3",
  "RMSNorm",
  "Reinforcement_learning_from_human_feedback",
  "RoBERTa",
  "Scaling_laws",
  "Segment_Anything",
  "Self-attention",
  "Seq2seq",
  "Sliding-window_attention",
  "Softmax",
  "Sora",
  "Sparse_attention",
  "Stable_Diffusion",
  "State-space_model",
  "T5",
  "Test-time_compute",
  "The_Illustrated_Transformer",
  "Veo",
  "Vision_Transformer",
  "Whisper",
  "XLNet",
  "xAI"
 ],
 "inbound": [
  "AFM-4.5B",
  "AI21_Labs",
  "ALBERT",
  "Activation_steering",
  "Activation_verbalizer",
  "Adam_(optimizer)",
  "Aleph_Alpha",
  "Alex_Krizhevsky",
  "Alpaca",
  "AlphaFold",
  "Amazon_Nova",
  "Amazon_Titan",
  "Andrej_Karpathy",
  "Anthropic",
  "Apple_foundation_models",
  "Arcee_AI",
  "Arthur_Samuel",
  "Attention_sink",
  "Aya",
  "BERT",
  "BLIP",
  "BLOOM",
  "Backpropagation",
  "CLIP",
  "Cerebras-GPT",
  "Cerebras_Systems",
  "ChatGLM",
  "Chinchilla",
  "Circuits_(interpretability)",
  "Claude_(model_family)",
  "Claude_1",
  "Claude_2",
  "Claude_3",
  "Claude_3.5_Haiku",
  "Claude_3.5_Sonnet",
  "Claude_3.7_Sonnet",
  "Claude_4",
  "Claude_Fable_5",
  "Claude_Haiku_4.5",
  "Claude_Instant",
  "Claude_Opus_4.1",
  "Claude_Opus_4.5",
  "Claude_Opus_4.6",
  "Claude_Opus_4.8",
  "Claude_Opus_5",
  "Claude_Sonnet_4.5",
  "Claude_Sonnet_5",
  "Code_Llama",
  "Codestral",
  "Codex_(2021_model)",
  "Cohere",
  "Comma_(models)",
  "Command_(models)",
  "DALL-E",
  "DALL-E_2",
  "DALL-E_3",
  "DBRX",
  "Databricks",
  "DeepSeek",
  "DeepSeek-Coder-V2",
  "DeepSeek-V2",
  "DeepSeek-V3",
  "DeepSeek-V3.1",
  "DeepSeek_(model_family)",
  "DeepSeek_LLM",
  "Demis_Hassabis",
  "Devstral",
  "Diffusion_language_model",
  "DistilBERT",
  "Distributed_training",
  "Doubao",
  "Dropout",
  "ELECTRA",
  "ELMo",
  "ERNIE_5",
  "ERNIE_Bot",
  "EleutherAI",
  "Embedding_(machine_learning)",
  "FLUX",
  "Falcon_(models)",
  "Feed-forward_network",
  "Flamingo",
  "Flan-T5",
  "FlashAttention",
  "Frank_Rosenblatt",
  "François_Chollet",
  "GLM-130B",
  "GLM-4",
  "GLM-4.5",
  "GLM-4.6",
  "GLM-5",
  "GLM_(model_family)",
  "GPT-1",
  "GPT-2",
  "GPT-3",
  "GPT-3.5",
  "GPT-4",
  "GPT-4.5",
  "GPT-4_Turbo",
  "GPT-4o",
  "GPT-4o_mini",
  "GPT-5.1",
  "GPT-5.2",
  "GPT-5.6",
  "GPT-J",
  "GPT-Neo",
  "GPT-NeoX-20B",
  "GPT_(model_family)",
  "Gemini_(model_family)",
  "Gemini_1.0",
  "Gemini_1.5",
  "Gemini_2.0",
  "Gemini_2.5",
  "Gemini_3",
  "Gemini_3.5",
  "Gemma",
  "Genie",
  "GloVe",
  "Google_DeepMind",
  "Gopher",
  "Grok-1",
  "Grok-1.5",
  "Grok-2",
  "Grok_(model_family)",
  "Grok_3",
  "Grok_4",
  "Grok_4.1",
  "Grok_4.5",
  "Hailuo",
  "Hopfield_network",
  "Hugging_Face",
  "Hunyuan",
  "HunyuanVideo",
  "Hunyuan_3.0",
  "Hybrid_architecture_(LLM)",
  "IBM_Granite",
  "Ilya_Sutskever",
  "ImageNet",
  "Imagen",
  "InstructGPT",
  "Instruction_tuning",
  "InternLM",
  "InternVL",
  "Jamba",
  "John_Hopfield",
  "John_Jumper",
  "Jurassic_(models)",
  "Kimi_(model_family)",
  "Kimi_K2",
  "Kimi_K3",
  "Kimi_k1.5",
  "Kling",
  "LFM_(models)",
  "LLaMA",
  "LSTM",
  "LaMDA",
  "Large_language_model",
  "Layer_normalization",
  "Ling_(models)",
  "Liquid_AI",
  "Llama_(model_family)",
  "Llama_2",
  "Llama_3",
  "Llama_3.1",
  "Llama_3.2",
  "Llama_3.3",
  "Llama_4",
  "Logit_lens",
  "LongCat",
  "MMLU",
  "MPT_(models)",
  "Magistral",
  "Masked_language_modeling",
  "Mechanistic_interpretability",
  "Meena",
  "Megatron-LM",
  "Megatron-Turing_NLG",
  "Meta_AI",
  "MiMo",
  "Microsoft_AI",
  "MiniMax-M1",
  "MiniMax-M2",
  "MiniMax-Text-01",
  "Mistral_(model_family)",
  "Mistral_7B",
  "Mistral_AI",
  "Mistral_Large",
  "Mistral_Medium_3",
  "Mistral_Small",
  "Mixtral_8x22B",
  "Mixtral_8x7B",
  "Mixture_of_experts",
  "Molmo",
  "Moondream",
  "Moondream_(model_family)",
  "Moonshot_AI",
  "Movie_Gen",
  "Multi-head_attention",
  "Multi-head_latent_attention",
  "NVIDIA",
  "Ndea",
  "Nemotron",
  "Next-token_prediction",
  "Nous_Research",
  "OLMo",
  "OPT",
  "OpenAI",
  "PaLM",
  "PaLM_2",
  "PagedAttention",
  "PaliGemma",
  "Paul_Werbos",
  "Phi_(model_family)",
  "Pixtral",
  "Positional_encoding",
  "Pretraining",
  "Pythia",
  "QwQ-32B",
  "Qwen2",
  "Qwen2.5",
  "Qwen2.5-Max",
  "Qwen2.5-VL",
  "Qwen3",
  "Qwen3-Coder",
  "Qwen3-Coder-Next",
  "Qwen3-Max",
  "Qwen_(model_family)",
  "Qwen_1",
  "RMSNorm",
  "RWKV",
  "Reinforcement_learning_from_human_feedback",
  "Reward_model",
  "Richard_Sutton",
  "RoBERTa",
  "Safe_Superintelligence",
  "Scaling_laws",
  "Seed-OSS",
  "Seedream",
  "Segment_Anything",
  "Self-attention",
  "Seminal_AI_essays",
  "SenseNova",
  "Seq2seq",
  "Sliding-window_attention",
  "SmolLM",
  "Softmax",
  "Sora",
  "Sparse_attention",
  "Sparse_autoencoder",
  "Stability_AI",
  "Stable_Diffusion",
  "StarCoder",
  "State-space_model",
  "Step-2",
  "Supervised_fine-tuning",
  "T5",
  "Teacher_forcing",
  "Technology_Innovation_Institute",
  "The_Bitter_Lesson",
  "The_Illustrated_Transformer",
  "The_Unreasonable_Effectiveness_of_Recurrent_Neural_Networks",
  "Trinity_(model_family)",
  "Trinity_Large",
  "Trinity_Large_Thinking",
  "Trinity_Mini",
  "Trinity_Nano",
  "Tulu_3",
  "Turing-NLG",
  "ULMFiT",
  "Vicuna",
  "Vision_Transformer",
  "Whisper",
  "Word2vec",
  "XLNet",
  "YaLM-100B",
  "Yandex",
  "YandexGPT",
  "Yann_LeCun",
  "Yi_(model_family)",
  "Yoshua_Bengio",
  "Zhipu_AI",
  "gpt-oss",
  "iFlytek_Spark",
  "o1",
  "o3",
  "o4-mini",
  "xAI"
 ],
 "url": "wiki/Transformer_(architecture).html",
 "built": "2026-07-24"
}
