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 code editor showing a Python sampler class with visualization of probability distributions

Build an LLM Decoding Sampler from Scratch: A Portfolio Project That Signals Real Systems Skill

A hands-on guide to building a from-scratch LLM decoding sampler implementing temperature, top-k, top-p, and contrastive search in pure Python. Includes architecture, complete code, and a roadmap to senior-level extensions.

September 12, 2026 · 14 min · 2866 words · martinuke0
A conceptual illustration of a token sampling distribution

Building a Production-Grade Top‑k/Top‑p Sampler with NumPy

This tutorial shows how to build a high‑performance top‑k/top‑p token sampler with temperature scaling and per‑token log‑probability tracking using NumPy. It demonstrates real systems skills relevant to ML inference roles.

September 9, 2026 · 2 min · 216 words · martinuke0
Abstract visualization of probability distributions and token sampling strategies.

Build a Token Sampler From Scratch: Temperature, Top-k, Top-p, Min-p, and Contrastive Search

Build a streaming token sampler from scratch in PyTorch covering temperature, top-k, top-p, min-p, and contrastive search — a CV-worthy systems project for ML engineers.

September 6, 2026 · 11 min · 2266 words · martinuke0
Abstract visualization of telemetry data flowing through processor pipelines with sampling decision nodes.

Inside OpenTelemetry's Span Processor: Tail-Sampling and Adaptive Bucket Aggregations

How modern span processors decide what to keep, what to drop, and how to bucket latency without lying to you. We unpack tail-sampling evaluators and adaptive bucket strategies used in OpenTelemetry Collector pipelines.

September 4, 2026 · 12 min · 2393 words · martinuke0
Feedback