Part 3 — Taxonomy of LLM Fine-Tuning Methods
Classify full, partial, and parameter-efficient updates separately from SFT, continued pretraining, preferences, reinforcement learning, and distillation.
Practical explanations and project-based series on coding, AI, and connected devices.
Start here · 10 parts · Executed Python notebooks
A first-principles curriculum on adapting language models, from next-token training and LoRA to preference optimization, evaluation, and deployment. Start with the introduction.
Project-based Python series
Eight project-based articles for developers who know basic Python. Build routing, retrieval, persistent human approval, retries, an optional local LLM, and a tested final application. Every part includes a downloadable code ZIP.
Read the LangGraph series Download the complete codeClassify full, partial, and parameter-efficient updates separately from SFT, continued pretraining, preferences, reinforcement learning, and distillation.
Trace the causal Transformer training loop from tokenization and masked attention to cross-entropy, backpropagation, and an optimizer update.
Understand what fine-tuning changes, calculate a next-token weight update, and choose between training, prompting, retrieval, and constraints.
Same prompt, three sentence completions. Language models sample the next token from a probability distribution — they do not look up a stored answer. Here is why, and how to lock the output down when you need the same reply twice.
A shop-desk agent: look up an order, read the return policy, check today's date, and draft a customer email. Same loop, two tickets, two different replies.
Start with a small working program, learn what a workflow means, and identify the problems a graph will help us organize.
Build and run a StateGraph, then trace how nodes return changes to a shared dictionary-shaped state.
Give technical questions and human-only requests different paths, and keep a readable log of the nodes that ran.
Find relevant local notes, attach source references to a reply, and stop a failed revision loop after a deliberate limit.
Store a review checkpoint in SQLite, end the process, and continue the same ticket with an explicit approval or rejection.
Recover from a simulated transient lookup failure, show the nodes that complete, and prevent a repeated queue operation from creating duplicate rows.
Replace one drafting function with an optional Ollama adapter, validate its JSON response, and keep source checks and human review around generated text.
Run the assembled application across separate commands, inspect the local outbox, and evaluate a fixed set of tickets before publishing the repository.
Breaking down the complex concepts of neural networks into simple terms
A comprehensive guide to creating effective data visualizations
Exploring the latest trends and developments in AI technology