Resource Library M.Sc. Program Semester: 4051

Course Materials & Downloads

Searchable hub for lecture slide PDFs, landmark literature, hands-on PyTorch code labs, and evaluation datasets.

S1 • Lecture Slide 5.1 MB • PDF

History of NLP, Modern LLM Foundations & Paradigm Shifts

CMU Ref: Lecture 1 – Introduction & Fundamentals (01/13)
Stanford Ref: Week 1, Tue – History of NLP
S2 • Lecture Slide 2.0 MB • PDF

Word Representations, Distributed Semantics & Vector Embeddings (Word2Vec, GloVe)

CMU Ref: Lecture 2 – Fundamentals: Learned Representations (01/15)
Stanford Ref: Week 1, Thu – Word Vectors
S3 • Lecture Slide 3.4 MB • PDF

Neural Network Fundamentals & Backpropagation in NLP

Stanford Ref: Week 2, Tue – Backpropagation and Neural Network Basics
S4 • Lecture Slide 1.5 MB • PDF

Autoregressive Language Modeling & Cross-Entropy Objectives

CMU Ref: Lecture 3 – Fundamentals: Autoregressive Language Modeling (01/20)
Stanford Ref: Week 2, Thu – Language Models and RNNs (Part 1)
S5 • Lecture Slide 4.3 MB • PDF

Recurrent Sequence Architectures: RNNs, LSTMs & Gated Recurrent Units (GRUs)

CMU Ref: Lecture 4 – Architectures I: Recurrent Neural Networks (01/22)
Stanford Ref: Week 2, Thu – Language Models and RNNs (Part 2)
S6 • Lecture Slide 4.5 MB • PDF

Attention Mechanisms & Transformer Architecture (RoPE, Multi-Head Attention)

CMU Ref: Lecture 5 – Architectures II: Attention and Transformers (01/27)
Stanford Ref: Week 3, Tue – Transformers
S6 • Extra Slide 1.9 MB • PDF

Attention Mechanisms & Transformer Architecture (Supplementary / Extra Slides)

CMU Ref: Lecture 5 – Architectures II: Attention and Transformers (01/27)
Stanford Ref: Week 3, Tue – Transformers
Q1 • Exam / Quiz 120 KB • PDF

Quiz 1 Exam Paper (Covers Sessions S1–S6: Word Representations, Backprop, Language Modeling, RNNs & Transformers)

S7 • Lecture Slide 3.8 MB • PDF

Subword Tokenization (BPE, SentencePiece) & Multilingual Language Models

Stanford Ref: Week 7, Thu – Tokenization and Multilinguality (Guest: Julie Kallini)
S8 • Lecture Slide PDF

LLM Pretraining: Web Data Pipelines, Quality Filtering & Scaling

CMU Ref: Lecture 6 – Learning I: Pretraining (01/29)
Stanford Ref: Week 4, Tue – Pretraining (Scaling, Systems, Data)
Session Details
S9 • Lecture Slide PDF

Scaling Laws (Chinchilla) & In-Context Learning (ICL)

CMU Ref: Lecture 7 – Scaling Laws and In-Context Learning (02/03)
Stanford Ref: Week 4, Tue – Pretraining (Scaling)
Session Details
S10 • Lecture Slide PDF

Parameter-Efficient Fine-Tuning (PEFT: LoRA, QLoRA) & Knowledge Distillation

CMU Ref: Lecture 8 – Learning III: Fine-tuning and Distillation (02/05)
Stanford Ref: Week 5, Tue – Efficient Adaptation + Week 9, Thu – Tinker and LoRA (John Schulman)
Session Details
S11 • Lecture Slide PDF

Decoding Algorithms, Sampling Strategies & Chain-of-Thought (CoT) Prompting

CMU Ref: Lecture 9 – Decoding Algorithms (02/10)
Stanford Ref: Week 6, Thu – Reasoning 1
Session Details
S12 • Lecture Slide PDF

Advanced Reasoning: System 2 Reasoning & Search

Stanford Ref: Week 7, Tue – Reasoning 2
Session Details
S13 • Lecture Slide PDF

Retrieval-Augmented Generation (RAG) & Dense Passage Retrieval (DPR, Self-RAG)

