PyTorch code and neural network architecture diagram

Building a Multi-Head Self-Attention Block with RoPE and ALiBi from Scratch

A hands-on guide to building a multi-head self-attention block with RoPE and ALiBi from scratch, signaling advanced ML and systems engineering skills to hiring managers.

September 10, 2026 · 9 min · 1903 words · martinuke0
Cover image showing INT4 quantization flow: FP16 weights compressed to INT4 with block-wise scales

Build an INT4 Block-Wise Weight-Only Quantizer for Transformer Attention Layers

Build a production-grade INT4 block-wise weight-only quantizer from scratch in pure Python. This guide covers calibration, dequantization, benchmarking, and why this project signals senior ML-systems skill to hiring managers.

September 10, 2026 · 13 min · 2663 words · martinuke0
Rotary embedding circle over a GPT schematic

Hands‑On Build Guide: Rotary Positional Embedding for a Tiny GPT

A step‑by‑step implementation of a tiny GPT with rotary positional embeddings, from architecture to runnable code, perfect for demonstrating systems skill to hiring managers.

September 9, 2026 · 9 min · 1857 words · martinuke0
A code editor showing a Python implementation of a transformer attention block with mathematical notation in the background.

Build a Transformer Self-Attention Block from Scratch in Pure Python

A hands-on guide to implementing a transformer self-attention block from scratch in pure Python, covering rotary positional embeddings, causal masking, and grouped-query attention — with real, runnable code and a roadmap to production-grade extensions.

September 8, 2026 · 14 min · 2776 words · martinuke0
Diagram of grouped-query attention with rotary position embeddings feeding into a tiled Flash-Attention forward pass.

Building Grouped-Query Attention with RoPE and Flash-Attention from Scratch

Step-by-step tutorial for implementing GQA, RoPE, and an online-softmax Flash-Attention forward pass in pure PyTorch — a portfolio project that signals real systems-level ML skill.

September 7, 2026 · 11 min · 2313 words · martinuke0
Feedback