TAI BUI
← Glossary
Glossary

What is Decoder?

In transformers, a decoder uses causal (masked) self-attention so each position can only attend to earlier positions. GPT is decoder-only. BERT is encoder-only. T5 is encoder-decoder.

What people say

The output part

Why it's called that