State of GPT
Watch on YouTubeKarpathy explains the four-stage recipe for training GPT assistants (pretraining, supervised finetuning, reward modeling, reinforcement learning) and then teaches how to use these assistants effectively. He frames prompting as compensating for the cognitive differences between human brains and LLMs, which are token simulators that spend fixed compute per token and do not self-check by default.
- Pretraining accounts for about 99 percent of compute and produces a base model that completes documents rather than answering questions. - A model's power should not be judged by parameter count alone; training length on more tokens matters. - Reward modeling turns human rankings of completions into a binary classification over pairs, and RL then reinforces tokens weighted by reward. - RLHF works better partly because comparing outputs is easier for humans than generating them, though RLHF models lose entropy. - Transformers need tokens to think, so reasoning should be spread across many tokens via few-shot examples or step-by-step prompts. - He recommends achieving top performance first with GPT-4 and detailed prompts, then optimizing cost, and using LLMs in low-stakes settings with human oversight.
Based on Andrej Karpathy's public content. Not affiliated with or endorsed by Andrej Karpathy.
Supports these rules
Quotes from this video
“You shouldn't judge the power of a model by”
“"These transformers need tokens to”
“shows the transformer that it should show”
“You have to really spread out”
“Basically, feel free to ask for a strong solution.”
“its not going to check by itself”
“LLMs, is that LLMs don't want to succeed,”
“You want to succeed, and you should ask for it.”
“You have to make up for that in your prompts,”
“which I think you should stick with for a while,”
“you want to show whenever it's possible.”