How LLMs Actually Work

  Рет қаралды 1,540

Entry Point AI

Entry Point AI

6 ай бұрын

In this video, I explain how language models generate text, why most of the process is actually deterministic (not random), and how you can shape the probability when selecting a next token from LLMs using parameters like temperature and top p.
I cover temperature in-depth and demonstrate with a spreadsheet how different values change the probabilities.
Topics:
00:10 Tokens & Why They Matter
03:27 Special Tokens
04:35 The Inference Loop
07:26 Random or Not?
08:11 Deep Dive into Temperature
14:19 Tips for Setting Temperature
16:11 Top P
If you'd like to play with the temperature calculator spreadsheet, you can make a copy of it here (read-only):
docs.google.com/spreadsheets/...
To learn more about Entry Point AI, visit our website at www.entrypointai.com
Like this video? Hit that subscribe button ⭐️
PS. PyTorch, TensorFlow, and underlying GPU libraries can introduce randomness that is tricky to pin down - these are implementation details that will change and presumably get easier over time.It doesn't change the fundamental nature of LLMs.

Пікірлер: 10
@RoryWilliamson
@RoryWilliamson 2 ай бұрын
This is one of the best explanations i've seen, thanks
@Titan-axle
@Titan-axle 6 ай бұрын
Thank you for this great explanation. It's given me a better clarity to temperature, top-p and their involvement in the loop. Really looking forward to the next one 😃
@ai-automation-agents
@ai-automation-agents 5 ай бұрын
Helpful and interesting - nicely done.🎓
@AnjelaPetkova
@AnjelaPetkova 6 ай бұрын
Thanks 🙏 super helpful video
@pratik9882
@pratik9882 6 ай бұрын
Informative 👍🏽
@Ak_Seeker
@Ak_Seeker 2 ай бұрын
Thank you
@NY1man1NY
@NY1man1NY 26 күн бұрын
Watching the first 10 minutes of this video, explains how AI works. This should be showed in schools.
@DrJaneLuciferian
@DrJaneLuciferian 6 ай бұрын
Thank you. Very well explained :^) Do you think you'll touch on non-LLM topics in the future: LSTM, GRUs, SNNs, etc?
@EntryPointAI
@EntryPointAI 6 ай бұрын
I expect to get to diffusion image models and multi-modal at some point, but likely won't backtrack to cover any architectures that aren't achieving new state-of-the-art.
@darrylperkins7342
@darrylperkins7342 5 ай бұрын
'promo sm'
Fine-tuning 101 | Prompt Engineering Conference
19:17
Entry Point AI
Рет қаралды 4 М.
LoRA & QLoRA Fine-tuning Explained In-Depth
14:39
Entry Point AI
Рет қаралды 33 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 11 МЛН
LLMs: RAG vs. Fine-Tuning
45:48
Winder AI
Рет қаралды 596
Prompt Engineering, RAG, and Fine-tuning: Benefits and When to Use
15:21
Fine-tuning Datasets with Synthetic Inputs
23:44
Entry Point AI
Рет қаралды 2,8 М.
What are AI Agents?
12:29
IBM Technology
Рет қаралды 115 М.
When Claude 3.5 Sonnet Became The Better Chatbot
11:46
bycloud
Рет қаралды 38 М.
Ask GPT-4 in Google Sheets
13:25
Entry Point AI
Рет қаралды 783
How I’d learn ML in 2024 (if I could start over)
7:05
Boris Meinardus
Рет қаралды 1 МЛН
RLHF vs DPO (and KTO) Explained
19:38
Entry Point AI
Рет қаралды 663
Vision Pro наконец-то доработали! Но не Apple!
0:40
ÉЖИ АКСЁНОВ
Рет қаралды 301 М.
Проверил, как вам?
0:58
Коннор
Рет қаралды 323 М.
Частая ошибка геймеров? 😐 Dareu A710X
1:00
Вэйми
Рет қаралды 5 МЛН
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 12 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 65 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,1 МЛН