What You Must Know About NLP/LLM
Each generation of NLP tech solved the previous one’s problem and created a new one. This is that chain, from counting words to modern transformer variants, with what each choice costs you.
Each generation of NLP tech solved the previous one’s problem and created a new one. This is that chain, from counting words to modern transformer variants, with what each choice costs you.
Which model for which problem, what each one is really doing under the hood, and where each breaks. Written for engineers shipping models and sitting interviews, not for a syllabus.
How models actually get trained: the optimizer family tree, why Adam won and where it loses, the schedule and warmup decisions that matter more than the optimizer choice, and the practical machinery (clipping, accumulation, checkpointing, sharded states) that shows up in real training runs.
Which activation to use where, why ReLU replaced sigmoid, why transformers moved to GELU and SwiGLU, and the failure modes (dead units, saturation, non-zero-centered outputs) interviewers ask you to diagnose.
A scannable reference for ML interviews: which loss to use for which task, why it works, when it breaks, the PyTorch gotchas that cause real bugs, and how to answer the question every interviewer asks.
Part 3 of the series: how DNNs transformed RecSys from 2016 onward. NCF, Wide & Deep, DeepFM, DIN, DLRM, and AdaTT. Architectures, intuition, and where each shines.
Part 1 of a 4-part series tracing how RecSys evolved from content-based filtering through collaborative filtering to matrix factorization, and where each technique falls short, setting up the next breakthrough.