Video courses on YouTube · made with Claude Code
Two video courses, built with AI
Two complete video courses, with the videos on YouTube and the code on GitHub. The first teaches Rust to people who already do data work in Python. The second explains the mathematics inside a large language model, from a single neuron to a small GPT written from scratch.
They are also a demonstration of how far AI can carry a project like this. I directed the work in Claude Code with Fable 5.2: the scripts, the runnable examples, the animations, and the narration all came out of one pipeline. Where the narrator is a speaking language model, each sentence was checked against the script and generated again if it did not match. This page lists every episode and shows which model did which job.
Writing and production
Claude Code and Fable 5.2
Both courses were written and assembled in Claude Code, using the Fable 5.2 model. The model drafted the lessons. I chose what to teach, checked the results, and decided when an episode was ready to publish.
Narration · a model that speaks
gpt-audio-1.5, voice cedar
OpenAI's audio-capable chat model, used through the Chat Completions API with audio output. It is a language model that speaks, not a traditional text-to-speech engine, so every sentence is checked against the script.
Narration · a model that runs locally
Kokoro-82M, voice af_heart
A text-to-speech model with 82 million parameters, released under the Apache-2.0 licence. It runs on your own machine, with no API key and no paid service. The voice plays at 0.90× speed, a slightly slower pace for teaching.
40 episodes · just under 15 hours
Rust for Python Data Engineers
Python data engineers who want Rust in production
- Claude Code
- Fable 5.2
- gpt-audio-1.5
- Voice cedar
A course for someone who already ships data systems in Python and wants Rust for the jobs where the machine itself matters: memory, CPU, files, and services that have to stay up. Nine projects are built during the episodes, not after them. Every code sample was run, and every number on screen was measured.
- Read and write Rust with the Python habits that help, and the ones that do not.
- Connect ownership, caches, and async to measurements, not slogans.
- Build a profiler, a batch ETL, a Python package, an ingestion service, and a small data platform.
Narration: gpt-audio-1.5, voice cedar
A language model that speaks
OpenAI's gpt-audio-1.5 is called through the Chat Completions API with audio output. It is not a classic text-to-speech engine. The built-in voice is cedar.
Checked sentence by sentence
Each sentence's transcript was compared with the script. When the reading did not match, that sentence was requested again until it did.
The drawback is the bill
A speaking chat model is priced like a model call with audio, not like a text-to-speech service. A full course is expensive. The check on every line is what the cost buys.
Part I — Rust and the toolchain The language as a Python developer meets it, and a profiler that starts on day one. 5 episodes
01 Why Rust? What it brings to a Python data engineer
What changes when the same job is written in Rust, and a benchmark harness that makes the comparison concrete.
02 Installing Rust and understanding the toolchain
rustup, rustc, and the pieces of the toolchain you actually touch.
03 Cargo deep dive
Manifests, lockfiles, features, profiles, and workspaces, while the profiler project gets its skeleton.
04 Syntax and the type system, for Python developers
Types, mutability, and the places a Python habit has to change. The profiler takes a first pass at field types.
05 Functions, structs, enums, methods, and modules
A ColumnType enum, a domain model, and the first working profiler.
Part II — The machine underneath Execution, memory, and what the compiler actually emits. 4 episodes
06 How a computer actually executes a program
Instructions, branches, and the difference between a job that is busy and a job that is waiting.
07 RAM, virtual memory, the stack, the heap, and CPU caches
Where values live, and how an access pattern shows up in a measurement.
08 How Rust becomes machine code
Assembly, vectorization, copies versus moves, and allocations the compiler can remove.
09 GPU architecture and Rust GPU programming
The same computation on CPU and GPU, measured with wgpu on Metal.
Part III — Ownership and the rest of the language The memory model, then the features you use once it is in place. 8 episodes
10 Ownership
Moves, clones, and drops. The rule the rest of the course keeps using.
11 Borrowing and references
Shared and exclusive access, including zero-copy parsing in the profiler.
12 Lifetimes
How long a borrow is allowed to live, applied to borrowed record views.
13 Generics, traits, and reusable code
Reader and writer traits that start the batch ETL.
14 Collections, iterators, and closures
Statistics and transforms. The ETL grows a parallel-ready pipeline of steps.
15 Error handling and reliability
Typed errors, malformed rows, and a strict mode that refuses them.
16 Smart pointers and interior mutability
Rc, Arc, and the cases where a single owner is not enough.
17 Unsafe Rust and FFI
Layout, repr(C), and calling Rust from Python through ctypes, ahead of PyO3.
Part IV — A professional Rust application The profiler becomes something you could hand to someone else. 2 episodes
18 Professional Rust project architecture
A library and a thin binary, layered configuration, JSON output, and tracing.
19 Testing, documentation, and code quality
Property tests, Criterion benchmarks, and defects those tests found in the profiler.
Part V — Concurrency, parallelism, and async Threads, Rayon, and a Tokio service that knows when to stop accepting work. 5 episodes
20 Concurrency and parallelism
What actually runs at once, including Python with the GIL, with processes, and on the free-threaded build.
21 Threads, channels, and shared state
Parallel file processing, and the cost of sharing a cache line you did not mean to share.
22 Parallel processing with Rayon
Data-parallel work against a sequential baseline, including a parallel mode for the ETL.
23 Async Rust, futures, and Tokio
The skeleton of an ingestion service, and why async is about waiting.
24 Async Rust for production
Bounded concurrency, retries, timeouts, backpressure, shutdown, and two performance mistakes measured on the way.
Part VI — Rust for data engineering The crates a data engineer actually reaches for, each one checked against a Python counterpart. 9 episodes
25 The Rust data engineering ecosystem
One question at each layer, from the standard library through Arrow, Parquet, Polars, and DataFusion, with the cost of building each.
26 CSV, JSON, Serde, and schema validation
Ingestion into the batch ETL, with outputs checked against pandas, Polars, and PyArrow.
27 Apache Arrow and columnar memory
Batches in a columnar layout, and what that layout is for.
28 Parquet and data lakes
A partitioned Parquet writer, built around mistakes made while writing the sink.
29 Polars in Rust
One analytical pipeline in the Rust crate and in Python Polars, APIs side by side.
30 Apache DataFusion
The same report as SQL on DataFusion, DuckDB, and Polars, required to agree.
31 Databases and data movement
PostgreSQL to Parquet in Docker, including a query string that would not compile.
32 Cloud object storage
An S3-compatible pipeline on Garage, and a create-only write the store did not enforce.
33 Kafka and streaming pipelines
Redpanda to Rust to Parquet: a consumer left idle, and a rebalance that duplicated rows.
Part VII — Python, and production The same core, called from Python and then run as a service. 2 episodes
34 Rust and Python interoperability
A package built with PyO3 and Maturin. The call itself is cheap. The shape of the data crossing the boundary is not.
35 Production Rust engineering
That core inside a containerised HTTP service: logs, spans, metrics, backpressure, a profile, and a CI script.
Part VIII — Capstone One workspace that uses the earlier pieces as a platform, not a demo. 1 episode
36 A production-style data platform
Events from Kafka and users from PostgreSQL land as Parquet on object storage. A compaction job builds a silver table, DataFusion builds a gold mart, and Python reads both through manifests.
Part IX — A dashboard, hardened and shipped An extra section after the capstone: a dashboard a data engineer gets asked for, then made robust and put in containers. 4 episodes
37 A data dashboard with Axum
Routes, shared state, HTML pages, a JSON API, and charts over the Parquet lake, with errors rendered as responses.
38 A chatbot on the dashboard
Streaming answers from the OpenAI API, with a small set of read-only tools. Tests talk to a local stand-in, not the live API.
39 Sign-in, limits, and failure
Hashed passwords, sessions, CSRF, rate limits, and a circuit breaker for when the model API is slow or down.
40 Containers and production deployment
A small runtime image, Compose, TLS, health checks, resource limits, and restarts measured under load.
16 episodes · 4 hours 34 minutes
The Architecture of Large Language Models
No linear algebra, calculus, or machine learning assumed
- Claude Code
- Fable 5.2
- gpt-audio-1.5
- Kokoro-82M
A narrated, animated course from zero to the internals of a modern language model. Every idea follows the same path: the problem, an everyday analogy, an animation, the real term, the mathematics with every symbol explained, a worked number, then code. It ends with a small GPT written from scratch, and with the viewer able to explain a forward pass, a loss, a backward pass, a weight update, and how text is generated.
- Place an LLM inside AI, machine learning, and deep learning, and separate training from inference.
- Compute a small network by hand, then match that arithmetic with PyTorch.
- Follow a token through embeddings, attention, a transformer block, and the generation loop.
Narration: cedar, and Kokoro offline
gpt-audio-1.5, voice cedar
The same speaking language model as the Rust course, called through the Chat Completions API with audio output. The transcript of each sentence is checked against the script and requested again when it does not match.
Kokoro-82M, voice af_heart
A text-to-speech model with 82 million parameters, released under the Apache-2.0 licence. It runs offline, with no API key and no paid service. af_heart, an American English female voice, is played at 0.90× speed so the teaching pace is slightly slower.
Why both are on the page
One voice is a paid audio language model with a verification loop. The other is a small local model you can run yourself. Using each where it fits is part of the work these courses are meant to show.
Module 1 — What an LLM actually is The map of the whole system, then only the mathematics the later episodes use. 2 episodes
01 What Is an LLM and How Does It Work? 11:30
Tokens, parameters, training versus inference, and the path of a prompt from text to the next token and back around the loop.
02 The Mathematics You Need to Understand Neural Networks 18:22
Vectors, matrices, the dot product, exponents and logarithms, derivatives, the chain rule, and probability, each tied to where it shows up later.
Module 2 — Neural networks from the ground up One neuron, then a full forward and backward pass on a network small enough to compute by hand. 5 episodes
03 The Anatomy of a Neural Network 14:17
Weights, bias, the weighted sum, an activation, and how to count the parameters in a layer.
04 Forward Propagation 15:31
TinyNet, neuron by neuron, then the same arithmetic as matrices, then nn.Linear reproducing the hand calculation.
05 Activation Functions, Loss Functions, and Learning 18:14
Why stacked linear layers collapse, then sigmoid, ReLU, GELU, softmax, and cross-entropy on a next-token example.
06 Backpropagation 21:51
The chain rule from the loss back to every weight of TinyNet, then the same gradients from PyTorch.
07 Gradient Descent and Training Neural Networks 18:27
Learning rate, mini-batches, overfitting, and the optimizers used to train language models, including AdamW.
Module 3 — From neural networks to transformers Text becomes vectors, attention mixes them, and a decoder-only model is the stack of those blocks. 4 episodes
08 Tokenization and Embeddings 15:07
Byte Pair Encoding from scratch, a real GPT-2 tokenization, the embedding matrix, and why position has to be added.
09 Attention: The Breakthrough Idea 17:06
Query, key, and value. The scaled dot-product formula, every symbol and every shape, worked on three tokens.
10 Multi-Head Attention and the Transformer Block 17:17
Several heads, a causal mask, residual connections, layer norm, and the feed-forward network, assembled into one pre-norm block.
11 Inside a Modern Decoder-Only Transformer 17:40
The full data path of a GPT-style model, rotary embeddings, and a parameter count that reproduces GPT-2 small.
Module 4 — Training and use How the weights are set, how a trained model becomes a chatbot, and which modern techniques are optional. 3 episodes
12 How an LLM Is Actually Trained 16:29
Shifted targets, teacher forcing, one training step with cross-entropy and AdamW, perplexity, and distributed training at a high level.
13 From a Trained Model to a Chatbot 17:47
Greedy decoding, temperature, top-k, top-p, chat templates, and the KV cache that stops the model recomputing the past.
14 Modern LLM Techniques and Advanced Architecture 19:08
Mixture of experts, grouped-query attention, LoRA, quantisation, distillation, and retrieval, with a clear line between architecture, training, and deployment.
Module 5 — Build it, then say it in one pass A complete small model, then the whole architecture as one picture. 2 episodes
15 Build a Tiny GPT From Scratch 20:36
Tokenizer, embeddings, causal attention, the block, the loss, AdamW, and a real training run. No ready-made transformer layers.
16 Putting It All Together 14:24
Inference and training drawn as two flows through the same architecture, and a last walkthrough you could give to a friend.