A clean visualization of probability distributions after different decoding strategies

From Scratch Decoding: Building a Pure-Python Sampler for Transformer Logits

A hands-on guide to building a pure-Python sampler for transformer logits, covering temperature scaling, top-k, top-p, and typical-p decoding from scratch.

October 11, 2026 · 9 min · 1860 words · martinuke0
A diagram of attention mechanism

Build an Attention Block from Scratch: A Portfolio Project for Systems Engineers

Learn to implement a transformer attention block from scratch in Python, package it as a service, and extend it with production-grade features.

October 10, 2026 · 8 min · 1643 words · martinuke0
A visualization of a vector graph

Building a Pure Python HNSW Vector Index with Disk Persistence

Learn to implement a hierarchical navigable small world graph from scratch in Python, with persistence and incremental updates, to impress hiring managers.

October 10, 2026 · 13 min · 2738 words · martinuke0
A minimal time-series database architecture diagram

Building a Minimal Time-Series Database with Gorilla Compression

A hands-on guide to implementing a minimal time-series database with Gorilla compression, including architecture, code, testing, and production extensions.

October 9, 2026 · 7 min · 1392 words · martinuke0
A sleek Python code terminal with circuit diagram overlay

Build a Pure‑Python Mixture‑of‑Experts Router from Scratch

This guide walks you through building a pure‑Python Mixture‑of‑Experts router from scratch. The result is a runnable project you can showcase on any CV.

October 8, 2026 · 8 min · 1495 words · martinuke0
Feedback