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.
Hands-On Build: Speculative Draft‑Then‑Verify Inference Engine with Sliding‑Window KV Cache Eviction in Pure Python
A minimal, pure‑Python inference engine that drafts token candidates then verifies them using a sliding‑window key‑value cache, perfect for demonstrating systems competence in AI interviews.
Hybrid BM25 + Dense Retrieval Engine with Reciprocal Rank Fusion in Pure Python
A minimal, pure‑Python implementation of a hybrid BM25 + dense retriever fused via Reciprocal Rank Fusion, perfect for a standout CV project.