#130130th of 171 in Learning and cookbooks

drl-zh

Hands-on deep reinforcement learning course in exercise notebooks

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
2.3k
License
MIT
Last commit
May 2026
Last release
May 2026
Language
Jupyter Notebook
Stars, last 30 weeks+31
28 Apr 2026: 2,262 stars5 May 2026: 2,265 stars12 May 2026: 2,265 stars19 May 2026: 2,266 stars26 May 2026: 2,269 stars2 Jun 2026: 2,271 stars9 Jun 2026: 2,272 stars16 Jun 2026: 2,274 stars23 Jun 2026: 2,274 stars30 Jun 2026: 2,276 stars7 Jul 2026: 2,276 stars14 Jul 2026: 2,276 stars21 Jul 2026: 2,276 stars28 Jul 2026: 2,279 stars4 Aug 2026: 2,280 stars11 Aug 2026: 2,280 stars18 Aug 2026: 2,281 stars25 Aug 2026: 2,283 stars1 Sept 2026: 2,283 stars8 Sept 2026: 2,288 stars15 Sept 2026: 2,288 stars22 Sept 2026: 2,289 stars29 Sept 2026: 2,290 stars6 Oct 2026: 2,290 stars13 Oct 2026: 2,291 stars20 Oct 2026: 2,291 stars27 Oct 2026: 2,292 stars3 Nov 2026: 2,293 stars10 Nov 2026: 2,293 stars17 Nov 2026: 2,293 stars24 Nov 2026: 2,293 stars

2,262 on 28 Apr 20262,293 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A course of Jupyter notebooks (00 to 18) where you implement RL algorithms yourself, from MDPs and DQN through PPO, AlphaZero-style MCTS, RLHF/DPO/GRPO, Dreamer and MAML. Root notebooks have guided TODO sections, and the solution/ folder holds complete versions. A Docker workspace bundles code-server and a VS Code extension that gives hints using your own LLM key.

Who it is for: Engineers learning deep RL by implementing algorithms in PyTorch

Strengths

  • Exercise notebooks with TODOs plus full solutions in solution/
  • Covers classic RL through RLHF, Decision Transformers, world models and meta-learning
  • Docker compose workspace with CPU-only and NVIDIA GPU variants
  • Companion extension gives Socratic hints via Gemini, OpenAI, Anthropic or Groq

Weaknesses

  • Assumes comfort with PyTorch, probability, linear algebra and derivatives
  • Native setup requires Python >=3.13,<3.14
  • AI Companion needs your own LLM API key
  • Recommended browser for the workspace is Chromium-based only

What it needs

  • GPU optional
  • Docker + Compose
  • Needs Docker, Git, Python 3.13, LLM API key (optional, for AI Companion)
  • Models: Gemini, OpenAI, Anthropic, Groq
  • port 8080

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Learning and cookbooks

See all 171
Also in Learning and cookbooks
RankProjectScore
#128base-llmChinese-language course from NLP basics to LLM fine-tuning and deployment1.2k starsno license35 out of 100
#129reinforcement-learningPyTorch reference implementations of classic and deep RL algorithms, one file each3.7k starsMIT34 out of 100
#131e2b-cookbookRunnable examples for running LLM-generated code in E2B sandboxes1.4k starsno license34 out of 100
#132ai-agents-the-definitive-guideNotebooks accompanying the O'Reilly book on building and deploying AI agents3k stars+226 (+8.0%) in 30 daysno license33 out of 100
#133llm-trading-labLogs of a live ChatGPT-managed micro-cap stock portfolio, with analysis scripts7.6k stars+65 (+0.9%) in 30 daysno license32 out of 100