Abstract illustration of a token stream passing through a draft and verification pipeline.

Speculative Decoding with a Draft N‑gram Model: A Pure‑Python Inference Engine

This project demonstrates end‑to‑end inference engineering, from language modeling to low‑latency token generation, and signals strong systems skills to hiring managers.

September 15, 2026 · 7 min · 1376 words · martinuke0
A code editor showing a Python sampler class with visualization of probability distributions

Build an LLM Decoding Sampler from Scratch: A Portfolio Project That Signals Real Systems Skill

A hands-on guide to building a from-scratch LLM decoding sampler implementing temperature, top-k, top-p, and contrastive search in pure Python. Includes architecture, complete code, and a roadmap to senior-level extensions.

September 12, 2026 · 14 min · 2866 words · martinuke0
A code editor showing a Python implementation of a transformer attention block with mathematical notation in the background.

Build a Transformer Self-Attention Block from Scratch in Pure Python

A hands-on guide to implementing a transformer self-attention block from scratch in pure Python, covering rotary positional embeddings, causal masking, and grouped-query attention — with real, runnable code and a roadmap to production-grade extensions.

September 8, 2026 · 14 min · 2776 words · martinuke0
Animated visualization of BPE merges building a vocabulary table.

Build a Byte-Level BPE Tokenizer From Scratch: A Portfolio Project That Actually Signals Systems Skill

Ship a production-flavored BPE tokenizer end to end: byte-level pretokenization, regex splitting, merge learning, and a Tkinter visualization that animates each merge so you can actually see vocabulary grow.

September 7, 2026 · 12 min · 2388 words · martinuke0
Abstract visualization of probability distributions and token sampling strategies.

Build a Token Sampler From Scratch: Temperature, Top-k, Top-p, Min-p, and Contrastive Search

Build a streaming token sampler from scratch in PyTorch covering temperature, top-k, top-p, min-p, and contrastive search — a CV-worthy systems project for ML engineers.

September 6, 2026 · 11 min · 2266 words · martinuke0
Feedback