Study interactive :: Progress tools open in the Study Hub reader.

All lessons in this module

Next lesson. Natural Language Processing

Module 12: Natural Language Processing

Learn to process and understand human language with machine learning.

What You'll Learn

CNN and RNN curriculum map (RNN & Transformer track)

Topic Where to study
RNN, LSTM, GRU, bidirectional, tuning NLP guide
PyTorch sequence batches Sequence data and PyTorch
Self-attention, encoder/decoder, inference Transformers
CNNs (images) Computer vision

Topics Covered

1. Text Preprocessing

2. Word Embeddings

3. Recurrent Neural Networks (RNNs)

4. Long Short-Term Memory (LSTM)

5. Transformers (Basics)

6. NLP Tasks

Learning Objectives

By the end of this module, you should be able to:

Projects

  1. Sentiment Analysis: Classify movie reviews
  2. Spam Detection: Classify emails (NLP approach)
  3. Text Classification: Categorize news articles
  4. Language Model: Generate text
  5. Chatbot (Basic): Simple conversational agent

Key Concepts

Check yourself

Wrong mental model: Drop a pretrained transformer on raw text, then build agents. Accuracy on train reviews is enough.

Correction: Clean and split first. Pick a holdout metric that matches the task (F1, exact match, retrieval hit-rate). Agents come after you can measure a baseline transformer or simpler model.

Tiny task: Tokenize 20 labeled reviews. Train/test split. Report majority-class baseline accuracy before any neural model.

Documentation & Learning Resources

Official Documentation:

Free Courses:

Tutorials:

Video Tutorials:

Practice:

Complete Detailed Guide

Additional Resources:


Previous Module: 11-computer-vision

Next path: After NLP transformers and PEFT basics, study Module 13 · Model deployment and Module 14 · MLOps basics for serve and ops habits. For LLM apps, go to Module 25 · Generative AI & LLMs and follow the Day 1-7 spine. Run eval before agents (retrieval + faithfulness on Day 3, guardrails on Day 6, agents on Day 7).

All lessons in this module

Next lesson. Natural Language Processing