AI track
AI Engineering
From gradient descent to production LLM systems.
A path from machine-learning fundamentals through LLM applications to running AI systems in production. Each module builds only on what came before, and every lesson ends with the questions interviewers actually ask.
Foundations
How models learn, how transformers work, and how LLMs are trained and sampled — the mental model everything else rests on.
Machine Learning Basics
Explain supervised vs unsupervised learning, split data correctly, spot overfitting, and describe how gradient descent minimizes a loss.
- ✓What Machine Learning Actually IsLearning a function from examples: supervised, unsupervised, and self-supervised learning.10m
- ✓Train, Validation, and Test SplitsWhy you hold data back, how to split it, and the leakage traps that fake good results.10m
- ✓Overfitting and RegularizationMemorizing vs generalizing, the bias–variance trade-off, and the tools that keep models honest.12m
- ✓Loss Functions and Gradient DescentHow a model measures its mistakes and walks downhill to make fewer of them.12m
Neural Networks
Describe a neural network as stacked linear layers plus non-linearities, and explain backpropagation without hand-waving.
Deep Learning Building Blocks
Recognize the components that make deep networks trainable and read a training loop with confidence.
Tokens and Embeddings
Explain how text becomes tokens and tokens become vectors, and why that matters for cost, limits, and meaning.
Attention and the Transformer
Walk through self-attention with queries, keys, and values, and sketch a decoder-only transformer block end to end.
How LLMs Are Trained
Explain the pretraining → instruction tuning → preference tuning pipeline and what each stage adds.
- ✓Pretraining: Next-Token PredictionHow predicting the next token on huge corpora produces general capability.12m
- ✓Supervised Fine-TuningTurning a text-completer into an instruction-follower with curated demonstrations.10m
- ✓RLHF and Preference TuningReward models, PPO, DPO, and how human preferences shape model behavior.14m
Sampling and Decoding
Choose decoding settings deliberately and use logprobs for confidence, classification, and debugging.
Applications
Building with LLMs: prompting, retrieval, tools, agents, MCP, LangGraph, and knowing when to fine-tune.
Prompt Engineering
Write prompts that are structured, testable, and reliable, including ones that return machine-parseable output.
- ✓Prompt StructureSystem vs user messages, roles, delimiters, and writing instructions a model can follow.12m
- ✓Few-Shot and Chain-of-ThoughtTeaching by example and giving the model room to reason before answering.12m
- ✓Structured Output and JSONGetting reliable JSON with schemas, constrained decoding, validation, and repair.12m
Embeddings and Vector Search
Build semantic search and explain how ANN indexes like HNSW, IVF, and PQ trade recall for speed and memory.
Retrieval-Augmented Generation
Design a RAG pipeline end to end: chunking, hybrid retrieval, reranking, query rewriting, and grounded answers with citations.
- ✓RAG Fundamentals and ChunkingThe ingest/retrieve/generate loop and how chunking choices make or break it.14m
- ✓Hybrid Search and RerankingCombining BM25 with vectors, fusing rankings, and reranking with cross-encoders.14m
- ✓Query Rewriting and CitationsFixing bad queries before retrieval and making answers verifiable after it.12m
Tool Calling and Agents
Implement a tool-calling loop, explain ReAct and planning patterns, and design agent memory and multi-agent setups.
- ✓Tool and Function CallingHow models request tool calls, how your code executes them, and how to design good tools.12m
- ✓ReAct and Planning AgentsReason–act–observe loops, plan-and-execute, and keeping agents from spinning.14m
- ✓Agent MemoryShort-term context, long-term stores, summarization, and what to remember.12m
- ✓Multi-Agent SystemsSupervisors, handoffs, and when splitting work across agents helps or hurts.12m
Model Context Protocol
Explain MCP's host/client/server model and build a server that exposes tools, resources, and prompts.
LangGraph
Model an agent as a state graph with nodes, edges, and reducers, and add persistence and human approval steps.
Fine-Tuning
Decide between prompting, RAG, and fine-tuning for a given problem, and explain how LoRA makes tuning cheap.
Production
Shipping and running AI systems: evaluation, security, cost, observability, serving, and system design interviews.
Evaluation
Build offline eval suites with golden sets, use LLM-as-judge responsibly, and measure RAG quality component by component.
- ✓Offline Evals and Golden SetsTreating prompts like code: datasets, metrics, and regression gates in CI.14m
- ✓LLM-as-JudgeUsing a model to grade a model, its biases, and how to calibrate it against humans.12m
- ✓RAG Evaluation MetricsRetrieval recall, MRR, faithfulness, and answer relevance — measured separately.12m
Guardrails, Security, and Responsible AI
Threat-model an LLM app, defend against prompt injection and exfiltration, and build guardrails and responsible-AI practices into delivery.
- ✓Prompt Injection and Data ExfiltrationDirect and indirect injection, the lethal trifecta, and defenses that actually hold.14m
- ✓Guardrails, Jailbreaks, and PIIInput/output filters, jailbreak resistance, and keeping personal data out of logs and prompts.12m
- ✓Responsible AI in PracticeBias, transparency, human oversight, and turning principles into engineering tasks.10m
Cost, Latency, and Observability
Cut cost and latency with caching, streaming, batching, and routing, and trace every LLM call so you can debug production.
- ✓Caching and Prompt CachingExact, semantic, and provider-side prefix caching, and when each pays off.12m
- ✓Streaming, Batching, and Model RoutingPerceived vs real latency, batch APIs, and sending each request to the cheapest model that can handle it.12m
- ✓Observability and Tracing for LLM AppsSpans for every model and tool call, what to log, and closing the loop with evals.12m
Serving and Inference
Explain what happens inside an inference server — KV cache, continuous batching, quantization — and size a self-hosted deployment.
AI System Design
Run an AI system design interview with a repeatable framework and apply it to a support copilot and a RAG search system.
- ✓The AI System Design FrameworkA step-by-step structure for AI design interviews, from requirements to evals.14m
- ✓Design a Customer Support CopilotA worked design: retrieval, tools, guardrails, handoff, and metrics.15m
- ✓Design an Enterprise RAG Search SystemA worked design: ingestion at scale, permissions, hybrid retrieval, and freshness.15m
Then practise
Build Projects
Hands-on projects that turn lessons into portfolio pieces. Each one has milestones with acceptance criteria, a core code skeleton, and talking points for interviews.