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.
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.
Build a from-scratch int4 quantized transformer decoder in Python, demonstrating calibration, per-channel scaling, and GEMM for real systems skill.
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.
A hands-on guide to implementing efficient low-precision attention in pure Python, showcasing quantization, GEMM, and architecture design for hiring managers.
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.