Go to Charter Oak State College home page
Request InfoApply Now

ITE 403: Introduction to Natural Language Processing

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:

  1. Describe the fundamental concepts, core components, and key features of Natural Language Processing (NLP), and illustrate their use in real-world applications.
  2. Describe commonly used NLP datasets and explain methods for text data acquisition and storage.
  3. Explain the importance of data curation in NLP and describe key curation practices that influence model performance and reliability.
  4. Apply the NLTK library in Python to preprocess and analyze text data, including tokenization, stop-word removal, and basic linguistic analysis.
  5. Discuss the importance of data visualization in NLP and apply data visualization techniques specific to NLP.
  6. Describe and compare popular text vectorization methods and implement data pre-processing techniques to impact accuracy of LLMs.
  7. Explain and apply document similarity techniques, distance metrics, and vector visualization methods for similarity search and clustering in NLP and LLM datasets.
  8. Describe the key stages of the NLP data pipeline and explain how the pipeline supports the training and deployment of large language models (LLMs).
  9. Describe and apply NLP classifiers, neural networks, and language models, and explain how reinforcement learning from human feedback (RLHF) improves model behavior.
  10. Explain and apply various neural language models, including N-gram and sequential models.
  11. Explain Recurrent Neural Networks (RNNs) and Named Entity Recognition (NER), and implement them in practical NLP tasks.
  12. Describe various machine learning (ML) model deployment platforms and demonstrate ML model deployment using web applications like Streamlit and Flask.
  13. Describe key features and components of dialogue systems and chatbots, including AI-powered generative chatbots, and discuss conversational memory and multi-modal chatbots.
  14. Design, create and test a Generative AI powered Chatbot using BotPress.
  15. Implement NLP tasks such as language detection, transliteration, translation, and sentiment analysis across multiple languages.
  16. Explain the workings of LSTM, Transformers, and ChatGPT, and examine features of various pretrained generative NLP models.
  17. 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.
  18. 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

AssignmentsWeight

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

  • Review the lecture material
  • Review Getting Started with Python, Jupyter Notebook, and Streamlit
  • Participate in the Discussions

2

3,4,5

Topic: NLP Data Curation and Data Visualization

  • Review the lecture material
  • Participate in the Discussions
  • Submit Week 2 - Coding Activity 1: Exploring NLP Tools and Data Visualization
  • Submit Week 2 - Coding Activity 2: Text Visualization in NLP

3

6,7

Topic: NLP Data Preprocessing

  • Review the lecture material
  • Participate in the Discussions
  • Submit Week 3 - Project: Implementing Document Similarity Algorithms

4

8,9

Topic: NLP Data Pipeline and NLP Models

  • Review the lecture material
  • Participate in the Discussions
  • Submit Week 4 - Coding Activity: NLP Pipeline and Neural Networks
  • Submit Midterm Exam

5

10,11,12

Topic: Neural Language Models and NLP Model Deployment

  • Review the lecture material
  • Participate in the Discussions
  • Submit Week 5 - Project: Comparing Neural Networks and Deploying ML Models

6

13,14

Topic: Introduction to Chatbots & Dialogue Systems

  • Review the lecture material
  • Participate in the Discussions
  • Submit Week 6 - Project: Implementing AI Chatbots

7

15,16

Topic: NLP for Multiple Languages, LSTM, Transformers and ChatGPT

  • Review the lecture material
  • Participate in the Discussions
  • Submit Week 7 - Coding Activity: Implementing a Multilingual Translator App Using Streamlit

8

17,18

Topic: Advanced NLP Topics and Crafting Innovative LLM Powered Applications

  • Review the lecture material
  • Participate in the Discussions
  • Submit Week 8 - Coding Activity: Implementing a Secure Email Generator using GPT4All
  • Complete Course Evaluation

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.