A sleek Python script running on a laptop, illustrating a router directing traffic to expert modules.

Hands‑On Build: Mixture‑of‑Experts Top‑K Gating Router in Pure Python

A step‑by‑step guide to implementing a mixture‑of‑experts router from scratch in Python, complete with top‑k gating, auxiliary loss, and production‑ready extensions.

September 17, 2026 · 9 min · 1907 words · martinuke0
A token‑aware sliding window for LLM prompt truncation

Hands‑On Build Guide: Sliding‑Window Context Manager with Attention‑Weighted Relevance Scoring

Learn to build a token‑aware sliding‑window context manager that keeps the most relevant prompt parts within token limits.

September 17, 2026 · 6 min · 1136 words · martinuke0
Adaptive nucleus sampler concept

Pure‑Python Adaptive Nucleus Sampler: A Portfolio Project

Implement an adaptive nucleus sampler in Python that adjusts temperature and top‑p from token entropy, demonstrating systems thinking for hiring managers.

September 17, 2026 · 6 min · 1182 words · martinuke0
A diagram of a BPE tokenizer pipeline

Build a BPE Tokenizer from Scratch: Parallel Vocab Builder, Priority‑Heap Merge Scheduler, Subword Regularization, and Streaming Encoder with LRU Caching

A hands‑on guide to building a production‑grade BPE tokenizer that demonstrates parallel processing, algorithmic scheduling, and caching strategies for hiring managers.

September 17, 2026 · 9 min · 1746 words · martinuke0
GPTQ quantization engine pipeline diagram

Building a GPTQ Weight Quantization Engine from Scratch: Fisher Scoring & Mixed-Precision Calibration

Learn to build a functional GPTQ quantization engine from scratch, complete with Fisher information scoring and mixed-precision calibration, and how to signal systems-level engineering skill to hiring managers.

September 17, 2026 · 8 min · 1534 words · martinuke0
Feedback