From‑Scratch LoRA Adapter Implementation in Pure PyTorch
A hands‑on guide to implementing LoRA adapters in pure PyTorch, training only the low‑rank parameters while freezing the base model.
A hands‑on guide to implementing LoRA adapters in pure PyTorch, training only the low‑rank parameters while freezing the base model.
A hands-on guide to implementing efficient low-precision attention in pure Python, showcasing quantization, GEMM, and architecture design for hiring managers.
A step‑by‑step tutorial and runnable code for a minimal transformer encoder that uses RoPE and a mutable KV cache, perfect for a portfolio CV.
This post walks through building a sliding window attention inference engine with a compressed KV cache in pure Python, providing runnable code and architectural insights for a standout portfolio project.
A minimal, pure‑Python implementation of temperature‑scaled, top‑k, top‑p and min‑p token sampling, ready to run, test, and extend for your portfolio.