All guides

Track 4 · 5 guides · ~80 min

LLM Foundations

LLM Foundations → Transformers → Fine-tuning

The core theory track - from tokenization and attention to training, fine-tuning, and serving your own model.

  1. 1

    How LLMs Actually Work

    The full pipeline: tokens, embeddings, attention, next-token prediction, decoding, the KV cache, and context windows.

    14 min3 library topics3 papers

  2. 2

    Transformers Deep Dive

    Queries, keys, and values; multi-head attention; positional encodings; and why decoder-only won for generation.

    16 min2 library topics4 papers

  3. 3

    Classical ML & NLP - What LLMs Don't Replace

    Regex, TF-IDF, BM25, embeddings, and small models that solve many text problems for $0 - plus the neural-network basics underneath it all.

    17 min3 library topics4 papers

  4. 4

    Training Pipeline: Pretraining → SFT → Alignment

    How a base model becomes an assistant, what LoRA and QLoRA change, and how to fine-tune on a free GPU without fooling yourself.

    16 min1 library topics7 papers

  5. 5

    Optimization & Serving

    Quantization, distillation, FlashAttention, speculative decoding, PagedAttention, MoE - and how to run models locally or in production.

    15 min8 papers

Search Data Science After Dark

Search across prompts, models, papers, guides, and library topics.