AI MOOC
✦ Grow togetherInvite 3 friends, earn 1 month of membership · Up to 12 monthsInvite friends →

Free learning library / WalkingLabs · Sanbu

Hands-On Modern RL: From Classic Control to LLM Alignment

Study classic and deep reinforcement learning, then explore LLM alignment and agent training.

Online textbook · PDF / EPUB · Reinforcement learning and LLM alignment · Chinese and English; check the source for version differences

Who it is for

For readers with Python and machine learning foundations who want to progress from reinforcement learning to LLM post-training.

What you can learn

Start with states, actions, rewards and returns; study value methods, policy gradients and PPO, then explore RLHF, DPO, GRPO, agentic reinforcement learning and evaluation.

Try it first

Read the CartPole introduction and list its states, actions, reward and stopping condition. Check dependencies before running an example, then record learning curves and compare random seeds.

Free access and conditions

The Chinese and English web text is free to read without an account. The authors provide v0.2.1 PDFs and EPUBs in both languages. The evolving website and book editions may differ; experiments need compute and cloud or model services may charge.

Author-provided PDF and EPUB (expand Assets on the release page) ↗

Source and rights

The course material is marked CC BY-NC-SA 4.0, which restricts commercial use. This page links to the source and provides independent guidance; check code, images and other third-party licenses separately.

Source: WalkingLabs · Sanbu

Related learning resources

Continue learning: Free courses on AI MOOC

Read now