{"id":43391,"date":"2025-07-14T09:49:18","date_gmt":"2025-07-14T13:49:18","guid":{"rendered":"https:\/\/www.thehackettgroup.com\/?post_type=glossary_term&#038;p=43391"},"modified":"2026-08-05T17:00:32","modified_gmt":"2026-08-05T21:00:32","slug":"transformer","status":"publish","type":"glossary_term","link":"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/","title":{"rendered":"Transformer"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Transformer<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Transformer is a deep learning architecture introduced in the paper \u201cAttention Is All You Need\u201d (2017) by Vaswani et al., which revolutionized <a class=\"seclude\" href=\"https:\/\/www.thehackettgroup.com\/glossary\/natural-language-processing-nlp\/\">natural language processing<\/a> (NLP) and became the foundation for many advanced <a class=\"seclude\" href=\"https:\/\/www.thehackettgroup.com\/glossary\/ai-models\/\">artificial intelligence (AI) models<\/a>, including BERT, GPT, and T5. Unlike previous recurrent models, transformers rely entirely on a mechanism called self-attention, which allows them to weigh the importance of different words or tokens in a sequence regardless of their position. Transformers process input data in parallel (rather than sequentially), making them highly efficient and scalable for large datasets. They are widely used not only in NLP but also in computer vision, audio processing and multimodal AI \u2013 enabling breakthroughs in tasks like translation, summarization, image captioning and content generation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Transformer Transformer is a deep learning architecture introduced in the paper \u201cAttention Is All You Need\u201d (2017) by Vaswani et al., which revolutionized natural language processing (NLP) and became the foundation for many advanced artificial intelligence (AI) models, including BERT, GPT, and T5. Unlike previous recurrent models, transformers rely entirely on a mechanism called self-attention,&hellip;<\/p>\n","protected":false},"featured_media":0,"template":"","function":[],"glossary_term_initial":[289],"topic":[294],"class_list":["post-43391","glossary_term","type-glossary_term","status-publish","hentry","glossary_term_initial-t","topic-ai"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Definition of Transformer - The Hackett Group\u00ae Glossary<\/title>\n<meta name=\"description\" content=\"Transformer is a deep learning model using self-attention, enabling fast, scalable NLP and powering models like GPT, BERT, and T5 across AI tasks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Transformer\" \/>\n<meta property=\"og:description\" content=\"Transformer is a deep learning model using self-attention, enabling fast, scalable NLP and powering models like GPT, BERT, and T5 across AI tasks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/\" \/>\n<meta property=\"og:site_name\" content=\"The Hackett Group\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/The-Hackett-Group-176204415723594\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-05T21:00:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mldup8b2mw9t.i.optimole.com\/cb:sUrh.43c84\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/www.thehackettgroup.com\/wp-content\/uploads\/2023\/02\/hackett-logo-website-image-yoast.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@thehackettgroup\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/glossary\\\/transformer\\\/\",\"url\":\"https:\\\/\\\/www.thehackettgroup.com\\\/glossary\\\/transformer\\\/\",\"name\":\"Definition of Transformer - The Hackett Group\u00ae Glossary\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/#website\"},\"datePublished\":\"2025-07-14T13:49:18+00:00\",\"dateModified\":\"2026-08-05T21:00:32+00:00\",\"description\":\"Transformer is a deep learning model using self-attention, enabling fast, scalable NLP and powering models like GPT, BERT, and T5 across AI tasks.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/glossary\\\/transformer\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.thehackettgroup.com\\\/glossary\\\/transformer\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/glossary\\\/transformer\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.thehackettgroup.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Glossary Terms\",\"item\":\"https:\\\/\\\/www.thehackettgroup.com\\\/glossary\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Transformer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/#website\",\"url\":\"https:\\\/\\\/www.thehackettgroup.com\\\/\",\"name\":\"The Hackett Group\u00ae\",\"description\":\"Enabling Digital World Class\u00ae Performance\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.thehackettgroup.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/#organization\",\"name\":\"The Hackett Group\u00ae\",\"url\":\"https:\\\/\\\/www.thehackettgroup.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mldup8b2mw9t.i.optimole.com\\\/cb:sUrh.43c84\\\/w:1024\\\/h:1024\\\/q:mauto\\\/f:best\\\/https:\\\/\\\/www.thehackettgroup.com\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/default-user-image.png\",\"contentUrl\":\"https:\\\/\\\/mldup8b2mw9t.i.optimole.com\\\/cb:sUrh.43c84\\\/w:1024\\\/h:1024\\\/q:mauto\\\/f:best\\\/https:\\\/\\\/www.thehackettgroup.com\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/default-user-image.png\",\"width\":1024,\"height\":1024,\"caption\":\"The Hackett Group\u00ae\"},\"image\":{\"@id\":\"https:\\\/\\\/www.thehackettgroup.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/The-Hackett-Group-176204415723594\\\/\",\"https:\\\/\\\/x.com\\\/thehackettgroup\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/the-hackett-group\\\/\",\"https:\\\/\\\/vimeo.com\\\/user73198711\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Definition of Transformer - The Hackett Group\u00ae Glossary","description":"Transformer is a deep learning model using self-attention, enabling fast, scalable NLP and powering models like GPT, BERT, and T5 across AI tasks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/","og_locale":"en_US","og_type":"article","og_title":"Transformer","og_description":"Transformer is a deep learning model using self-attention, enabling fast, scalable NLP and powering models like GPT, BERT, and T5 across AI tasks.","og_url":"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/","og_site_name":"The Hackett Group\u00ae","article_publisher":"https:\/\/www.facebook.com\/The-Hackett-Group-176204415723594\/","article_modified_time":"2026-08-05T21:00:32+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/mldup8b2mw9t.i.optimole.com\/cb:sUrh.43c84\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/www.thehackettgroup.com\/wp-content\/uploads\/2023\/02\/hackett-logo-website-image-yoast.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@thehackettgroup","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/","url":"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/","name":"Definition of Transformer - The Hackett Group\u00ae Glossary","isPartOf":{"@id":"https:\/\/www.thehackettgroup.com\/#website"},"datePublished":"2025-07-14T13:49:18+00:00","dateModified":"2026-08-05T21:00:32+00:00","description":"Transformer is a deep learning model using self-attention, enabling fast, scalable NLP and powering models like GPT, BERT, and T5 across AI tasks.","breadcrumb":{"@id":"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.thehackettgroup.com\/glossary\/transformer\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.thehackettgroup.com\/glossary\/transformer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.thehackettgroup.com\/"},{"@type":"ListItem","position":2,"name":"Glossary Terms","item":"https:\/\/www.thehackettgroup.com\/glossary\/"},{"@type":"ListItem","position":3,"name":"Transformer"}]},{"@type":"WebSite","@id":"https:\/\/www.thehackettgroup.com\/#website","url":"https:\/\/www.thehackettgroup.com\/","name":"The Hackett Group\u00ae","description":"Enabling Digital World Class\u00ae Performance","publisher":{"@id":"https:\/\/www.thehackettgroup.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.thehackettgroup.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.thehackettgroup.com\/#organization","name":"The Hackett Group\u00ae","url":"https:\/\/www.thehackettgroup.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.thehackettgroup.com\/#\/schema\/logo\/image\/","url":"https:\/\/mldup8b2mw9t.i.optimole.com\/cb:sUrh.43c84\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/www.thehackettgroup.com\/wp-content\/uploads\/2020\/12\/default-user-image.png","contentUrl":"https:\/\/mldup8b2mw9t.i.optimole.com\/cb:sUrh.43c84\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/www.thehackettgroup.com\/wp-content\/uploads\/2020\/12\/default-user-image.png","width":1024,"height":1024,"caption":"The Hackett Group\u00ae"},"image":{"@id":"https:\/\/www.thehackettgroup.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/The-Hackett-Group-176204415723594\/","https:\/\/x.com\/thehackettgroup","https:\/\/www.linkedin.com\/company\/the-hackett-group\/","https:\/\/vimeo.com\/user73198711"]}]}},"_links":{"self":[{"href":"https:\/\/www.thehackettgroup.com\/wp-json\/wp\/v2\/glossary_term\/43391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thehackettgroup.com\/wp-json\/wp\/v2\/glossary_term"}],"about":[{"href":"https:\/\/www.thehackettgroup.com\/wp-json\/wp\/v2\/types\/glossary_term"}],"version-history":[{"count":0,"href":"https:\/\/www.thehackettgroup.com\/wp-json\/wp\/v2\/glossary_term\/43391\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thehackettgroup.com\/wp-json\/wp\/v2\/media?parent=43391"}],"wp:term":[{"taxonomy":"function","embeddable":true,"href":"https:\/\/www.thehackettgroup.com\/wp-json\/wp\/v2\/function?post=43391"},{"taxonomy":"glossary_term_initial","embeddable":true,"href":"https:\/\/www.thehackettgroup.com\/wp-json\/wp\/v2\/glossary_term_initial?post=43391"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.thehackettgroup.com\/wp-json\/wp\/v2\/topic?post=43391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}