Abstract representation of a graph of vectors

Building a HNSW Vector Index from Scratch in Python

This guide walks you through building a hierarchical navigable small world vector index in pure Python. You’ll learn brute‑force construction, greedy graph search, and how to extend it for production.

September 16, 2026 · 3 min · 546 words · martinuke0
BPE tokenizer code

Building a BPE Tokenizer from Scratch in Pure Python

A hands‑on guide to implementing a byte‑pair encoding tokenizer in pure Python, covering vocabulary learning, encode/decode, and merge‑based subword segmentation.

September 16, 2026 · 1 min · 71 words · martinuke0
Code editor showing a tokenizer implementation with merge queue diagrams

Build a Streaming Byte-Level BPE Tokenizer: A Portfolio Project That Signals Real Systems Skill

A hands-on build guide for a streaming byte-level BPE tokenizer with persistent merge queues, atomic byte-loss tracking, and reversible byte fallback for arbitrary Unicode.

September 15, 2026 · 16 min · 3221 words · martinuke0
Paged KV cache allocation diagram

Building a Paged KV Cache Allocator with Continuous Batching in Pure Python

This project demonstrates memory management, concurrent request scheduling, and low-level allocator design—all core skills for backend and ML infrastructure roles.

September 15, 2026 · 8 min · 1577 words · martinuke0
A visualization of paged attention memory blocks arranged in a cache hierarchy with eviction pointers

Build a Paged Attention KV-Cache Manager with LRU Eviction in Pure Python

A hands-on build guide for a paged attention KV-cache manager with LRU eviction in pure Python — a portfolio project that demonstrates LLM inference systems knowledge and signals senior-level engineering capability.

September 15, 2026 · 11 min · 2312 words · martinuke0
Feedback