walkinglabs/hands-on-modern-rl

Public

🚀 An open-source, hands-on curriculum bridging the gap from basic RL concepts to LLM alignment, RLVR, and advanced Agentic systems.

  • Stars4.8k+71 tuần này
  • Forks353
  • Watchers17
  • Issues3
  • Ngày tạo10/04/2026
  • Cập nhật gần nhất23/10/2026
  • Ngôn ngữJupyter Notebook
  • Giấy phép—
README.md70.0 KBRaw
Hands-On Modern RL

From Markov decision processes and policy optimization to reasoning models, agents, and multimodal systems

Online Course PDF Download CC BY-NC-SA 4.0 License Node >= 18 VitePress

English · 中文

Train on ModelScope · Run the CartPole Notebook · ModelScope Script

Discussion Group (WeChat)

Learning Paths · Hands-On Examples · Book Features · About This Book · News · Contents · Book Structure · Experiment Code · Quick Start · Contributing

Learning Paths

Classical & deep RL (Chapters 1–12). Start with CartPole: choose an action, observe the next state, and collect a reward. Build MDPs and value functions around that interaction, then implement DQN, policy gradients, Actor-Critic, and PPO in games and control tasks. Offline RL, imitation learning, exploration, and world models extend these foundations.

Classical and deep RL, Chapters 1–12: CartPole, MDPs, value learning, DQN, policy gradients, PPO, and continuous control. Policy gradients, advantages, and PPO provide the foundations for modern RL.

Modern RL & Agentic AI (Chapters 13–26). Apply the policy foundations to existing language models through RLHF, DPO, GRPO, and verifiable rewards. Agentic AI extends a model from answering once to calling tools, browsing, writing code, and completing multi-step tasks; the Agentic RL chapters train these decisions using feedback from entire trajectories. The later chapters cover visual and embodied tasks, training systems, and evaluation.

Modern RL, Chapters 13–26: policy foundations, RLHF and DPO, GRPO and RLVR, reasoning, Agentic AI and Agentic RL, and multimodal RL, with training systems, safety, evaluation, and self-play.

📣 Announcement

We sincerely thank everyone for your support of this tutorial! A new version is coming soon. Many sections are still being organized and refined, so we appreciate your patience. Suggestions and feedback are always welcome!

News

Note: This course was created with AI assistance and has not yet been fully reviewed. It may contain factual mistakes or code that does not run as expected. Issues and pull requests are very welcome.

  • [2026-08-19] 🎮 Online Classic RL Environments and Scripts: Over the past two weeks, we have added and refined a collection of online reinforcement learning environments, training scripts, and companion notebooks. Learners can now run classic reinforcement learning experiments online, inspect training logs and evaluation results, and study the algorithms more conveniently. We also fixed many previously reported bugs in the course content, links, and experiment code.

Nội dung README thuộc về walkinglabs và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/walkinglabs/hands-on-modern-rl