@jam.with.ai: How LLMs Are Trained? Went in caveman mode again 🤣 hope it was useful! In the Reel, I explained it in the simplest way: Data = examples the model learns from Tokens = text broken into smaller units Weights = learned numbers inside the network Pretraining = learning to predict the next token Instruction tuning = learning how to respond to requests RLHF = learning which responses humans prefer Now the slightly more technical version: An LLM starts with a large dataset containing text, code, and other carefully selected sources. Before training, the data is cleaned, filtered, and deduplicated. The text is broken into tokens, which are converted into numbers the model can process. At first, the Transformer’s weights are mostly random. During pretraining, the model predicts the next token, measures how wrong the prediction was, and updates those weights. Predict. Measure error. Update. Repeat. After this happens across massive datasets using many GPUs, a base model is created. But a base model mainly knows how to continue text. It is not automatically a helpful chat assistant. That is where post-training begins. Instruction tuning teaches the model how to follow requests using examples of good prompts and responses. Then preference-training methods such as RLHF use human feedback to guide the model toward responses people consider more helpful, safer, and better aligned. So the Reel’s simple version is actually the core idea: Data provides examples. Pretraining teaches prediction. Instruction tuning teaches chat-assistant behaviour. Preference training teaches preferred behaviour. Evaluation checks quality. An LLM is not born smart. It becomes useful through data, optimization, post-training, evaluation, and a huge amount of compute. Very expensive baby indeed😅 . . . [ #LLM Large Language Models, How LLMs Are Trained, LLM Training, Transformer, Pretraining, Post Training, Instruction Tuning, #RLHF ,Reinforcement Learning from Human Feedback, Preference Tuning, AI Alignment, Tokenization, Tokens, Model Weights, Neural Networks, Base Model, Chat Assistant, Generative AI, Deep Learning, #MachineLearning #AI Engineering, LLM Engineering, MLOps]

Shirin
Shirin
Open In TikTok:
Region: DE
Wednesday 17 June 2026 18:06:18 GMT
15995
1135
33
89

Music

Download

Comments

toluwalogo11
Toluwalogo Yomi-Momoh :
Big expensive baby.
2026-06-18 14:04:12
10
kosm_4
Kostas :
i made an experiment , gave to my agent all tools needed to train and came up with a new architecture of llm . unfortunately didn't have gpu , so iterations took him hours or days. didnt make it to base model at all. stopped it eventually..
2026-06-17 19:05:18
2
mzin679
M@ziN :
LLM good 😊 LLM sad what do🥺 I like your teaching style so simple 🤓
2026-06-18 09:39:03
2
userrmfr9lignm
Moses :
2026-06-18 19:08:31
1
kyaw.thura053
Ko Kit :
What a nice top-down approach! Your video fully covered the LLM architecture—especially for building untrained models—as well as choosing quality datasets and the training process. I really appreciate it!🥰🥰🥰
2026-06-17 18:50:37
3
alisonndapasowa
Alison :
good staff. would love to see more
2026-07-08 10:04:23
0
papanauta
🌒 Papanauta :
Your explanations tickle my brain the right way 🙏 do you publish the slides anywhere?
2026-06-17 18:54:45
1
isfhan_ahmed
Isfhan :
where i can find this presentation?
2026-06-26 00:08:45
0
sergiosv96
Sergio Sánchez Vallés :
this videos are goated, keep it up
2026-06-26 14:13:13
0
ranahamza302616
ranahamza302616 :
great 😃 explaination
2026-06-17 20:44:14
1
syedadnanshah787
Adnan Shah :
Best way to explain 🌺
2026-06-17 18:41:32
1
qp.x76
qp.X7 :
2026-06-18 08:26:06
1
mohsin.bhullah
Mohsin Bhullah :
You’re amazing story teller 🥰
2026-06-18 05:09:26
1
dany.travels
Daniel :
university level knowledge made easy
2026-06-18 00:04:39
1
tenkay10kk
Tenkay :
So sweet and engaging 😂
2026-06-18 18:58:56
1
abc23bbi
A B C 💕 :
do you think i am a baby😁
2026-06-18 06:13:04
1
henkv73
HenkV73 :
Finally I’m beginning to understand this stuff just a tiny bit! For a next video, could you please dumb it down a little so others can also benefit?
2026-06-22 19:55:48
1
tareka45
MeTeeLife :
best explanation ever 😁
2026-07-16 15:23:57
0
nimnish4
Nimnish :
Love your style . Unique mix of cute speak , step by step simplifying to explain complex topics . Keep it up . Looking for more
2026-06-18 05:28:26
1
brianwiseman12mw
Brian Wiseman12 :
Do you have YouTube channel?
2026-07-10 08:54:42
0
dhananjayadizz
Dhananjaya Dissanayake :
how did you invent this language 😅
2026-07-07 21:20:24
0
m_1_4_2
DHAC BI DHAC :
could you sent to me this presentation
2026-06-18 17:10:15
0
ahmedabdalla3744
Ahmed :
Thanks
2026-06-20 19:10:01
0
abcdefjhxyz12
abcdefu :
Loved the cavewomen style 👌
2026-06-17 21:09:56
1
To see more videos from user @jam.with.ai, please go to the Tikwm homepage.

Other Videos


About