Python code on a laptop screen next to a schematic of a draft and target model

From-Scratch Speculative Decoding Engine in Pure Python

A hands‑on guide to building a speculative decoding engine in pure Python, complete with code, tests, and production‑ready extensions.

November 26, 2026 · 10 min · 2068 words · martinuke0
LoRA fine‑tuning engine illustration

Pure‑NumPy LoRA Fine‑Tuning Engine: From Frozen Weights to Merged Checkpoint

A minimal, pure‑NumPy implementation of LoRA fine‑tuning that freezes base weights, learns low‑rank adapters, and merges deltas into a checkpoint – perfect for a portfolio CV project.

November 25, 2026 · 6 min · 1224 words · martinuke0
Diagram of a mini GPT trainer with autograd and all-reduce

Build a Mini GPT Trainer: Hand‑Roll Autograd + Data‑Parallel All‑Reduce in Pure NumPy

Learn how to implement a tiny GPT trainer in pure NumPy, complete with autograd and distributed gradient all‑reduce, and why it signals real systems skill to hiring managers.

November 21, 2026 · 9 min · 1806 words · martinuke0
A sleek Python code editor with a diagram of expert networks

Hands‑On Build Guide: Minimal Mixture‑of‑Experts Inference Engine in Python

A step‑by‑step guide to coding a lightweight MoE inference engine in pure Python, complete with runnable code and extension ideas.

November 21, 2026 · 8 min · 1559 words · martinuke0
Python code on a laptop screen illustrating a router diagram

From‑Scratch Mixture‑of‑Experts Router with Top‑K Gating in Python

A practical, runnable Python implementation of a Mixture‑of‑Experts router with top‑k gating, perfect for a CV‑standing side project.

November 21, 2026 · 9 min · 1733 words · martinuke0
Feedback