A sleek notebook with code and diagrams

From‑Scratch MoE Transformer Block with Sinkhorn Routing in NumPy

A hands‑on guide to building a Mixture‑of‑Experts transformer block from scratch in NumPy. It features Sinkhorn‑based routing and balanced expert load, ready to showcase on a CV.

November 22, 2026 · 8 min · 1554 words · martinuke0
A circuit board with a transformer symbol

From Scratch: Building an int4 Quantized Transformer Decoder in Python

Build a from-scratch int4 quantized transformer decoder in Python, demonstrating calibration, per-channel scaling, and GEMM for real systems skill.

November 4, 2026 · 7 min · 1426 words · martinuke0
Short description of the cover image subject.

From‑Scratch LoRA Fine‑Tuning Engine for a Nano Transformer in Pure NumPy

This post walks through building a minimal LoRA fine‑tuning engine for a nano transformer using pure NumPy, including architecture, code, tests, and scaling ideas.

November 1, 2026 · 8 min · 1702 words · martinuke0
Quantized transformer attention block

From Scratch: Quantized Transformer Attention with Int4 Weights and Int8 GEMM in Pure Python

A hands-on guide to implementing efficient low-precision attention in pure Python, showcasing quantization, GEMM, and architecture design for hiring managers.

October 30, 2026 · 10 min · 1921 words · martinuke0
A sleek notebook with code snippets and transformer diagrams.

Build a Pure‑Python Transformer Encoder with RoPE and Learned KV Cache

A step‑by‑step tutorial and runnable code for a minimal transformer encoder that uses RoPE and a mutable KV cache, perfect for a portfolio CV.

October 29, 2026 · 10 min · 1986 words · martinuke0
Feedback