#296 · Primary category: Education & Research
reinforcement-learning
Minimal and Clean Reinforcement Learning Examples
Project last updated:06/12/26
GitHub Stars
3.7K
Forks
735
Contributors
14
License
MIT
Why we included this project
This repo is for people who want to understand reinforcement learning by reading actual code, not just theory. Each algorithm lives in one self-contained Python file, so you can go from a paper's update equation to a running example without untangling a big framework. The collection spans classic tabular methods like value iteration and SARSA through deep approaches like DQN, A2C, PPO, and REINFORCE, and it was recently rebuilt on PyTorch with gymnasium and uv, with each file noting the paper it follows and the core equation. The benchmark tables, including Atari runs for DQN and PPO with measured training time and memory on Apple silicon, give you a realistic idea of what these algorithms cost to run. It's a learning resource and reference for students and developers, not something to drop straight into a production system.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI