A laptop screen showing a NumPy quantizer code snippet.

From‑Scratch GPTQ int4/int8 Post‑Training Quantizer with Group‑Wise Scales and Hessian Error Compensation

A hands‑on NumPy implementation of GPTQ post‑training quantization with group‑wise scales and Hessian error compensation, ready to embed in any CV/ML portfolio.

November 30, 2026 · 9 min · 1855 words · martinuke0
A laptop screen showing NumPy arrays and binary weight visualizations.

Hands-on Build Guide: Custom 4-bit Weight-only Quantization Engine with GGUF-style Block Scaling in Pure NumPy

A step‑by‑step guide to implementing a 4‑bit weight‑only quantizer with block scaling using only NumPy, plus a roadmap to production‑grade features.

November 29, 2026 · 10 min · 2019 words · martinuke0
A schematic of a tiled attention matrix with softmax arrows.

Build a Flash Attention Kernel from Scratch with Pure NumPy

Implement a flash‑attention kernel from scratch in NumPy, covering online softmax, tiling, and performance tricks you can run and extend.

November 29, 2026 · 7 min · 1461 words · martinuke0
A sleek notebook with code snippets and a neural network diagram.

From‑Scratch Mixture‑of‑Experts Layer in Pure NumPy

A hands‑on guide to implementing a from‑scratch MoE layer in NumPy and training a miniature transformer on character‑level language modeling, with runnable code and production‑style extensions.

November 27, 2026 · 10 min · 2125 words · martinuke0
LoRA fine‑tuning engine illustration

Pure‑NumPy LoRA Fine‑Tuning Engine: From Frozen Weights to Merged Checkpoint

A minimal, pure‑NumPy implementation of LoRA fine‑tuning that freezes base weights, learns low‑rank adapters, and merges deltas into a checkpoint – perfect for a portfolio CV project.

November 25, 2026 · 6 min · 1224 words · martinuke0
Feedback