Abstract visualization of a neural network sampling distribution

Adaptive Temperature‑Scaled Top‑p/k Sampler with Dynamic Entropy Throttling

A hands‑on guide to implementing an adaptive temperature‑scaled top‑p/k sampler with dynamic entropy throttling in pure Python.

October 24, 2026 · 7 min · 1323 words · martinuke0
NumPy token sampler project cover

Hands-On Build Guide: Batched LLM Token Sampler in Pure NumPy

Build a pure‑NumPy batched token sampler with temperature, top‑k, nucleus, and repetition penalty; ready to run and extend for CV demonstrations.

October 22, 2026 · 10 min · 1969 words · martinuke0
Python token sampler illustration

Hands‑On Build Guide: Pure‑Python Token Sampler with Temperature, Top‑k, and Nucleus Sampling

A step‑by‑step guide to building a runnable Python token sampler with temperature, top‑k, and nucleus sampling, perfect for a CV demo.

October 14, 2026 · 7 min · 1434 words · martinuke0
A diagram of a sampler pipeline

Building a Pure-Python Top-p/Top-k Sampler with Temperature Scaling for LLM Logits

This post walks through building a pure-Python top-p/top-k sampler with temperature scaling, providing runnable code and a roadmap for productionizing it.

October 14, 2026 · 7 min · 1299 words · martinuke0
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
Feedback