by swyx · 3y ago · 0 comments
its an encoder-decoder model whereas GPT is decoder only. feels like a pretty big difference, though in practice i honestly still dont have a strong grasp of how encoder-decoder is deficient to decoder-only when it comes to text generation. i get that BERT was designed for translation but why cant we scale it up and use it for textgen just the same
BERT can't be used in an autoregressive way because it doesn't output a new token, it simply generates embeddings from the existing tokens (you get one for each input token).
BERT - Encoder-only - embeddings for downstream tasks
GPT/OPT/etc - Decoder-only - language generation
T5/T0 - Encoder-decoder. Kind of does both?