Tokenization
Not startedHow text becomes tokens, BPE/WordPiece trade-offs, and why token counts drive cost and context limits.
LEARNING
Learn LLMs, RAG, agents, evaluation, AI system design, security, serving, and backend architecture for production applications.
Structured learning path
160 visual lessons covering transformers, RAG, agents, evaluation, security, serving, and AI backends.
Showing 160 of 160 topics
Open one module at a time to keep your path focused.
How text becomes tokens, BPE/WordPiece trade-offs, and why token counts drive cost and context limits.
Encoder/decoder stacks, residual streams, feed-forward layers, and why transformers dominate LLMs.
Query/key/value projections, multi-head attention, and how models relate tokens across a sequence.
Maximum input length, long-context techniques, and practical limits when stuffing prompts with docs.
Key/value caching for autoregressive decoding, memory growth with sequence length, and serving impact.
Sampling controls that trade creativity for determinism, plus when to prefer greedy decoding.
Role instructions, policy constraints, and durable behavior shaping without changing model weights.
Teaching format and edge cases with examples in-context instead of fine-tuning.
Step-by-step reasoning prompts that improve multi-hop math, planning, and tool selection.
Models trained for extended deliberation, when to use them, and cost/latency trade-offs.
JSON schemas, constrained decoding, and reliable tool/function argument generation.
Reuse of long stable prefixes to cut cost and latency on repeated system prompts and docs.
Input vs output pricing, cached tokens, and estimating unit economics for AI features.
Why models invent facts, how to detect them, and mitigation via grounding and abstention.
Images, audio, and documents as model inputs, plus tokenization and safety considerations.
Low-rank adapters for efficient specialization without full weight updates.
4-bit quantized base models plus LoRA for fine-tuning on consumer GPUs.
INT8/INT4 weight compression to shrink VRAM and speed inference with quality trade-offs.
Training smaller students from teacher model outputs to cut cost while keeping behavior.
API providers vs self-hosted open weights: control, cost, compliance, and quality trade-offs.