CMU Ref: Lecture 10 – Modeling I: Retrieval and RAG (Guest: Akari Asai) (02/12)
Stanford Ref: Week 5, Thu – Agents, Tool Use, and RAG (Part 1)
Session Details
S14 • Lecture Slide PDF

Vision-Language Models (CLIP, LLaVA) & Multimodal Alignment

CMU Ref: Lecture 11 – Modeling II: Multimodal I (02/17) + Lecture 12 – Modeling III: Multimodal II (02/19)
Stanford Ref: Week 9, Tue – Multimodality (Guest: Luke Zettlemoyer)
Session Details
S15 • Lecture Slide PDF

LLM Evaluation Methodologies, Benchmarks & Leaderboards (MMLU, LLM-as-a-Judge)

CMU Ref: Lecture 13 – Evaluation Techniques (02/24)
Stanford Ref: Week 6, Tue – Benchmarking and Evaluation
Session Details
S16 • Lecture Slide PDF

Graph Neural Networks for Natural Language Processing (GNN for NLP)

Session Details
S17 • Lecture Slide PDF

Diffusion Models & Flow Matching for Natural Language Generation

CMU Ref: Lecture 15 – Modeling IV: Diffusion and Flows (03/10)
Session Details
S18 • Lecture Slide PDF

Reinforcement Learning Fundamentals in Natural Language Processing

CMU Ref: Lecture 16 – Reinforcement Learning I: Fundamentals (03/12)
Session Details
S19 • Lecture Slide PDF

Post-Training with Human Feedback & Preference Alignment (RLHF & DPO)

CMU Ref: Lecture 17 – Reinforcement Learning II: Applications (03/17)
Stanford Ref: Week 4, Thu – Post-training (RLHF, SFT, DPO)
Session Details
S20 • Lecture Slide PDF

Language Model-Based Autonomous Agents, Function Calling & Tool Use (ReAct)

CMU Ref: Lecture 18 – Language Model-Based Agents (03/19)
Stanford Ref: Week 5, Thu – Agents, Tool Use, and RAG (Part 2)
Session Details
S21 • Lecture Slide PDF

Model Quantization (AWQ, GPTQ, FP8/INT4) & Efficient Inference

CMU Ref: Lecture 19 – Quantization (03/26) - Lecture 20 – Parallelism and Distributed Training (03/31)
Session Details
S22 • Lecture Slide PDF

Mixture of Experts (MoE) & Efficient Attention (FlashAttention-2)

CMU Ref: Lecture 21 – Mixture of Experts (04/02) + Lecture 22 – Scaling Sequence Length
Session Details
S23 • Lecture Slide PDF

Process Supervision & Test-Time Compute Scaling

CMU Ref: Lecture 23 – Test-Time Scaling (04/14)
Session Details
S24 • Lecture Slide PDF

Mechanistic Interpretability, Safety, Bias & Adversarial Attacks in LLMs

Stanford Ref: Week 8, Tue – Interpretability (Guest: Been Kim) + Week 8, Thu – Social Impacts (Risks)
Session Details
S25 • Lecture Slide PDF

Research Skills, ACL Experimental Design & Open Research Frontiers in NLP

CMU Ref: Lecture 14 – Research Skills and Experimental Design (02/26)
Stanford Ref: Week 10, Tue – Open Questions in NLP 2026
Session Details
Session S1 • CMU Assigned Literature

Language Models are Few-Shot Learners (GPT-3)

Tom B. Brown et al. (NeurIPS 2020)

Session S1 • Stanford Core Literature

Sparks of Artificial General Intelligence: Early experiments with GPT-4

Sébastien Bubeck et al. (Microsoft Research 2023)

Session S1 • Book / Notes Literature

Natural Language Understanding (Eisenstein Book, Chapter 1-2)

Jacob Eisenstein (MIT Press)

Session S1 • Stanford Core Literature

On the Opportunities and Risks of Foundation Models

Rishi Bommasani et al. (Stanford CRFM 2021)

Session S2 • CMU Assigned Literature

Efficient Estimation of Word Representations in Vector Space (Word2Vec)

Tomas Mikolov, Kai Chen, Greg Corrado, Jeffrey Dean (ICLR 2013)

Session S2 • CMU Assigned Literature

GloVe: Global Vectors for Word Representation

Jeffrey Pennington, Richard Socher, Christopher D. Manning (EMNLP 2014)

Session S2 • Stanford Core Literature

