Hands‑On Build Guide: Pure‑Python Byte‑Level BPE Tokenizer with Trie‑Based Merges
A step‑by‑step guide to implementing a byte‑level BPE tokenizer in pure Python, using a trie for merge rules and JSON serialization, perfect for a portfolio CV.
A step‑by‑step guide to implementing a byte‑level BPE tokenizer in pure Python, using a trie for merge rules and JSON serialization, perfect for a portfolio CV.
A hands‑on guide to implementing a complete LoRA fine‑tuning library in pure NumPy, complete with training, merging, and DoRA adapters.
A practical, runnable Python implementation of a GPT‑2 compatible BPE tokenizer, complete with regex pre‑tokenization, merge‑rank encoding, and byte‑level fallback for lossless Unicode handling.
Learn to implement an LLM sampler from scratch in pure Python, controlling temperature, top‑k and top‑p, and add a standout project to your CV.
Implement a memory‑efficient tiled self‑attention block in NumPy, benchmark it, and extend it with persistence and scaling – a concrete portfolio project that signals deep systems knowledge.