A diagram of a transformer with LoRA adapters

Building a Pure-Python LoRA Adapter for BERT: A Portfolio Project

This post walks through building a LoRA adapter injection layer for BERT in pure Python, including a complete fine-tuning loop, and shows how to extend it for production-grade systems.

September 13, 2026 · 6 min · 1241 words · martinuke0
Low-rank adaptation diagram showing decomposed weight matrices added to a transformer layer

Build a LoRA Adapter from Scratch: A Portfolio-Ready PyTorch Project

A hands-on build guide for implementing a LoRA adapter from scratch in PyTorch, including rank-decomposed weight matrices and a complete fine-tuning loop for BERT — designed to signal real ML engineering skill on a portfolio.

September 9, 2026 · 13 min · 2665 words · martinuke0
Code editor showing a Python tokenizer implementation with token merges and a vocabulary table.

Build a WordPiece Tokenizer From Scratch: A CV-Worthy NLP Project

Build a production-shaped WordPiece tokenizer in Python with subword merging, BERT special tokens, and a greedy decode path. Includes runnable code, tests, and a roadmap to senior-level extensions.

September 6, 2026 · 12 min · 2489 words · martinuke0
Feedback