Distributed Representations of Words and Phrases and their Compositionality

Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, Jeffrey Dean (NeurIPS 2013)

Session S2 • Stanford Core Literature

Enriching Word Vectors with Subword Information (fastText)

Piotr Bojanowski, Edouard Grave, Armand Joulin, Tomas Mikolov (TACL 2017)

Session S3 • Stanford Core Literature

Deep Learning (Review Paper)

Yann LeCun, Yoshua Bengio, Geoffrey Hinton (Nature 2015)

Session S3 • Stanford Core Literature

Yes you should understand backprop

Andrej Karpathy (2016)

Session S3 • CMU Assigned Literature

Automatic Differentiation in PyTorch

Adam Paszke et al. (NeurIPS Autodiff Workshop 2017)

Session S3 • Video Lecture Video Walkthrough

The spelled-out intro to neural networks and backpropagation: building micrograd

Andrej Karpathy (YouTube Lecture)

Session S3 • Video Tutorial Video Walkthrough

Neural Networks Pt. 2: Backpropagation Main Ideas

StatQuest with Josh Starmer

Session S3 • Video Visualizer Video Walkthrough

Backpropagation, intuitively | Deep Learning Chapter 3

3Blue1Brown (Grant Sanderson)

Session S4 • CMU Assigned Literature

A Neural Probabilistic Language Model

Yoshua Bengio, Réjean Ducharme, Pascal Vincent, Christian Jauvin (JMLR 2003)

Session S4 • CMU Assigned Literature

Generating Sequences With Recurrent Neural Networks

Alex Graves (2013)

Session S4 • Book / Notes Literature

Speech and Language Processing (3rd ed. draft, Chapter 3: N-gram Language Models)

Dan Jurafsky, James H. Martin

Session S5 • CMU Assigned Literature

Long Short-Term Memory

Sepp Hochreiter, Jürgen Schmidhuber (Neural Computation 1997)

Session S5 • CMU Assigned Literature

Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling

Junyoung Chung, Caglar Gulcehre, Kyunghyun Cho, Yoshua Bengio (NeurIPS 2014)

Session S5 • Stanford Core Literature

Understanding LSTM Networks

Christopher Olah (2015)

Session S5 • Stanford Core Literature

The Unreasonable Effectiveness of Recurrent Neural Networks

Andrej Karpathy (2015)

Session S5 • Video Tutorial Video Walkthrough

Recurrent Neural Networks (RNNs), Clearly Explained!!!

StatQuest with Josh Starmer

Session S5 • Video Tutorial Video Walkthrough

Long Short-Term Memory (LSTM), Clearly Explained

StatQuest with Josh Starmer

Session S6 • CMU Assigned Literature

Attention Is All You Need

Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit et al. (NeurIPS 2017)

Session S6 • Stanford Core Literature

The Illustrated Transformer

Jay Alammar (2018)

Session S6 • CMU Assigned Literature

RoFormer: Enhanced Transformer with Rotary Position Embedding (RoPE)

Jianlin Su, Yu Lu, Shengfeng Pan, Ahmed Murtadha, Bo Wen, Yunfeng Liu (Neurocomputing 2024)

Session S6 • Stanford Core Literature

The Annotated Transformer

Austin Rush et al. (Harvard NLP)

Session S7 • CMU Assigned Literature

Neural Machine Translation of Rare Words with Subword Units (BPE)

Rico Sennrich, Barry Haddow, Alexandra Birch (ACL 2016)

Session S7 • Stanford Core Literature

Subword Regularization: Improving Neural Network Translation Models (SentencePiece / Unigram)

Taku Kudo (ACL 2018)

Session S7 • Stanford Core Literature

Cross-lingual Language Model Pretraining (XLM)

Guillaume Lample, Alexis Conneau (NeurIPS 2019)

Session S8 • CMU Assigned Literature

Language Models are Unsupervised Multitask Learners (GPT-2)

Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever (OpenAI 2019)

Session S8 • CMU Assigned Literature

The Llama 3 Herd of Models

Abhimanyu Dubey et al. (Meta AI 2024)

Session S8 • CMU Assigned Literature

The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora

Guilherme Penedo et al. (NeurIPS 2023)

Session S9 • CMU Assigned Literature

Training Compute-Optimal Large Language Models (Chinchilla)

