AI by Hand ✍️

AI by Hand ✍️

LoRA, Fine-Tune, Pre-Train

Frontier AI Drawings: 5 of 13

Prof. Tom Yeh's avatar
Prof. Tom Yeh
Aug 18, 2025
∙ Paid

Library › Frontier AI Drawings

  1. "Expert Choice" Mixture of Experts (MoE)

  2. MHA, MQA, GQA, MoE-A: More Attention!

  3. New GPT-OSS Trick to Ignore Tokens

  4. MXFP4, FP4, FP8

  5. LoRA, Fine-Tune, Pre-Train

  6. QLoRA, DoRA, BitFit, NF4 vs INT4

  7. KV Cache, Prefill, Decode

  8. EmbeddingGemma, MRL, InfoNCE, Embed vs. Decode

  9. Inference Batching, Request-vs-Token Level

  10. MLP Parallelism: Data, Context, Row, Column, Pipeline

  11. RoPE vs PE in QKV Self-Attention

  12. RMS, Group, Layer, Batch Norm, Tensor Parallelism

  13. Qwen 3

Apple Foundation Models LoRA fine-tuning quote

When Apple recently released their tech report, Apple Intelligence Foundation Language Models Tech Report, I wasn’t surprised to see LoRA mentioned.

By now, LoRA isn’t just a research curiosity — it’s everywhere. From startups running small models on edge devices to major players scaling frontier systems, parameter-efficient fine-tuning has become the standard toolkit.

What’s especially significant is that Apple highlights LoRA as a capability they want for their developers — “to integrate these capabilities with just a few lines of code.” That’s a strong signal of how mainstream LoRA has become.

Yet even though the idea behind LoRA is deceptively simple, many AI engineers have never looked at the math — beyond making a few library calls.

Not long ago, one company’s AI team leader reached out to me:

> “Can you help our team really understand LoRA?”

The company is deeply engaged in parameter-efficient fine-tuning, and they know that true understanding requires going beyond the API.

Drawings

This issue comes with six new drawings on Pre-Train, Fine-Tune, and LoRA — shown side by side in both Linear Layer and Self-Attention (3 × 2 = 6). I built them to help you get straight to the math and intuition, skipping the equation slog.

The six new worksheets are:

  1. Pre-Train (Linear Layer)

  2. Fine-Tune (Linear Layer)

  3. LoRA (Linear Layer)

  4. Pre-Train (Self Attention Layer)

  5. Fine-Tune (Self Attention Layer)

  6. LoRA (Self Attention Layer)

Printed LoRA worksheet pages

Page 1 of 6

Become a member to access the rest of the drawings.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 Tom Yeh · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture