Big technical books, one short video at a time.

Build a Large Language Model (From Scratch) · Chapter 1 · Video 2 of 14 · 9:00

Why does GPT use only half of a transformer?

The 2017 transformer was built to translate, with an encoder that reads the source sentence and a decoder that writes the translation. GPT kept only the decoder. Why is half enough to write, and what does the other half do in models like BERT?

Based on Build a Large Language Model (From Scratch) by Sebastian Raschka.