Jordan Hoffmann et al. (DeepMind, NeurIPS 2022)

Session S9 • CMU Assigned Literature

Scaling Laws for Neural Language Models

Jared Kaplan et al. (OpenAI 2020)

Session S10 • CMU Assigned Literature

LoRA: Low-Rank Adaptation of Large Language Models

Edward J. Hu et al. (ICLR 2022)

Session S10 • CMU Assigned Literature

QLoRA: Efficient Finetuning of Quantized LLMs

Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke Zettlemoyer (NeurIPS 2023)

Session S10 • CMU Assigned Literature

Distilling the Knowledge in a Neural Network

Geoffrey Hinton, Oriol Vinyals, Jeff Dean (NeurIPS Deep Learning Workshop 2014)

Session S10 • Stanford Core Literature

Prefix-Tuning: Optimizing Continuous Prompts for Generation

Xiang Lisa Li, Percy Liang (ACL 2021)

Session S11 • CMU Assigned Literature

Chain-of-Thought Prompting Elicits Reasoning in Large Language Models

Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, Denny Zhou (NeurIPS 2022)

Session S11 • CMU Assigned Literature

The Curious Case of Neural Text Degeneration (Nucleus / Top-p Sampling)

Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, Yejin Choi (ICLR 2020)

Session S12 • CMU Assigned Literature

Tree of Thoughts: Deliberate Problem Solving with Large Language Models

Shunyu Yao et al. (Princeton & DeepMind, NeurIPS 2023)

Session S12 • Stanford Core Literature

STaR: Bootstrapping Reasoning With Reasoning

Eric Zelikman et al. (Stanford, NeurIPS 2022)

Session S12 • CMU Assigned Literature

Large Language Monkeys: Scaling Inference Compute with Repeated Sampling

Bradley Brown et al. (2024)

Session S13 • CMU Assigned Literature

Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (RAG)

Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al. (NeurIPS 2020)

Session S13 • CMU Assigned Literature

Dense Passage Retrieval for Open-Domain Question Answering (DPR)

Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, Wen-tau Yih (EMNLP 2020)

Session S13 • CMU Assigned Literature

Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection

Akari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil, Hannaneh Hajishirzi (ICLR 2024)

Session S14 • CMU Assigned Literature

Learning Transferable Visual Models From Natural Language Supervision (CLIP)

Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal et al. (OpenAI, ICML 2021)

Session S14 • CMU Assigned Literature

Visual Instruction Tuning (LLaVA)

Haotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae Lee (NeurIPS 2023)

Session S14 • CMU Assigned Literature

An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale (ViT)

Alexey Dosovitskiy et al. (ICLR 2021)

Session S15 • CMU Assigned Literature

Measuring Massive Multitask Language Understanding (MMLU)

Dan Hendrycks et al. (ICLR 2021)

Session S15 • CMU Assigned Literature

Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena

Lianmin Zheng, Wei-Lin Chiang, Hao Zhang, Siyuan Zhuang, Yonghao Zhuang, Lingxiao Zheng et al. (NeurIPS 2023)

Session S15 • CMU Assigned Literature

Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations

Noah A. Smith et al. (2024)

Session S16 • CMU Assigned Literature

Graph Neural Networks for Natural Language Processing: A Survey

Lingfei Wu, Yu Chen, Kai Shen, Xiaojie Guo et al. (Foundations and Trends in ML 2021)

Session S16 • Stanford Core Literature

Graph Convolutional Networks for Text Classification

Liang Yao, Chengsheng Mao, Yuan Luo (AAAI 2019)

Session S16 • Landmark Paper Literature

Semi-Supervised Classification with Graph Convolutional Networks (GCN)

Thomas N. Kipf, Max Welling (ICLR 2017)

Session S17 • CMU Assigned Literature

Diffusion-LM Improves Controllable Text Generation

Xiang Lisa Li, John Thickstun, Ishaan Gulrajani, Percy Liang, Tatsunori B. Hashimoto (NeurIPS 2022)

Session S17 • CMU Assigned Literature

Flow Matching for Generative Modeling

Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nicklas, Matt Le (ICLR 2023)

Session S17 • CMU Assigned Literature

Denoising Diffusion Probabilistic Models (DDPM)

Jonathan Ho, Ajay Jain, Pieter Abbeel (NeurIPS 2020)

Session S18 • CMU Assigned Literature

