But what is a GPT? Visual intro to transformers | Chapter 5, Deep Learning
Unpacking how large language models work under the hood
Early view of the next chapter for patrons:
Special thanks to these supporters: #thanks
To contribute edits to the subtitles, visit
Other recommended resources on the topic.
Richard Turner’s introduction is one of the best starting places:
Coding a GPT with Andrej Karpathy
Introduction to self-attention by John Hewitt
History of language models by Brit Cruise:
Paper about examples like the “woman - man” one presented here:
------------------
Timestamps
0:00 - Predict, sample, repeat
3:03 - Inside a transformer
6:36 - Chapter layout
7:20 - The premise of Deep Learning
12:27 - Word embeddings
18:25 - Embeddings beyond words
20:22 - Unembedding
22:22 - Softmax with temperature
26:03 - Up next
------------------
These animations are largely made using a custom Python library, manim. See the FAQ comments here:
#manim
All code for specific videos is visible here:
The music is by Vincent Rubinetti.
------------------
3blue1brown is a channel about animating math, in all senses of the word animate. If you’re reading the bottom of a video description, I’m guessing you’re more interested than the average viewer in lessons here. It would mean a lot to me if you chose to stay up to date on new ones, either by subscribing here on YouTube or otherwise following on whichever platform below you check most regularly.
Mailing list:
Twitter:
Instagram:
Reddit:
Facebook:
Patreon:
Website:
1 view
41
9
3 weeks ago 00:03:40 1
Status Quo - In The Army Now
3 weeks ago 00:04:15 1
PAIN - Shut Your Mouth (OFFICIAL MUSIC VIDEO)
3 weeks ago 00:03:08 1
Numb (Official Music Video) [4K UPGRADE] – Linkin Park
3 weeks ago 00:03:29 1
WISH KING & QUEEN ORIGINAL SONG |ANIMATIC| Our Message To The People【MilkyyMelodies ft @CalebHyles】
3 weeks ago 04:09:06 1
HUNDREDS of BILLIONS of DOLLARS of stolen gold and laundered money- the story of the FIVE STAR TRUST
3 weeks ago 00:20:36 1
Trickle of truth
3 weeks ago 00:00:40 1
Tortoise vs. Hare - Who Wins?
3 weeks ago 00:03:01 1
Architects - “Curse“
3 weeks ago 00:04:07 1
Alphaville - Big In Japan (Thommys Popshow extra 1984)
3 weeks ago 00:03:46 1
Annie Lennox - Precious (Official Video)
3 weeks ago 00:03:05 1
CHETTA - HORUS
3 weeks ago 00:03:14 1
Manizha - Russian Woman - Russia 🇷🇺 - Official Video - Eurovision 2021
3 weeks ago 00:02:24 1
WILLOW - alone (live in studio)
3 weeks ago 00:00:56 1
The scene of the shop burglary
3 weeks ago 00:03:38 1
THE LORD OF THE RINGS - Teaser Trailer (2025) Timothy Chalamet, Henry Cavill | Modern AI Concept
3 weeks ago 00:14:53 1
What a pity if you don’t know about this method of growing potatoes in tires. Large, many tubers
3 weeks ago 00:03:08 1
Chuck Berry & Julian Lennon - Johnny B Goode (1986)
3 weeks ago 00:00:11 1
John Frusciante explaining ’Sikamikanico’ bass line to Flea