@rick.theengineer: Nobody ever wrote the code that lets ChatGPT write Python. Not one line of it. 🤯 Here's how a large language model actually gets built, step by step: 1️⃣ Data. Trillions of words of books, web pages, code and forums, then cleaned: duplicates removed, spam filtered, broken text stripped. One open dataset, FineWeb, is 15 trillion tokens of web text. 2️⃣ Tokens. The model never sees words. "Unbelievable" becomes 4 pieces: Un · bel · iev · able. Each piece becomes a number, and each number becomes a vector of hundreds of numbers. 3️⃣ The transformer. Stacks of layers, and inside each one, attention. In "the programmer fixed the server because it crashed", a real GPT-2 attention head sends 54% of "it"'s attention straight to "server". 4️⃣ Pre-training. One task, repeated trillions of times: predict the next token. Guess wrong, measure how wrong, nudge the weights a tiny bit downhill. Meta trained Llama 3 on up to 16,000 GPUs. 5️⃣ Post-training. A pre-trained model is just a very powerful autocomplete. Fine-tuning on good examples, human feedback and checkable rewards (did the math match? did the code pass?) turns it into an assistant. 6️⃣ Serving. A 405-billion-parameter model needs about 810 GB just for its weights. One GPU holds 80. So it gets split, compressed and batched so millions of people can use it at once. Every example in the video comes from a real model: the tokens, the attention, even the loss landscape. The weird part? Writing code, explaining physics, translating French: none of it was programmed. It all emerges from one tiny objective, repeated at enormous scale: predict what comes next, and get slightly less wrong every time. Which step surprised you most? Drop the number 👇 Save this for the next time someone calls AI "just autocomplete." #llm #artificialintelligence #machinelearning #chatgpt #techexplained
RickTheEngineer
Region: GB
Friday 25 September 2026 18:23:55 GMT
Music
Download
Comments
ThoughtTok :
Great explanation, can you imagine what AI will be like once Quantum Computing gets better :O
2026-09-26 09:40:15
0
RecipeTok 🇨🇦 🇵🇸 :
Can you remake this without yelling? i haven't even had my coffee yet.
2026-09-26 11:04:41
1
BeSerious :
You’re making it stressful to listen , Because you'r shouting. Why ?
2026-09-26 08:26:35
9
Seong Gi-hun :
you explained nothing about token-number-vector
2026-09-26 02:43:38
0
rollingtoons :
don't shout, use calmer voice in your TTS.
2026-09-26 02:33:10
45
Seaofhumanity :
Why you screaming?
2026-09-25 22:53:32
24
martinimellows :
One of the best Rick and Morty episode ever 😬 Jokes aside - this was very clean and really succinct with what LLM model training comprise of ^^
2026-09-26 10:01:04
2
..t.w.no.9 :
Maaaaaan noooo that is too many resources to do something you can just open a book a read? Like what?
2026-09-25 22:57:07
1
LockdownWolf :
thanks rig, now elaborate about RAG
2026-09-25 20:22:57
41
Petroleum Industry Consultant :
That means in the next 5 years, the best builders of LLMs will be LLMs.
2026-09-26 06:09:26
17
User355555 :
If it predicts the capital of Japan is London, who tells it it is right or wrong?
2026-09-25 21:31:50
2
rethink that. :
And it all started by showing it pictures of cats 🐈⬛. Then asking it which other images were or were not cats.
2026-09-26 05:39:41
2
Rob314151🏴 :
Thats why AI isn't intelligent. It just reuses what a human has already said, not what we could say in the future. The future is new information & when AI talks about the future its just reusing what a human has already said about the future
2026-09-26 09:20:26
2
AKit :
Still don't understand
2026-09-26 02:14:22
4
knudvaneeden :
Very good explanation.
2026-09-26 00:18:56
2
Wot :
Why are you shouting at me
2026-09-26 00:13:47
5
Honeybadger4357 :
i should have paid more attention in my algebra class lol 😂
Whatever the criticism of AI, this is effing impressive 🌟
2026-09-26 00:09:01
4
..t.w.no.9 :
It learned languages because it was feed the same info in different languages… comes. Oooonnn
2026-09-25 22:58:10
2
Sher_CCP :
Why are u screaming
2026-09-26 02:07:32
1
wasepsteinisreali :
How does it go from easy to understand to complete nonsense magic?
2026-09-26 08:30:15
1
♤Nicholas♡ :
This is great. I'll show my 7-year-old. Appreciate it.
2026-09-25 20:59:59
1
Antonelli :
please explain how to built an agentic ai
2026-09-26 07:38:11
1
arashfirooz :
I like your funny words wizard
2026-09-26 11:17:49
0
sk10_boi_, :
Oh wow… grate animation of Fact!
2026-09-26 11:06:49
0
YTFPV :
I i train one lots of work
2026-09-25 22:22:42
0
To see more videos from user @rick.theengineer, please go to the Tikwm
homepage.