Streaming KV cache architecture diagram

Streaming KV Cache with Attention Sinks for Infinite Context in Pure Python

Learn to implement a streaming KV cache with attention sinks in Python, enabling infinite context for large language models.

September 29, 2026 · 6 min · 1222 words · martinuke0
Code editor with a visualizing HNSW graph

Hierarchical Navigable Small World Vector Index: A Hands‑On Portfolio Project

A step‑by‑step guide to building a hierarchical navigable small‑world vector index from scratch, with runnable code, benchmarking, and production‑ready extensions.

September 28, 2026 · 5 min · 1046 words · martinuke0
Python code visualizing token probability distributions and nucleus sampling

Pure-Python Top-P Nucleus Sampler with Adaptive Temperature Scheduling

A complete build guide for a pure-Python top-p nucleus sampler with adaptive temperature scheduling and token probability tools, ready to run and extend.

September 28, 2026 · 8 min · 1647 words · martinuke0
A Python code editor displaying sampling probability distributions and logits on a dark terminal.

Building a Production-Grade Sampling Engine in Pure Python

A hands-on guide to building a deterministic sampling engine in pure Python, covering temperature, top-k, top-p, and nucleus sampling with production-grade architecture patterns you can showcase to hiring managers.

September 28, 2026 · 11 min · 2308 words · martinuke0
Screenshot of the live merge‑tree visualizer

Hands‑on build of a pure‑Python BPE tokenizer with Huffman merge tree, live visualizer, and tiny LM demo—great for showcasing systems skills

A practical, pure‑Python BPE tokenizer with a Huffman‑coded merge tree, live visualizer, and character‑level LM demo that highlights systems engineering skills.

September 27, 2026 · 7 min · 1475 words · martinuke0
Feedback