// TODO: I’m martinuke0

Welcome to my corner of the internet. This website is a personal blog which I use as a platform to document my learning journey and showcase it for the world to see.
Sparse mixture-of-experts router code

Build a Sparse Mixture-of-Experts Router from Scratch in Python

A hands‑on guide to implementing a sparse MoE router in pure Python, complete with top‑k gating, load‑balancing loss, and token dropping, perfect for a standout CV project.

November 26, 2026 · 9 min · 1869 words · martinuke0
Illustration of a Python tokenizer flowing through bytes and tokens

Byte‑Level BPE Tokenizer with GPT‑4 Pre‑tokenization and tiktoken‑Compatible Serialization in Pure Python

A step‑by‑step pure Python implementation of a byte‑level BPE tokenizer with GPT‑4 pre‑tokenization and tiktoken‑compatible output, ideal for demonstrating systems skills.

November 26, 2026 · 8 min · 1555 words · martinuke0
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
 schematic of inference engine with sliding window cache

Hands-On Build: Speculative Draft‑Then‑Verify Inference Engine with Sliding‑Window KV Cache Eviction in Pure Python

A minimal, pure‑Python inference engine that drafts token candidates then verifies them using a sliding‑window key‑value cache, perfect for demonstrating systems competence in AI interviews.

November 25, 2026 · 8 min · 1639 words · martinuke0
Hybrid retrieval engine diagram

Hybrid BM25 + Dense Retrieval Engine with Reciprocal Rank Fusion in Pure Python

A minimal, pure‑Python implementation of a hybrid BM25 + dense retriever fused via Reciprocal Rank Fusion, perfect for a standout CV project.

November 25, 2026 · 9 min · 1750 words · martinuke0
Feedback