Deep Reinforcement Learning from Human Preferences

Paul Christiano, Jan Leike, Tom B. Brown, Miljan Martic, Shane Legg, Dario Amodei (NeurIPS 2017)

Session S18 • CMU Assigned Literature

Proximal Policy Optimization Algorithms (PPO)

John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, Oleg Klimov (OpenAI 2017)

Session S19 • CMU Assigned Literature

Training language models to follow instructions with human feedback (InstructGPT)

Long Ouyang et al. (OpenAI, NeurIPS 2022)

Session S19 • CMU Assigned Literature

Direct Preference Optimization: Your Language Model is Secretly a Reward Model (DPO)

Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn (NeurIPS 2023)

Session S20 • CMU Assigned Literature

ReAct: Synergizing Reasoning and Acting in Language Models

Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, Yuan Cao (ICLR 2023)

Session S20 • CMU Assigned Literature

Toolformer: Language Models Can Teach Themselves to Use Tools

Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Luke Zettlemoyer, Nicola Cancedda, Thomas Scialom (NeurIPS 2023)

Session S20 • CMU Assigned Literature

World of Bits: An Open-Domain Platform for Web-Based Agents

Tianlin Shi, Andrej Karpathy, Linxi Fan, Jonathan O. Hernandez, Percy Liang (ICML 2017)

Session S21 • CMU Assigned Literature

LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale

Tim Dettmers, Mike Lewis, Younes Belkada, Luke Zettlemoyer (NeurIPS 2022)

Session S21 • CMU Assigned Literature

AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration

Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Xingyu Dang, Song Han (MLSys 2024)

Session S21 • CMU Assigned Literature

ZeRO: Memory Optimizations Toward Training Trillion Parameter Models

Samyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong He (SC 2020)

Session S22 • CMU Assigned Literature

Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer

Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, Jeff Dean (ICLR 2017)

Session S22 • CMU Assigned Literature

FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning

Tri Dao (ICLR 2024)

Session S22 • CMU Assigned Literature

Mixtral of Experts

Albert Q. Jiang et al. (Mistral AI 2024)

Session S23 • CMU Assigned Literature

Let's Verify Step by Step (PRM800K & Process Supervision)

Hunter Lightman et al. (OpenAI 2023)

Session S23 • CMU Assigned Literature

Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters

Charlie Snell et al. (Google DeepMind / UC Berkeley 2024)

Session S23 • CMU Assigned Literature

Quiet-STaR: Language Models Can Teach Themselves to Think Before Speaking

Eric Zelikman et al. (Stanford 2024)

Session S24 • Stanford Core Literature

Towards Monosemanticity: Decomposing Language Models With Dictionary Learning

Trenton Bricken et al. (Anthropic 2023)

Session S24 • CMU Assigned Literature

Universal and Transferable Adversarial Attacks on Aligned Language Models

Andy Zou, Zifan Wang, Nicholas Carlini, Milad Nasr, J. Zico Kolter, Matt Fredrikson (2023)

Session S24 • Stanford Core Literature

Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)

Been Kim, Martin Wattenberg, Justin Gilmer, Carrie Cai, James Wexler, Fernanda Viegas, Rory Sayres (ICML 2018)

Session S25 • CMU Assigned Literature

A Survey of Large Language Models

Wayne Xin Zhao et al. (AI Open 2023)

Session S25 • Stanford Core Literature

Holistic Evaluation of Language Models (HELM)

Percy Liang et al. (Stanford CRFM, TMLR 2023)

Lab 01 • Foundations Code Lab

Introduction & Environment Setup in PyTorch

Hands-on setup with PyTorch, Hugging Face Transformers, and basic neural tensor operations.

Lab 02 • Foundations Code Lab

Word Representations, Word2Vec & Text Classification

Implementing word vector embeddings, continuous representations, and sentiment classification.

Lab 03 • Language Modeling Code Lab

Autoregressive Neural Language Modeling Fundamentals

Building next-token prediction language models from scratch with Cross-Entropy Loss.

Lab 04 • Architectures Code Lab

Recurrent Neural Networks (RNN & LSTM) in PyTorch

Implementing recurrent sequence encoders, LSTM cells, and gated hidden state transitions.

Lab 05 • Architectures Code Lab

Transformer Architecture & Scaled Dot-Product Attention

