Building a BPE Tokenizer from Scratch in Python
Implement a byte-level BPE tokenizer from scratch, test it, and extend it to production-grade tooling.
Implement a byte-level BPE tokenizer from scratch, test it, and extend it to production-grade tooling.
A hands-on guide to building a sliding-window prompt compressor from scratch in pure Python, using a learned importance scorer to evict low-relevance tokens and keep attention focused within a fixed context budget.
This guide walks you through implementing a BM25 sparse retriever and a tiny decoder‑only transformer generator from scratch in pure Python, producing a functional RAG pipeline you can showcase on your CV.
A hands-on guide to building a from-scratch LLM sampler with temperature scaling, top-k/top-p warping, and multinomial sampling, benchmarked against Hugging Face. Includes runnable code and a roadmap to production.
Build a production-grade GGUF parser from scratch in pure Python, featuring memory-mapped quantized tensor loading. Learn the format internals, write real dequantization kernels, and discover why this project stands out to hiring managers.