The Transformer is a neural network architecture developed at Google that relies on self-attention to transform a sequence of input embeddings into a sequence of output embeddings, without using convolutions or recurrent networks. Google’s glossary describes it as a stack of self-attention layers that can include an encoder, a decoder or both. Most current large language models, including the ones behind the assistants in our directory, are based on this architecture. Attention lets the model weigh which parts of the input matter most for each part of the output.
Source: developers.google.com/machine-learning/glossary (checked 2026-11-26).