Modern NLP Systems

Undergraduate Course, CuCEng, 2027

Course Objectives

The primary objective of this course is to equip students with the practical engineering skills required to design, develop, and deploy modern Natural Language Processing systems based on Large Language Models (LLMs). The course aims to transition students from theoretical NLP concepts to building advanced, production-ready AI applications by utilizing state-of-the-art frameworks, external knowledge retrieval systems, and autonomous agent architectures.

Course Content

This project-centric course covers the end-to-end integration of LLMs into modern software systems. Key topics include the architecture and implementation of Retrieval-Augmented Generation (RAG) pipelines, vector database management, and chunking strategies for semantic search. The curriculum also focuses on adapting open-source models to domain-specific tasks using Parameter-Efficient Fine-Tuning (PEFT) and LoRA methodologies. Furthermore, students will explore agentic workflows, function calling, and tool integration using frameworks like LangChain and LlamaIndex. Through hands-on labs and team projects, students will develop and deploy functional AI prototypes capable of solving complex, real-world scenarios.

Course Materials

  • Sebastian Raschka, Build a Large Language Model (From Scratch), Manning Publications, 2024. A reference for understanding how LLMs are coded from scratch, hardware optimizations, and fine-tuning processes.
  • Lewis Tunstall, Leandro von Werra, and Thomas Wolf, Natural Language Processing with Transformers: Building Language Applications with Hugging Face, O’Reilly Media, 2022. A practical guide to the open-source ecosystem.
  • Official Documentations: LangChain and LlamaIndex.

Assessment

Prerequisites

None. Taking Natural Language Processing in the fall semester is recommended.

Weekly Schedule

WeekSubjectsNote
1Introduction to Modern NLP Systems and API Ecosystem 
2Vector Spaces, Embedding Models, and Semantic Search 
3Vector Database Management and Text Chunking Strategies 
4Implementation of RAG (Retrieval-Augmented Generation) Architecture 
5RAG Systems Project Delivery and Application Development (UI/UX) 
6Open Source Language Models and the Hugging Face Ecosystem 
7Dataset Preparation and Formatting for Language ModelsRAG Pipeline due
8Midterm Week — no exam for this course 
9Parameter-Efficient Fine-Tuning (PEFT) and the Math of LoRA 
10Open Source Model Training (Fine-Tuning) on Local Hardware 
11Delivery of Fine-Tuned Domain-Specific ModelsFine-Tuning due
12Function Calling and Tool Use in Large Language Models 
13Autonomous Agent Architectures and LangChain-LlamaIndex Frameworks 
14Agentic Workflows Project Delivery and Live DemosAgentic Workflows due
15Delivery of Projects