A sleek Python code terminal showing a sampling engine script

A Unified Sampling Engine in Python: Temperature, Top‑k, Top‑p, Typical, and Epsilon‑Cutoff

A hands‑on guide to implementing a unified sampling engine that merges temperature, top‑k, top‑p, typical, and epsilon‑cutoff strategies, ready to run and extend for CV signals.

November 30, 2026 · 8 min · 1592 words · martinuke0
A sleek notebook with code visualisations

Build a Pure‑NumPy LLM Sampling Engine for Your Portfolio

Learn how to implement a complete LLM token‑sampling engine from scratch using only NumPy, with temperature, top‑k, top‑p, min‑p, repetition penalty and reproducible logit‑warping pipelines.

November 14, 2026 · 8 min · 1609 words · martinuke0
Python code editor with a decoding library illustration

Build a From‑Scratch Python Decoding Library with Temperature Scaling, Top‑k, Top‑p and Min‑p Sampling

A practical, from‑scratch decoding library that implements temperature scaling, top‑k, top‑p and min‑p sampling with a pluggable processor pipeline, perfect for demonstrating systems‑level Python skills in interviews or side‑projects.

November 12, 2026 · 10 min · 2129 words · martinuke0
A Python laptop with code visualisation

Build a Pure‑Python LLM Sampler: Temperature, Top‑k, and Top‑p from Scratch

Learn to implement an LLM sampler from scratch in pure Python, controlling temperature, top‑k and top‑p, and add a standout project to your CV.

November 11, 2026 · 8 min · 1626 words · martinuke0
Diagram of a token sampling pipeline

Temperature-Aware Top-P Nucleus Sampler with Top-K Fallback in Pure Python

A practical guide to implementing a temperature-aware nucleus sampler with top-k fallback, showcasing real systems engineering competencies.

November 9, 2026 · 7 min · 1363 words · martinuke0
Feedback