Back to Courses

Build ChatGPT from Scratch

From raw text to a working GPT. You'll implement every component of a transformer-based language model from the ground up.

13 chapters
~120 hours

Prerequisites

  • Python proficiency
  • Linear algebra fundamentals
  • Basic PyTorch
  • Neural network basics

What You'll Build

  • An encoder-decoder Transformer that translates between languages
  • A decoder-only GPT that generates text, trained on FineWeb-Edu
Loading...