From‑Scratch LoRA Fine‑Tuning Engine for a Nano Transformer in Pure NumPy
This post walks through building a minimal LoRA fine‑tuning engine for a nano transformer using pure NumPy, including architecture, code, tests, and scaling ideas.
This post walks through building a minimal LoRA fine‑tuning engine for a nano transformer using pure NumPy, including architecture, code, tests, and scaling ideas.
Implement a FlashAttention‑style tiled self‑attention block with online softmax in pure NumPy, demonstrating systems engineering proficiency.
Build a pure‑NumPy batched token sampler with temperature, top‑k, nucleus, and repetition penalty; ready to run and extend for CV demonstrations.
This post walks through building a FlashAttention-style tiled self-attention block in NumPy, covering online softmax, KV caching, and performance benchmarks.
A step‑by‑step NumPy implementation of tiled soft‑max attention, mirroring FlashAttention’s efficiency, perfect for a CV‑boosting side project.