A sleek notebook with code snippets and a neural network diagram

Build a Mini GPT Training Loop from Scratch

Learn how to implement a from‑scratch GPT training loop in PyTorch, with code you can run, test, and extend into production‑grade AI systems.

October 31, 2026 · 7 min · 1435 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 sleek notebook with code snippets and a transformer diagram.

Hands-On Build Guide: Minimal LoRA Fine‑Tuning Engine for a 2‑Layer Transformer

A practical, end‑to‑end guide to building a minimal LoRA fine‑tuning engine for a 2‑layer transformer, with runnable code and production‑ready extensions.

October 4, 2026 · 7 min · 1327 words · martinuke0
A sleek diagram of tensor weights flowing through memory‑mapped files

From‑Scratch Safetensors & GGUF Weight Loader with mmap‑Backed Zero‑Copy Views

A practical, runnable guide to constructing a from‑scratch safetensors/GGUF weight loader with zero‑copy mmap views, dtype/quantization decoding, and shape validation, perfect for a CV‑boosting side project.

October 2, 2026 · 10 min · 2029 words · martinuke0
A sleek Python notebook with memory‑mapped safetensors visualisation

Hands‑On Build Guide: Memory‑Mapped Safetensors Loader with Lazy Tensor Slicing

A practical guide to building a memory‑mapped safetensors loader with lazy slicing and zero‑copy NumPy views, perfect for signaling systems engineering skill on your CV.

September 30, 2026 · 9 min · 1809 words · martinuke0
Feedback