Modular implementation of Multi-Head Self-Attention, Positional Encoding, and Feed-Forward blocks.

Lab 06 • Pretraining Code Lab

LLM Pretraining Pipelines & Data Preprocessing at Scale

Web text scraping, quality filtering, deduplication pipelines, and batch sequence packing.

Lab 07 • Prompting Code Lab

In-Context Learning (ICL) & Few-Shot Prompt Engineering

Demonstrating few-shot learning, prompt calibration, and instruction formatting across open LLMs.

Lab 08 • PEFT & Fine-Tuning Code Lab

Instruction Fine-Tuning & Parameter-Efficient LoRA Adaptation

Fine-tuning foundation models with LoRA/QLoRA using Hugging Face PEFT and TRL.

Lab 09 • Inference Code Lab

Decoding Algorithms, Sampling (Top-p/Top-k) & Search

Greedy decoding, temperature scaling, top-k/nucleus sampling, and beam search implementations.

Lab 10 • RAG Code Lab

Retrieval-Augmented Generation (RAG) & Vector Indexing

Dense passage retrieval (DPR), vector database indexing with FAISS, chunking, and generation.

Lab 11 • Multimodal Code Lab

Multimodal Vision-Language Models (CLIP & Visual Embeddings)

Contrastive image-text training (CLIP), zero-shot visual classification, and multimodal alignment.

Lab 12 • Multimodal Code Lab

Multimodal Instruction Tuning & Visual Generation (LLaVA)

Cross-modal projection, Visual Question Answering (VQA), and multimodal chat assistants.

Lab 13 • Evaluation Code Lab

LLM Evaluation Benchmarks & Automated Scoring Metrics

Benchmarking with MMLU and GSM8K, LLM-as-a-Judge evaluations, and statistical confidence intervals.

Lab 14 • Research Skills Code Lab

Research Skills, Experimental Design & Ablation Analysis

Designing rigorous NLP ablation experiments, statistical significance testing, and artifact analysis.

Lab 15 • Generative Modeling Code Lab

Diffusion Models & Flow Matching for Text Generation

Implementing continuous/discrete text diffusion models, denoising steps, and flow matching.

Lab 16 • Reinforcement Learning Code Lab

Reinforcement Learning Fundamentals & Policy Optimization (PPO)

Markov Decision Processes, policy gradients, advantage estimation, and Proximal Policy Optimization.

Lab 17 • Alignment Code Lab

Preference Alignment for LLMs (RLHF & Direct Preference Optimization / DPO)

Bradley-Terry reward modeling, RLHF with PPO, and Direct Preference Optimization (DPO).

Lab 18 • Agents Code Lab

LLM-Based Autonomous Agents, Function Calling & Tool Use (ReAct)

Building autonomous agent loops with ReAct prompting, API tool integration, and environment feedback.

Lab 19 • Efficiency Code Lab

Model Quantization (AWQ, GPTQ & INT8/INT4 Precision)

Weight quantization with bitsandbytes, activation-aware quantization (AWQ), and inference benchmarking.

Lab 20 • Distributed Systems Code Lab

Distributed Training, Model Parallelism & ZeRO Optimization

Tensor and pipeline parallelism (Megatron-LM), ZeRO memory stages (DeepSpeed), and FSDP on GPU clusters.

Benchmark / Dataset

MMLU (Massive Multitask Language Understanding)

57 subjects across STEM, humanities, and social sciences for holistic LLM benchmarking.

Benchmark / Dataset

GSM8K (Grade School Math 8K)

8,500 high-quality multi-step math reasoning word problems for Chain-of-Thought evaluation.

Benchmark / Dataset

UltraFeedback & Anthropic HH-RLHF

Binarized pairwise human preference datasets for RLHF and Direct Preference Optimization (DPO).

Benchmark / Dataset

MS MARCO & HotpotQA

Passage ranking and multi-hop reasoning datasets for open-domain RAG benchmarking.

Benchmark / Dataset

ANLP Course Pack v1 (Project Multi-Hop Dataset)

3,882 Wikipedia passages, 300 dev questions with evidence triples & labels, and 300 hidden test questions for course project.

Benchmark / Dataset

ANLP Project Starter Kit (score.py, config & baseline)

Official starter kit archive containing score.py with bootstrap CI, example_predict.py, and predictions format specification.