Real numbers first
Self-attention, Q/K/V and multi-head attention computed by hand on a three-word sentence, so every formula has a number you can check.
AI courses by industry scientists with Ph.D.s
LatentQuest courses teach the models behind modern AI the way they actually work: real numbers you can check on paper, then clean PyTorch, then real projects on real data.
Want a discount? Ask for a coupon →
Courses
Every course follows the same path: work through the math with real numbers, build it in PyTorch, then ship real projects.
The course
From vectors and attention math to BERT, Vision Transformers and two-tower semantic search. Taught by Mohammad R. Khalili Shoja and Seyed Vahid Mirnezami. You won't just hear definitions. You'll see the numbers, build the layers, and ship code that runs.
Self-attention, Q/K/V and multi-head attention computed by hand on a three-word sentence, so every formula has a number you can check.
Tensors, autograd and nn.Module, then a BERT-style masked language model written layer by layer.
Text classification, named entity recognition, distillation, Vision Transformers and two-tower semantic search on real Kaggle data.
Interview-ready intuition and working code, in one place.
A guide for every session, and runnable code for every project.
Try it
The running example from the course. Pick a word to see how much it attends to every other word, and the new context-aware vector it ends up with. Everything below is computed live in your browser.
Session 2: attention with no learned weights.
Focus weights for bank
Each row of the attention matrix sums to 1.
Full attention matrix
Rows = queries, columns = keys.
Vector before → after
The new vector is a weighted mix of every word.
Open source
Readable, tested, and runnable in Colab or on Kaggle. Start here, then take the full course for the complete path.
Self-attention explained with real numbers, then built in NumPy and PyTorch. Tests check every hand-worked number.
The full encoder block from scratch, plus an experiment: 50% accuracy without positional encoding, 100% with it.
Fine-tune a Vision Transformer on Kaggle cassava leaf photos, from patches to a competition submission.
Two-tower retrieval and cross-encoder re-ranking, built by hand from a plain transformer encoder.
Instructors
We both earned our Ph.D.s at Iowa State University and now build computer vision, recommendation and search systems in industry. LatentQuest is how we teach what we wish we'd been taught: understand every layer, then build it, then ship it.
Go from vectors and dot products to BERT, Vision Transformers and semantic search, with code you understand line by line.