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 stylized illustration of a neural network decoding tokens

From‑Scratch LLM Decoding Engine: Temperature, Top‑k, Top‑p, and Repetition Penalty

Build a compact LLM decoding engine in Python that implements temperature, top‑k, top‑p, and repetition penalty, demonstrating real systems skill for hiring managers.

November 6, 2026 · 6 min · 1220 words · martinuke0
Python code on a laptop screen with LLM concept art

A Hands-On Build Guide: Pure-Python From-Scratch LLM Decoding Engine

A step‑by‑step guide to building a pure‑Python LLM decoding engine from scratch, complete with runnable code, temperature, top‑k, top‑p, and typical sampling, perfect for a CV.

October 16, 2026 · 10 min · 2102 words · martinuke0
Feedback