Schematic of a Mixture‑of‑Experts routing layer with expert towers and top‑k gates.

From-Scratch Mixture-of-Experts Routing Layer with Noisy Top‑k Gating and Load‑Balancing Auxiliary Loss

A complete guide and runnable PyTorch implementation of a Mixture‑of‑Experts layer with noisy top‑k routing, auxiliary load‑balancing, and token dispatch, perfect for a portfolio CV.

November 21, 2026 · 12 min · 2527 words · martinuke0
A code editor displaying a PyTorch training script for parameter-efficient fine-tuning

Build a 7B PEFT Trainer in 800 Lines of PyTorch: LoRA, DoRA, rsLoRA, NF4, and Zero-Copy Merging

Build a production-flavored PEFT trainer in ~800 lines of PyTorch that implements LoRA, DoRA, rsLoRA, and NF4 quantization with zero-copy merging, and learn the systems skills hiring managers notice.

November 18, 2026 · 10 min · 2052 words · martinuke0
Illustration of a PyTorch model with LoRA adapters

From-Scratch Parameter-Efficient Fine-Tuning Library: LoRA, QLoRA, and DoRA in Pure PyTorch

A hands-on guide to building a from-scratch PEFT library with LoRA, QLoRA, and DoRA in pure PyTorch, ready to showcase on your CV.

November 15, 2026 · 9 min · 1778 words · martinuke0
A schematic of a transformer with low‑rank adapter matrices

Pure‑Python LoRA Adapter: A Portfolio Project for Systems Engineers

A hands‑on guide to implementing a pure‑Python LoRA adapter and fine‑tuning pipeline, ideal for building a portfolio project that signals real systems expertise.

November 3, 2026 · 7 min · 1298 words · martinuke0
A sleek notebook with code snippets and a transformer diagram.

From‑Scratch LoRA Adapter Implementation in Pure PyTorch

A hands‑on guide to implementing LoRA adapters in pure PyTorch, training only the low‑rank parameters while freezing the base model.

October 31, 2026 · 7 min · 1387 words · martinuke0
Feedback