// 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.
Diagram of a byte-level BPE tokenizer pipeline

Building a Production-Grade Byte-Level BPE Tokenizer in Pure Python

A step-by-step guide to building a byte-level BPE tokenizer with regex pre-tokenization, trie encoding, and JSON serialization in pure Python.

October 21, 2026 · 8 min · 1616 words · martinuke0
A secure lock icon overlaid on a modern dashboard interface

User Safety: Safe-by-Design Patterns for Modern Applications

A practical guide to safe-by-design user-facing systems, covering authentication patterns, fault tolerance, and real-world failure modes at scale.

October 21, 2026 · 6 min · 1142 words · martinuke0
A laptop screen showing Python code and a flowchart of a tokenizer

Hands‑On BPE Tokenizer: Pure‑Python Incremental Merge Learning with Trie Lookup

This post walks you through building a from‑scratch BPE tokenizer in pure Python, complete with online incremental merge learning and a trie for fast tokenization. You’ll end up with a runnable library you can showcase on LinkedIn or a résumé.

October 21, 2026 · 9 min · 1824 words · martinuke0
A diagram showing the speculative decoding process with draft and target models.

Building a Speculative Decoding Engine in Pure Python: A CV-Worthy Side Project

Build a from-scratch speculative decoding engine in Python that demonstrates real systems skill. Includes a draft model, speculative sampling algorithm, and rejection sampling loop with runnable code.

October 20, 2026 · 10 min · 2116 words · martinuke0
Block-sparse sliding-window attention transformer architecture

Building a Block‑Sparse Sliding‑Window Attention Transformer with Reversible Layers in Pure Python

This post walks through building a block‑sparse sliding‑window attention transformer with reversible layers in pure Python, providing runnable code and architectural insights.

October 20, 2026 · 8 min · 1627 words · martinuke0
Feedback