# Stanford CME 295 lecture 4 covers reinforcement learning for LLMs

> Original title: 斯坦福新课 CME 295：Transformers & Large Language Models

- Source: meng shao
- Published: 2026-10-20T11:51:34.000Z
- Bad Influence: https://badinfluence.news/items/ovzpn2un1jz0rwtsko106nhqw
- Original: https://x.com/shao__meng/status/2112512042771116533

## Summary

Stanford's CME 295 course, taught by Afshine and Shervine Amidi, has released Lecture 4 on reinforcement learning with LLMs, with video and slides public. The lecture covers reward design and algorithms including PPO, GRPO, RLVR, and DAPO, and the course spans nine lectures on LLMs.

## Post

斯坦福新课 CME 295：Transformers & Large Language Models

@stanfordnlp 双胞胎兄弟（Afshine & Shervine Amidi @afshinea @shervinea 的课程已经来到了第四讲：
Reinforcement learning with LLMs

视频和讲义都公开了：
https://www.youtube.com/watch?v=3Vaj0Oka_t4&list=PLakGfbKCei80&index=4
https://cme295.stanford.edu/slides/fall26-cme295-lecture4.pdf

这一讲，从 RL、Reward Design 一直降到 PPO、GRPO、RLVR 和 DAPO，把每个符号都讲清楚了，非常适合用来系统补充 RL 知识！

![](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHVElqPZaEAEfBXL.jpg&mode=thumb&exp=1795651200&sig=f6748c94d9c66143)

## Quoted post @shao__meng

> 斯坦福 @stanfordnlp 新课 CME 295，双胞胎兄弟 @afshinea @shervinea 主讲，9 讲走完 LLM 全部版图：从 Transformer 架构、注意力变体、RoPE，到 LoRA 微调、RLHF/GRPO 训练，再到 Flash Attention 推理优化、MCP 与 AI Agent、扩散语言模型。
> 
> 课程和知名速查表全部公开。 https://x.com/i/article/2100019396664336384

https://x.com/shao__meng/status/2100023307487809721
