Search

Search IconIcon to open search

Transformer

Last updatedUpdated: by Jakub Žovák · 2 min read

Properties
created Empty
modified 09.07.2026, 09:59
published Empty
topics Transformers
authors Empty
ai-assisted No

The original Transformer can be decomposed into two parts which are called encoder and decoder. As the name suggests, the goal of the encoder is to encode an input sequence in the form of a vector of numbers — a low-level format that is understood by machines. On the other hand, the decoder takes the encoded sequence and by applying a language modeling task, it generates a new sequence.

Encoders and decoders can be used individually for specific tasks. The two most famous models deriving their parts from the original Transformer are called BERT (Bidirectional Encoder Representations from Transformer) consisting of encoder blocks and GPT (Generative Pre-Trained Transformer) composed of decoder blocks.

# Topics

# Improved Architectures

# Additional Concepts