Home›NLP Tutorial
Free course
NLP Tutorial
Learn Natural Language Processing from regular expressions to modern RAG systems, step by step, in simple words. Every idea is shown with animations, real code and real model output.
What you will learn
- Regular expressions, tokenising and cleaning text
- Bag of words, TF-IDF, topics and text classification
- Embeddings, Word2Vec, attention and transformers
- BERT, fine-tuning and large language models
- RAG: chunking, vector search, reranking and citations
- Spell checking, search engines, BM25 and evaluation
- Prompt testing, guardrails, costs and fairness
- A capstone assistant, quizzes and interview preparation
Course contents
Every lesson has its own page with the explanation, code you can copy, the real output, screenshots from the video, and a link that jumps straight to that moment in the video.
1. Machines and Language
2. Cleaning and Splitting Text
- Regular Expressions7:24
- Tokenisation9:16
- Normalising Text10:46
3. Counting Words
- Bag of Words13:01
- TF-IDF14:31
- Zipf's Law16:22
- Topic Modelling17:52
4. Classifying Text
- Text Classification19:25
- Sentiment Analysis21:37
5. Evaluation and Extraction
6. Word Embeddings
- Word Embeddings29:33
- Word2Vec from Scratch31:28
- Sentence Embeddings33:15
7. Sequence Models
- Sequence Models35:19
- Sequence to Sequence36:47
- The Birth of Attention38:04
8. BERT and Friends
9. Large Language Models
10. RAG
- What Is RAG?50:56
- Chunking52:29
- Vector Search53:56
- Better Retrieval55:45
11. Evaluating and Improving RAG
- Evaluating RAG58:06
- Advanced RAG59:45
12. Fine-Tuning LLMs
- Fine-Tuning LLMs1:01:45
- Preparing Training Data1:03:15
- LoRA in Practice1:04:31
13. Safety and Tools
- Prompt Injection1:06:19
- Privacy and Guardrails1:07:47
- Giving Scribe Tools1:09:41
14. Languages, Speech, and Scale
- Many Languages1:10:53
- Speech to Text1:12:36
- NLP at Scale1:14:00
15. Language from Counting
- N-Gram Language Models1:15:49
- Hidden Structure1:18:05
16. Mining Documents
- Keywords and Extractive Summaries1:20:12
- Knowledge Graphs1:22:09
- Text Analytics1:23:39
17. Getting the Best from LLMs
- Making Models Reason1:25:02
- Conversation Memory1:27:03
- Parsing Real Documents1:28:34
18. Local Models and Labelling
- Running Models Locally1:29:59
- Labelling with AI1:31:46
19. Everyday Traps
- Which Meaning?1:33:35
- Unicode Traps1:35:41
- Finding Rare Messages1:38:37
20. Messy Text
- Edit Distance1:41:37
- Spelling Correction1:43:22
- Fuzzy Matching1:45:00
- Detecting Language1:46:37
21. Understanding Classifiers
- Naive Bayes from Scratch1:47:47
- Reading a Classifier1:49:46
- Error Analysis1:51:38
22. Classic Algorithms
- Tagging with Hidden Markov Models1:53:16
- Near Duplicates1:54:57
- The Inverted Index1:56:32
- BM251:57:25
23. Scoring Language
- Autocomplete1:59:01
- Scoring Translations2:00:06
- Readability2:01:44
24. Practical Modern NLP
- Clustering Text2:03:15
- Classifying with No Training2:04:45
- Bias in Language Models2:05:46
25. Practical Decisions
- Text Augmentation2:07:17
- Rules Still Win2:08:34
- Choosing the Right Tool2:09:26
26. Language Patterns
- Finding Phrases2:11:22
- Markov Chains2:13:04
- Splitting Sentences2:14:22
- Handling Negation2:15:36
27. Understanding Customers
- Aspect Sentiment2:17:13
- Summarising Thousands2:18:42
- Spotting Trends2:19:49
28. Building Question Answering
- An FAQ Bot2:21:17
- Follow-Up Questions2:22:54
- Reranking2:23:50
- Answers with Citations2:25:17
29. NLP in Production
- Testing Prompts2:26:49
- Layered Classification2:28:17
- Designing Conversations2:29:10
- Going Global2:30:41
30. The Big Picture
- From ELIZA to Today2:32:04
- What LLMs Can't Do2:33:36
- Running an NLP Project2:34:55
31. Review: Language Skills
- Review: Classic NLP2:36:32
- Review: Modern NLP2:40:11
- Review: NLP in the Real World2:43:42
32. Myths and Hard Questions
- NLP Myths2:47:10
- Explaining Language AI2:49:03
- Hard NLP Questions2:50:28
33. Capstone: Scribe
- Capstone: Designing Scribe2:51:47
- Capstone: The Full Assistant2:53:23
34. Quizzes and Interviews
- Quiz: Classic NLP2:55:37
- Quiz: Modern NLP3:01:10
- Interview Questions3:06:32
- Your Cheat Sheet3:08:40
- Your Roadmap3:10:07