How a model reads text, writes it one token at a time, gets trained, and how you talk to it.
AI engineer· Next-token prediction· Softmax
Chain-of-thought prompting· Logprobs· Pretraining· Sampling· Tokenization· What are LLMs good and bad at?
Byte-pair encoding· Embeddings· Post-training· Temperature· Top-p sampling
Attention· Hallucination· Reasoning models· RLHF
Context window· Transformer
Prefill and decode· The chat API
Few-shot prompting· KV cache· Streaming· Structured output· System prompt· Token pricing
Prompts as code· Role prompting· XML tags in prompts