Lessons
230 lessons in ai · page 9 of 10
- AIadvanced
Evaluating RAG Pipelines with RAGAS
A rigorous guide to measuring RAG quality using RAGAS metrics — faithfulness, answer relevancy, context precision, and context recall — plus how to build a golden dataset and recognize where automated metrics fall short.
12 steps·~18 min - AIadvanced
Agentic RAG: Self-RAG, CRAG, and Multi-Hop Reasoning
Go beyond naive RAG pipelines. Learn how Self-RAG, Corrective RAG, and retrieval-as-tool patterns let an LLM decide when, what, and how many times to retrieve — enabling reliable multi-hop reasoning over complex knowledge bases.
12 steps·~18 min - AIadvanced
HippoRAG and RAPTOR: Hierarchical and Memory-Style RAG
Deep dive into two advanced RAG architectures — HippoRAG's hippocampal-inspired knowledge graph indexing and RAPTOR's recursive summarization tree — and why both dramatically outperform flat vector retrieval on multi-hop questions.
12 steps·~18 min - AIadvanced
GraphRAG: Knowledge-Graph Augmented Retrieval
Go beyond dense-vector search: learn how Microsoft GraphRAG extracts entities, builds a knowledge graph, clusters it with the Leiden algorithm, and serves both local and global queries with community summaries — delivering answers that classic RAG cannot.
12 steps·~18 min - AIadvanced
RAG Query Rewriting: HyDE, Multi-Query, Decomposition, and Step-Back
Master four advanced query rewriting techniques that dramatically improve RAG retrieval quality: Hypothetical Document Embeddings, multi-query expansion, query decomposition, and step-back prompting. Learn when to reach for each and how to implement them.
12 steps·~18 min - AIadvanced
Hybrid Retrieval for RAG: BM25, Dense Vectors, and Cross-Encoder Reranking
Build a production-grade retrieval pipeline combining BM25 keyword search with dense vector search, then sharpen precision with cross-encoder rerankers (Cohere Rerank, Voyage rerank-2, BGE). Learn when each layer matters and how to wire them together.
12 steps·~18 min - AIadvanced
RAG Chunking Strategies: From Fixed-Size to Late Chunking
A deep dive into how you split documents for retrieval-augmented generation — fixed-size, recursive, semantic, hierarchical, and late chunking — with concrete trade-offs and code for each approach.
12 steps·~18 min - AIadvanced
Policy Gradients and Deep RL
Tabular methods break down when the state space is continuous or astronomical in size. Learn how neural networks extend RL via DQN, how the policy gradient theorem makes it possible to differentiate through stochastic policies, and where actor-critic, PPO, and the deadly triad fit into the picture.
10 steps·~15 min - AIadvanced
Monte Carlo, TD, and Q-Learning
Leave the model behind. Monte Carlo methods wait for a full episode to update; TD methods bootstrap from the very next step. See exactly where SARSA and Q-learning diverge on the on-policy/off-policy axis, and why that single difference changes everything about convergence guarantees.
10 steps·~15 min - AIadvanced
Markov Decision Processes
Master the mathematical skeleton of reinforcement learning. Learn how the agent-environment loop formalizes decision-making, why the Markov property is the key assumption, and how Bellman expectation equations link policies to value functions.
10 steps·~15 min - AIadvanced
Dynamic Programming: Value and Policy Iteration
When you know the full MDP model, dynamic programming finds the optimal policy exactly. Learn the Bellman optimality equation, the contraction argument that guarantees convergence, and the concrete difference between policy iteration and value iteration — with a value-iteration code walkthrough.
10 steps·~15 min - AIintermediate
Training: Optimization and Regularization
Go from a raw neural network to one that actually generalizes. Covers loss functions (MSE, cross-entropy), gradient descent variants (SGD, momentum, Adam), learning-rate effects, overfitting vs underfitting, and the regularization toolkit (L2/dropout/early stopping/batch norm).
9 steps·~14 min - AIintermediate
Neural Networks and Backpropagation
Build intuition for how artificial neurons stack into layers, why nonlinear activations are non-negotiable, and how the chain rule turns a forward pass into exact gradients — illustrated with a tiny numpy forward+backward walk-through.
10 steps·~15 min - AIintermediate
Convolutional Neural Networks
Understand why fully-connected layers fail at image scale, then build up the CNN toolkit: convolutions, kernels, stride, padding, feature maps, pooling, and parameter sharing. Finish with the ResNet residual connection idea that unlocked networks of 100+ layers.
9 steps·~14 min - AIintermediate
Attention and Transformers
From the limits of RNNs to the self-attention mechanism that replaced them. Learn how queries, keys, and values implement scaled dot-product attention, why multi-head attention captures richer structure, how positional encodings inject order, and how all of this assembles into a transformer block.
9 steps·~14 min - AIintermediate
Native 3D Generative Models: MeshGPT, Trellis, Hunyuan3D
The shift from 2D-lifting to native 3D generation. Autoregressive mesh transformers (MeshGPT, MeshAnything) and flow-matching latent models (Trellis, Hunyuan3D-2, TripoSG). Architectures, tokenization, conditioning, and which ones are actually usable in 2026.
10 steps·~15 min - AIintermediate
From AI Mesh to Production-Ready Asset
What it takes to ship a generated mesh into a real game, AR app, or animation: topology cleanup, retopology, LODs, auto-rigging, and the 2026 platform landscape across Meshy, Tripo, Rodin, CSM and others.
10 steps·~15 min - AIintermediate
How Image- and Text-to-3D Actually Works in 2026
The end-to-end production pipeline behind Meshy, Tripo, Rodin, and the open-source SOTA: multi-view diffusion, feed-forward reconstruction, mesh extraction, and the failure modes that still bite. Names the models, not just the concepts.
10 steps·~15 min - AIintermediate
AI Texturing and PBR for Generated Meshes
How modern 3D generation paints a mesh after it's built. UV unwrapping, multi-view diffusion for texture, view-consistency, PBR map decomposition, and the workflow Meshy and Tripo expose to users in 2026.
10 steps·~15 min - AIintermediate
The 3D Representation Zoo: Meshes, NeRFs, Gaussians, SDFs
A working map of the 3D representations that matter in 2026 — meshes, point clouds, voxels, SDFs, NeRFs, and 3D Gaussian Splatting. What each one is, when each wins, and why mesh output still anchors production pipelines.
10 steps·~15 min - AIintermediate
Interpreting LLM Benchmarks: What MMLU, GPQA, and SWE-bench Actually Measure
A field guide to the LLM benchmarks practitioners cite in 2026 — what each one measures, where it's saturated, where contamination risk is high, and why benchmark gains rarely transfer to your task without your own eval.
10 steps·~15 min - AIintermediate
LLM Pricing and Latency: What Actually Drives Cost
How frontier LLM costs and latency actually work in 2026 — input vs output token asymmetry, prompt caching, batch API discounts, TTFT and tokens-per-second, reasoning-model amplification, and when self-hosting breaks even.
10 steps·~15 min - AIintermediate
Choosing the Right LLM for Your Use Case
A practical decision framework for picking an LLM in 2026 — define the task, build an offline eval, measure quality + latency + cost on real candidates, and avoid the classic trap of optimizing for benchmarks instead of your task.
10 steps·~15 min - AIintermediate
Open Weights vs Closed APIs: The Real Tradeoffs
An honest look at the open-weights vs closed-API choice for LLMs in 2026 — covering data privacy, cost at scale, fine-tuning, latency, regulatory concerns, and the gap in raw capability per dollar.
10 steps·~15 min

