technical blogs
long-form explanations of machine learning and systems, written to be read slowly. start with the weekly series if you are new to ml.
22 posts · 4 shelvesML Inside Weird Things
3 postssystems
4 posts- 63 slidessystem design, visuallyinfographic slides on foundations, trade-offs, data, messaging and recovery
- how does virtual memory even work?page tables, tlbs, page faults and copy-on-write
- how does interprocess communication work?pipes, message queues, shared memory and synchronization
- how does dynamic memory allocation work?the heap, malloc, free and allocator internals
the weekly series
10 weeks- week 01linear regressiona deep dive into linear regression and the math behind it
- week 02transformersa deep dive into transformers and a visual guide into how it works
- week 03optimizersa deep dive into optimizers and a journey through time
- week 04rnna deep dive into recurrent neural networks and how the math behind it works
- week 05basics of nlp, part 1text preprocessing, regex, frequencies and word embeddings
- week 06basics of nlp, part 2pos tagging, ner, sentiment analysis and n-gram models
- week 07basics of nlp, part 3hidden markov models, text clustering and attention
- week 08llms, part 1embeddings, positional embeddings and tokenizers, especially bpe
- week 09enhance your model, part 1lora, model distillation, gradient clipping and early stopping
- week 10llms, part 2how attention works, in great detail
ml deep dives
5 posts- deepseek r1 explanationhow deepseek r1 works under the hood
- all about quantizationhow quantization occurs in llms
- training translation models on low-resource languageshow to train translation models when data is scarce
- what is kl divergenceunderstanding kl divergence and its applications in machine learning
- how do keyword spotting models work?audio features, neural networks, training and continuous detection