A sleek notebook with code snippets and a neural network diagram.

From‑Scratch Mixture‑of‑Experts Layer in Pure NumPy

A hands‑on guide to implementing a from‑scratch MoE layer in NumPy and training a miniature transformer on character‑level language modeling, with runnable code and production‑style extensions.

November 27, 2026 · 10 min · 2125 words · martinuke0
Switch transformer router project cover

Build a Switch Transformer Router with Top‑k Gating and Auxiliary Load‑Balancing in Pure Python

Learn how to implement a switch transformer router with top‑k gating, expert capacity, and auxiliary load‑balancing loss in pure Python, and why this project signals real systems skill to hiring managers.

November 17, 2026 · 9 min · 1809 words · martinuke0
Python code on a laptop screen with vector icons

Building a Pure‑Python RAG Pipeline with a Lightweight Transformer and KV‑Cached Attention

Learn how to construct a minimal, runnable RAG system in pure Python, from embeddings to retrieval‑augmented generation, and add a standout project to your CV.

November 14, 2026 · 10 min · 1949 words · martinuke0
Python code on a laptop screen illustrating a sparse routing diagram

Build a Pure‑Python Mixture‑of‑Experts Router from Scratch

A hands‑on guide to implementing a Mixture‑of‑Experts router from scratch in pure Python, with top‑k sparse routing and load‑balancing, ready to run and extend.

November 13, 2026 · 9 min · 1818 words · martinuke0
Minimal MoE routing layer illustration

Hands-On Build Guide: Minimal Mixture-of-Experts Routing Layer for Transformers in Pure Python

A step‑by‑step guide to implementing a minimal MoE routing layer from scratch, using only NumPy and pure Python, perfect for a portfolio CV.

November 11, 2026 · 8 min · 1671 words · martinuke0
Feedback