Course Description
This course introduces students to modern methodologies in natural language processing (NLP) with an emphasis on machine learning and deep learning. Topics include the NLP data pipeline, data acquisition, data visualization, data pre-processing methods, and NLP model deployment. Students implement and analyze common NLP tasks and applications including language detection, transliteration, translation, sentiment analysis, and dialogue systems. (3 credits)
Prerequisite
- ITE 301: Introduction to AI and Generative AI
Student Learning Outcomes (SLOs)
Students who successfully complete this course will be able to:
- Describe the fundamental concepts, core components, and key features of Natural Language Processing (NLP), and illustrate their use in real-world applications.
- Describe commonly used NLP datasets and explain methods for text data acquisition and storage.
- Explain the importance of data curation in NLP and describe key curation practices that influence model performance and reliability.
- Apply the NLTK library in Python to preprocess and analyze text data, including tokenization, stop-word removal, and basic linguistic analysis.
- Discuss the importance of data visualization in NLP and apply data visualization techniques specific to NLP.
- Describe and compare popular text vectorization methods and implement data pre-processing techniques to impact accuracy of LLMs.
- Explain and apply document similarity techniques, distance metrics, and vector visualization methods for similarity search and clustering in NLP and LLM datasets.
- Describe the key stages of the NLP data pipeline and explain how the pipeline supports the training and deployment of large language models (LLMs).
- Describe and apply NLP classifiers, neural networks, and language models, and explain how reinforcement learning from human feedback (RLHF) improves model behavior.
- Explain and apply various neural language models, including N-gram and sequential models.
- Explain Recurrent Neural Networks (RNNs) and Named Entity Recognition (NER), and implement them in practical NLP tasks.
- Describe various machine learning (ML) model deployment platforms and demonstrate ML model deployment using web applications like Streamlit and Flask.
- Describe key features and components of dialogue systems and chatbots, including AI-powered generative chatbots, and discuss conversational memory and multi-modal chatbots.
- Design, create and test a Generative AI powered Chatbot using BotPress.
- Implement NLP tasks such as language detection, transliteration, translation, and sentiment analysis across multiple languages.
- Explain the workings of LSTM, Transformers, and ChatGPT, and examine features of various pretrained generative NLP models.
- Compare Generative NLP models, including PaLM, PaLM 2, Med-PaLM 2, LaMDA, and LLaMA, by examining their architectures, parameters, and performance on specific use cases.
- Explain the process of building a large language model (LLM), explore its components using LangChain, and discuss the practical implementation and computational requirements in generative AI.
Course Activities and Grading
| Assignments | Weight |
|---|---|
Discussions (Weeks 1-8) | 20% |
Coding Activities (Weeks 2, 4, 7 & 8) | 30% |
Projects (Weeks 3, 5 & 6) | 30% |
Midterm Exam (Week 4) | 10% |
Final Exam (Week 8) | 10% |
Total | 100% |
Required Textbook
This course uses Open Educational Resources (OER). OER are openly licensed, educational resources that can be used for teaching, learning and research. OER may consist of a variety of resources such as textbooks, videos and software that are no cost for students.
Course Schedule
Week | SLOs | Readings and Exercises | Assignments |
1 | 1,2 | Topics: Artificial Intelligence (AI) for Natural Language Processing (NLP) and Data Acquisition and Storage for NLP |
|
2 | 3,4,5 | Topic: NLP Data Curation and Data Visualization |
|
3 | 6,7 | Topic: NLP Data Preprocessing |
|
4 | 8,9 | Topic: NLP Data Pipeline and NLP Models |
|
5 | 10,11,12 | Topic: Neural Language Models and NLP Model Deployment |
|
6 | 13,14 | Topic: Introduction to Chatbots & Dialogue Systems |
|
7 | 15,16 | Topic: NLP for Multiple Languages, LSTM, Transformers and ChatGPT |
|
8 | 17,18 | Topic: Advanced NLP Topics and Crafting Innovative LLM Powered Applications |
|
COSC Accessibility Statement
Charter Oak State College encourages students with disabilities, including non-visible disabilities such as chronic diseases, learning disabilities, head injury, attention deficit/hyperactive disorder, or psychiatric disabilities, to discuss appropriate accommodations with the Office of Accessibility Services at OAS@charteroak.edu.
COSC Policies, Course Policies, Academic Support Services and Resources
Students are responsible for knowing all Charter Oak State College (COSC) institutional policies, course-specific policies, procedures, and available academic support services and resources. Please see COSC Policies for COSC institutional policies, and see also specific policies related to this course. See COSC Resources for information regarding available academic support services and resources.
