Natural Language Processing
A progressive learning path from text representation and classical NLP through recurrent neural networks, attention, Transformers, RAG, and production engineering.
00 How to use this guide
Work through the modules in order the first time. Each module starts with the problem being solved, then builds the mental model, mechanics, use cases, code where useful, practical pitfalls, and checkpoint questions.
Do not treat the sequence as “old technology replaced by new technology.” A recurring objective is to understand when a simpler method such as TF-IDF + Logistic Regression is sufficient and when richer context-sensitive approaches justify their added complexity.
01 Foundations
Establish the language-data mental model before choosing algorithms.
02 Classical NLP
Build strong, interpretable baselines with sparse representations.
03 Neural NLP
Move from fixed vectors to learned representations and sequence models.
4. From Sparse Vectors to Embeddings
Understand the representation change that enables modern NLP.
Neural NLP5. ANN vs RNN: Why Sequence Changes the Architecture
Connect classical fixed-vector modeling to recurrent sequence processing.
Neural NLP6. Simple RNN: Forward Pass, Hidden State and Training
Understand recurrent computation before LSTM, attention and Transformers.
Neural NLP7. LSTM and GRU: Better Memory
Understand how gating addresses limitations of vanilla RNNs.
Neural NLP8. Bidirectional RNNs and Encoder–Decoder Models
Bridge recurrent models to translation and later attention.
04 Transformers
Learn attention, Transformer architecture, pretraining, and fine-tuning.
9. Attention: Let the Model Look Back Selectively
Understand the breakthrough that removes the single-context bottleneck.
Transformers10. Transformer Architecture
Understand the architecture behind BERT, GPT and modern LLMs.
Transformers11. Pretraining, Fine-tuning and Transfer Learning
Learn why modern NLP rarely starts from random weights.
05 Applications
Connect model families to classification, NER, retrieval, generation, and RAG.
06 Engineering
Evaluate, deploy, monitor, and govern NLP systems.
07 Capstone
Integrate the full learning path in an end-to-end banking use case.