ML Interview Notes
Build status

Build status

Published material, executable checks, and the remaining curriculum work. Publication is not a guarantee that every scientific claim or hardware path has been independently verified.

21 of 27 tracked items complete

Platform

The site itself — how pages are built, verified, and shipped.

11 of 13 done
  • Static site generatorDone

    Markdown in content/ builds to HTML in _site/. Multi-course aware: adding a course needs a directory, a course.yml, and Markdown files — no code change.

  • Design systemDone

    A shared editorial reading layout with per-topic accent colours, Georgia headings, DM Sans text, Fira Code, and light, dark, or system-driven appearance.

  • Math, diagrams, and code renderingDone

    KaTeX for inline and display math; Mermaid diagrams with pan, zoom, and full-size view; syntax-labelled code blocks; scrollable tables.

  • Continuous deploymentDone

    Pushes to main build and publish to GitHub Pages automatically. Pull requests run the same build without deploying.

  • Build verificationDone

    Every deploy is gated on a check suite asserting that each source file produced a page, internal links resolve, diagram containers exist, and math markup survived the pipeline. Browser rendering and semantic correctness require separate checks.

  • Custom domain and HTTPSDone

    mlinterviewnotes.com, served over TLS.

  • Earlier diagram reviewDone

    An earlier review covered 67 Transformer diagrams. The later curriculum audit identified additional mathematical and implementation qualifications; that historical pass is not a current guarantee of complete diagram or scientific correctness.

  • Interactive widget supportDone

    Pages can embed raw HTML blocks and pull in their own scripts, so D3-driven explanations live alongside ordinary Markdown.

  • Site-wide searchDone

    Full-text client-side search across courses, notes, and labs, with section filters and saved-page browsing. No backend needed.

  • Personal reading preferencesDone

    Adjustable text size, focus mode, saved pages, reading progress, resume reading, and code copying. Preferences stay in the browser.

  • Contribution guidePlanned

    A CONTRIBUTING.md covering the Markdown conventions, how to preview locally, and what the verification pass checks.

  • Executable ML and DL examplesDone

    Each of the 24 ML/DL topic pages has independent CPU examples, with downloadable Python generated from the displayed code. A separate test suite checks coverage, assertions, execution and source parity; GPU and distributed fragments are outside that suite's scope.

  • Curriculum accuracy and depth reviewIn progress

    The whole-site audit is complete. ML and DL corrections and expansion are implemented; math, libraries, NLP, Transformer-course and inference-course findings remain a separate correction backlog.

Courses

Long-form, sequential material built from first principles.

4 of 6 done
  • Transformers Deep Dive — 17 modulesDone

    From "why did we abandon RNNs?" through to the configuration choices in production 2026 models. Includes 67 diagrams, worked numeric examples, self-check questions, and a runnable reference decoder.

  • The Inference Engineering Course — 14 chaptersDone

    How LLM serving systems actually work, read out of the vLLM and SGLang source: continuous batching, PagedAttention and RadixAttention, quantization, parallelism, speculative decoding, and honest benchmarking. 91 pages with 304 diagrams and hands-on labs. Ships as prebuilt HTML re-themed to the site palette — see the note below.

  • PyTorch from Tensors to LLMs — 38 modulesDone

    PyTorch 2.8 from tensor strides and autograd internals through torch.compile, distributed training, custom kernels, export and quantization, ending with a GPT-style model built, trained, evaluated, fine-tuned and exported on a CPU. Every module carries executable checks, and the labs are tested in CI.

  • Bring the inference book into the Markdown pipelinePlanned

    That course has no Markdown sources, so it is published as finished HTML and re-themed through CSS custom properties rather than converted. Conversion must preserve dense systems content and stable links. The current source HTML can be edited directly; conversion is not a prerequisite for repairing its audit findings.

  • Classical ML refresherPlanned

    Linear and logistic regression, trees and ensembles, SVMs, clustering — derived rather than recited.

  • LLM Fine-Tuning Deep Dive — 21 modulesDone

    From "why not just prompt it?" through supervised fine-tuning, LoRA and QLoRA, preference optimisation, RL with verifiable rewards and distillation, to agents, multimodal and long-context tuning, merging, safety, and serving adapters at a known cost. Worked numeric examples, self-check questions, an interview bank, and executable CPU checks.

Notes

All five categories have published material across 53 topic pages. ML and DL now include deeper worked chapters and executable CPU examples; the remaining categories have distinct review and expansion backlogs.

6 of 6 done
  • Math for ML — 8 topics writtenDone

    Linear algebra (with five interactive visualizations), calculus and matrix calculus, probability, statistics and inference, optimization, information theory, discrete mathematics, and numerical computing. Worked examples, diagrams, failure modes, and self-check questions are published. The audit's corrections and further depth work remain.

  • Libraries for ML — 9 topics writtenDone

    NumPy, pandas, scikit-learn, PyTorch, TensorFlow and Keras, the boosting libraries, visualization, the Hugging Face stack, and MLOps and serving. Each page teaches the library's underlying model — memory layout, index alignment, the estimator contract, tracing, the fit/transform boundary — rather than listing API calls.

  • Machine Learning — 12 topics writtenDone

    Problem framing, linear models, trees and ensembles, SVMs and kernels, probabilistic and instance-based models, unsupervised learning, bias-variance and generalization, model evaluation, feature engineering, hyperparameter tuning, imbalanced data and practical pitfalls, and ethics and fairness. Every chapter has runnable CPU examples, worked calculations and solved self-checks. Linear/logistic regression, decision trees, random forests, KNN, KMeans, AdaBoost, XGBoost, CatBoost and hierarchical clustering have explicit coverage.

  • Deep Learning — 12 topics writtenDone

    Neural networks and backpropagation, activations and initialization, optimization and training, regularization and normalization, CNNs, RNNs and sequence models, attention and transformers, transfer learning and PEFT, generative models, self-supervised learning, and deep reinforcement learning including RLHF, GRPO and the distinct DPO objective. All twelve chapters are expanded with numerical reasoning, independent experiments and solved exercises; accelerator performance and large pretrained-model workflows are not certified by the CPU checks.

  • NLP — 12 topics writtenDone

    Preprocessing and tokenization, text representation, language models, classification, sequence labeling, machine translation, generation and decoding, pretrained model families, prompting and alignment, RAG and retrieval, speech and audio, and evaluation. Organised by problem rather than by model, so the pages survive the next architecture.

  • One page per topicDone

    Notes are two levels: a category page lists its topics, and each written topic is its own page beneath it — /notes/math/ holds /notes/math/linear-algebra/. A topic never sits beside the category it belongs to.

Sections still to build

Planned in the original site and carried forward here. Both were empty in the previous database, so both start from scratch.

0 of 2 done
  • Question & AnswerPlanned

    Interview questions with worked answers, explanations, and code — organised by category and difficulty.

  • System DesignPlanned

    ML system design patterns: problem statement, architecture, key components, scaling considerations, and trade-offs.

Explore the library

Reading preferences

Appearance
18 px