Finding this tool useful? Bookmark us (cmd+D) for easy and fast access!
Get Another Transcript
Transcript
Transcript [EN]: Let's build GPT: from scratch, in code, spelled out.
Author:Andrej Karpathy
Summary
Tutorial / Code walkthroughThe video is a step by step practical exploration of building a GPT style language model from scratch. It starts with the concept of language models and attention, then implements a tiny character-level transformer on Shakespeare data, and progressively scales to a full decoder-only transformer with self-attention, multi-head attention, feed-forward blocks, residual connections, layer normalization, dropout, and training loops. The presenter demonstrates training, generation, and evaluation, interleaving code explanations with architectural intuition. It culminates in a high-level discussion of how GPT-like models are pre-trained on large text corpora and later fine-tuned for alignment in applications like chat agents. The talk emphasizes practical coding, graphics of attention, and how the pieces fit into a GPT pipeline.
Ask the video
Ask a question and get an answer straight from the transcript.
Tap one, I'll answer it
Sign in to ask questions about this video. Sign in
More transcripts
- [1hr Talk] Intro to Large Language Models
- Starting off with invincible cultivation from the first sign-in, I can do whatever I want!
- Exiled to the Imperial Tombs, I Unleashed My Path to Invincibility by Touching Corpses.
- A Brief Study of Branded.
- C Language Tutorial for Beginners (with Notes & Practice Questions)
- My senior brother is exceedingly formidable
Finding this tool useful? Bookmark us (cmd+D) for easy and fast access!