Skill Suites
Code-first guides on AI, DevOps, and shipping software
Real proof-of-concepts you can run today. No fluff, no filler, just working examples.
Latest articles
-

Preference Tuning: RLHF, DPO, and the Verifiable-Reward Branch
Preference tuning teaches better versus worse, which SFT cannot. RLHF, DPO and its beta, the KTO and ORPO and SimPO family, and…
-

QLoRA Explained: A 4-Bit Base, NF4, and What It Really Costs
QLoRA puts a 7B to 30B fine-tune on one card. NF4, double quantisation, paged optimizers, the throughput tax nobody mentions, and the…
-

LoRA Explained: Freeze the Model, Learn a Low-Rank Patch
LoRA fine-tuning from the mechanic up: the low-rank update, the zero initialisation, rank and alpha, the honest comparison, and merging versus adapter…
-

Data Is the Actual Job: Formats, Quality, Splits and Synthetic Data
Your fine-tuning dataset decides everything the loop does not. Formats, deduplication, decontamination, honest splits, synthetic data and model collapse.
-

Supervised Fine-Tuning End to End: The First Real Run
A full supervised fine-tune twice over: a bare PyTorch loop and the same job through a trainer. Hyperparameters that work, plus how…
-

Choosing a Base Model and Building a Fine-Tuning Bench
How to pick a base model for fine-tuning, three candidates read as datasheets, where to run the bench, and the toolchain stack…
-

Masking in LLM Training: Loss, Causal and Padding
Three things share the name masking. Loss masking with -100, the causal mask the architecture applies, and the padding mask you build.…
-

AdamW Explained, Line by Line
AdamW dissected: where it runs, the lineage behind the name, the four update lines, why decoupled weight decay was a real fix,…
-

Gradients and Optimizers: From SGD to Adam, and Why m and v Cost 8 Bytes
What a gradient is, what an optimizer decides, and why Adam’s two running statistics per weight are worth 8 bytes each on…
Browse by topic
- AI Use Cases40 posts
- Java & Spring15 posts
- LLM Fine-Tuning13 posts
- LLM Inference11 posts
- System Design10 posts
- Hosting & SSH9 posts
- AI Security2 posts
- Neural Networks2 posts