A new lecture from the Generative AI course explores critical topics in large language model (LLM) safety and alignment, including jailbreak attacks, DAN (Do Anything Now) prompts, and post-training fine-tuning methods.
The session begins with a summary and comparison of BERT, GPT, and T5 architectures, then shifts to the concept of moving models from being merely capable to being aligned with human values. The instructor explains how LLM jailbreaks work—prompts designed to bypass safety filters—and gives examples of forbidden scenarios. Prompt injection attacks are also discussed, emphasizing the need for human caution.
Later, the lecture covers alignment use cases and dives into post-training and fine-tuning strategies. Key topics include supervised fine-tuning, full fine-tuning, and parameter-efficient fine-tuning (PEFT). The concept of catastrophic forgetting—where a model loses previously learned knowledge during new training—is highlighted as a significant challenge.
This educational content is part of the Generative AI (Advanced NLP) course for Spring 2026, presented in Urdu/Hindi by Agha Ali Raza.