From-Scratch IVF-PQ Vector Index in Pure Python: A Hands-On Portfolio Guide
A complete hands-on guide to building a pure-Python IVF-PQ vector index from k-means to ASDL, perfect for a CV side project that demonstrates real systems engineering skills.
From‑Scratch Mixture‑of‑Experts Layer in Pure NumPy
A hands‑on guide to implementing a from‑scratch MoE layer in NumPy and training a miniature transformer on character‑level language modeling, with runnable code and production‑style extensions.
Build a Sparse Mixture-of-Experts Router from Scratch in Python
A hands‑on guide to implementing a sparse MoE router in pure Python, complete with top‑k gating, load‑balancing loss, and token dropping, perfect for a standout CV project.
Byte‑Level BPE Tokenizer with GPT‑4 Pre‑tokenization and tiktoken‑Compatible Serialization in Pure Python
A step‑by‑step pure Python implementation of a byte‑level BPE tokenizer with GPT‑4 pre‑tokenization and tiktoken‑compatible output, ideal for demonstrating systems skills.
From-Scratch Speculative Decoding Engine in Pure Python
A hands‑on guide to building a speculative decoding engine in pure Python, complete with code, tests, and production‑ready extensions.