Next Token!
summary
Claims that LLMs can chat, think or use tools are false: models generate one token at a time and are optimized to predict the next token, not reason. Tokenizers vary wildly by language so cost and density differ (English vs Polish vs Japanese). Stop tokens and an external orchestrator implement chat and tooling: the LLM emits a tool call, the program stops, runs the tool, reinserts results and resumes. Examples: LLMs only predict the next token, stop tokens are the only real control, MCP servers can let others control your LLM; practical tools mentioned include tokenizer demos, llama.cpp, Ruby LLM, embeddings + RAG, and JSON schema loops that require validation.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:11Falsehoods about LLMs
- 2:14Tokens in language models
- 4:44LLMs as token factories
- 5:49Stop tokens explained
- 7:39Stop token misfires
- 9:47Models don't think
- 10:52Abusing stop tokens for tools
- 14:02Embeddings and search
- 16:52Vector search tools
- 17:58Abusing output formatting
- 19:43Modern LM servers
- 20:50Tooling and MCP servers
- 21:56Wild west of AI tools
- 22:21Q&A
