CS759/859 Spring 2026
CS759/859 - Natural Language Processing
Course Syllabus: CS 759/859 Natural Language Processing
Catalog Description
This class covers natural language processing, including both methods and well-known applications. Methods discussed will range from classical probabilistic methods such as Naive Bayes and Hidden Markov Models, to contemporary neural network methods, including word vector models, recurrent neural networks, and Transformer-based models. Applications discussed will include text classification, machine translation, and conversation systems (among others).
Course attributes
- Credit hours: 4
- Prerequisites: CS 515 (or equivalent) and MATH 539 or MATH 644
Course structure
This course is a twice-per-week in-person lecture. Attendance is encouraged but not required. Most lectures include both discussions of both conceptual definitions of methods, as well as code implementations of those methods. Both code demonstrations and homework assignments are implemented as Python Jupyter Notebooks, using the Google Collab cloud programming platform.
Students will need a Google account in order to access homeworks and lecture code notebooks, and this will represent the most straightforward way of completing the homework assignments. Later assignments will necessitate the use of GPU resources, which are offered in limited quantities by the free version of Collab, and more reliably with a Collab Pro subscription (which is available for free for one year for educational uses.)
Grading and assessment
Assessment in this course will be based on weekly short coding assignments distributed and completed as Google Collab notebooks, an in-class midterm, and a group-based course project.
Assessment breakdown
- Homeworks: 65%
- Midterm: 15%
- Final project: 20%
Learning resources
Required/recommended texts: None
Course Policies
Late policy
Assignments may be turned in up to 5 days late, with a cumulative 10\% penalty per day of lateness. I am happy to grant extensions for extenuating circumstances, but they should be requested ahead of time.
Attendance policy
In-person attendance is strongly encouraged, but I do not take attendance.
I am happy to accommodate life events. If you get COVID or have some other pressing reason to attend remotely, I can temporarily move the class to a hybrid format. I’m also happy to grant excused absences for medical or family problems, or various other kinds of emergencies. Let me know as early as possible if you need either of these kinds of accommodation.
Responsible use of AI
Students are encouraged to use AI tools to provide guidance on how to solve homework problems, but are required to write their own code.
Academic honesty
This course will follow the UNH Academic Integrity Policy. Any student caught plagiarizing or cheating on projects, case studies, or quizzes will be dealt with according to the university's Procedures for Resolving Academic Misconduct, which may result in a failing grade for the assignment and/or more severe academic consequences.
Disability services for students
If you are a student with a documented disability who will require accommodations in this course, please contact Student Accessibility Services. Students who are already registered with SAS should share their Accommodation Letter with the instructor as soon as possible
Course Schedule
The weekly course schedule will run as follows:
- Intro to NLP
- Overview of linguistics
- Numerically representing text
- Supervised learning/nearest neighbors
- Dimension reduction
- Clustering
- Linear/logistic regression
- Training logistic regression with pytorch
- Feedforward NNs and pytorch lightning
- Word vectors
- Statistical language modeling
- Other probabilistic models
- Recurrent neural nets
- RNNs for sequence tagging
- RNNs for language modeling
- Sequence-to-sequence attention
- Transformer architecture
- Pretraining/BERT/GPT
- Prompt engineering
- Model evaluation
- PEFT/huggingface trainer
- Interpretability
- Bias/fairness
- Multimodality and reasoning
- AI/NLP research overview
- Reasoning agents