Try it free

← All courses

University of Maryland CMSC 723

Professor Iyyer · University of Maryland · 20 lectures with notes

Every lecture with its full transcript and chapters, and one search across all 20 lectures.

Tool use

1 Dec 2026

Language models gain deeper reasoning through layer looping and broader capabilities through harnesses that connect them to tools.

Reasoning & looping

24 Nov 2026

DeepSeek R1 Zero shows how answer-only reinforcement learning can elicit long reasoning traces and improve math performance.

RLHF

12 Nov 2026

PPO reuses costly rollouts through clipped policy ratios, while its learned value function provides token-level baselines at substantial model-memory cost.

REINFORCE (cont'd)

10 Nov 2026

REINFORCE trains language models by weighting rollout log-probabilities with reward, while GRPO centers and scales rewards across samples for each prompt.

Training language models with reinforcement learning

5 Nov 2026

How policy gradients let language models learn from a single reward when generated tokens cannot be differentiated through.

On-policy distillation (cont'd)

3 Nov 2026

On-policy distillation improves a student by using a teacher's token-level feedback on the student's own generated responses.

On-policy distillation

29 Oct 2026

On-policy distillation trains on a model’s own rollouts, addressing exposure bias while using teacher probabilities to guide each token.

SFT and LoRA

27 Oct 2026

LoRA adapts large language models by training small low-rank matrices instead of updating every pretrained weight.

In-context learning and instruction tuning

22 Oct 2026

Pre-training builds broad capabilities; instruction tuning and other post-training methods teach models to use them to follow instructions.

Scaling laws + exam review

15 Oct 2026

Chinchilla scaling laws balance model parameters and training tokens, with roughly 20 tokens per parameter as a compute-optimal rule of thumb.

Transformer configurations & tokenization

6 Oct 2026

Attention masks trade context and inference efficiency, while BPE balances compact sequences with coverage of rare words.

Pretraining vs post-training

1 Oct 2026

Pretraining builds broad language knowledge; post-training uses instruction data and loss masking to shape how models respond.

Mixture of experts language models

29 Sep 2026

MoE transformers use token-level top-k routing to expand model capacity without activating every expert for every token.

Transformer language models

23 Sep 2026

A Transformer combines masked multi-head attention and stacked layers, then uses a KV cache to decode efficiently one token at a time.

Attention mechanisms

21 Sep 2026

Self-attention replaces RNN state bottlenecks with masked, parallel token-to-token information flow during Transformer training.

Training neural language models

17 Sep 2026

Neural language models improve next-word predictions by minimizing cross-entropy with backpropagation and gradient-based parameter updates.

Composition and decoding in neural language models

15 Sep 2026

How neural language models compose word embeddings and decode next-token distributions, from fixed windows and RNNs to transformer motivation.

Neural language models

10 Sep 2026

Neural language models learn shared word representations and next-token probabilities by minimizing negative log likelihood.

Basics of language models

3 Sep 2026

N-gram models introduce language-model probabilities, while NLL and perplexity show how to measure predictive quality and generalization.

Course introduction + history of NLP

1 Sep 2026

NLP’s path from symbolic rules to neural language models explains why prediction, compression, data, and scale matter.

Keep the lectures you learn from

Paste a video, playlist, or channel URL to get transcripts, AI summaries with clickable timestamps, and search across everything.

Get started free