NLP
Text processing before Transformers: bag-of-words, TF-IDF, RNNs, LSTMs. The history that shows why attention won.
Learning path
Work through each subtopic in order. Click any file below to open its lesson. Track your progress with the checkbox at the bottom.
Subtopics
Each subtopic includes a concise explanation, code examples, and references.
Text Representation
Text transformation pipeline.
One-Hot Encoding
Vocabulary matrix.
Bag of Words
Document-term matrix.
TF-IDF
Document-term heatmap.
RNN
Unrolled sequence diagram.
LSTM
Cell/gate visualization.
GRU
Simplified recurrent-cell visualization.