#algorithms
Nov 16, 2026
When a small model picks tools or experts, plain softmax hides imbalance. I walk through doubly-stochastic routing, the entropy regularizer, and what changed in offline eval.
Nov 9, 2026
My open-source experiment on compacting long chats: a dependency graph that worked on synthetic data, neighbour smoothing that worked on LoCoMo, and an honest negative result.
Nov 6, 2026
After reading a post on LLMs reading model weights, I trained two tiny game networks, read the game back with a forty-line script, and hand-wrote a five-neuron player that beat the trained one.
Aug 11, 2025
How neural TTS turns text into sound, mel spectrograms and iSTFT vocoders in code, a local English and Russian voice stack, and lip sync from a loudness envelope.
Jul 22, 2024
Truncation, packing, and query-conditioned compaction when production RAG outgrows the context window.
Dec 18, 2023
A structured approach to ML system design questions, drawn from my experience interviewing at top tech companies and reaching LeetCode rank 234.
Mar 14, 2023
Why average capacity metrics miss the links that actually fail, and how to find strong vs weak bottlenecks.
Nov 8, 2021
Covariate shift, concept drift, delayed labels and a feedback loop between offers and comps: Zillow's iBuyer collapse as a production ML failure, and the hard guardrails it lacked.
Dec 10, 2020
Why insert-at-index loses the other person's sentence, and the merge rules plus Yjs setup that stopped doing it.
Oct 7, 2020
Fine-tuned BERT stays for known intents. A threshold sends the long tail to a prompted model.
Sep 16, 2020
TF-IDF still wins on exact tokens. Skip-gram and BERT vectors need a normalized index, an over-fetch, and a filter that the index itself does not apply.