Module 16
Natural Language Processing
Turn text into numbers a model can use, build a text classifier on a public dataset, and see where language models fail people.
2 lessons + quiz3.5 hours
Learning Objectives
- 1Tokenize text and build a bag-of-words representation
- 2Train and evaluate a text classifier with TF-IDF
- 3Explain why language models can perform worse on some dialects and languages
Lessons
1
Turning Text Into Numbers
Models need numbers. Learn tokens, bag of words, and TF-IDF, the first steps of every language tool.
2
Text Classification
Build a spam classifier from word counts, then train a real one on a public dataset and check who it fails.
Module 16 Quiz: Natural Language Processing
Passing score: 80% · 5 questions
Quiz