NLP Module (for high school)

These are videos and brief assignments meant to serve as an NLP "module" appropriate for use in a high school setting, or as a first introduction to NLP for any audience with some prior programming exposure (ideally in either Java or Python).

For an introduction to what this module is and how you might use it, please see our Overview of the module for instructors (PDF). For a brief slide overview, you can see this presentation (PDF)

Questions? Please contact Greg Durrett; gdurrett@cs.utexas.edu

Videos

Videos Materials
1 What is NLP?
2 Machine Learning
3 Language Modeling
4 Building n-gram Language Models
5a Bigram LM Code (Java) Code (tgz) | Code in Replit
5b Bigram LM Code (Python) Code (tgz) | Code in Replit
6a Querying the LM (Java) Exercise 1: Bigram LM (Java)
6b Querying the LM (Python) Exercise 1: Bigram LM (Python)
7 Hands-on: Write With Transformer Exercise 2: Write With Transformer
8 Discussion: Write With Transformer
9 Language Models in the News
10 What's Next