#705 · Primary category: Education & Research
minimalRL
Implementations of basic RL algorithms with minimal lines of codes! (pytorch based)
Project last updated:04/22/23
GitHub Stars
3.2K
Forks
491
Contributors
5
License
MIT
Why we included this project
minimalRL is a compact way to see how the core reinforcement learning algorithms work in actual PyTorch code. REINFORCE, DQN, PPO, DDPG, SAC, and the rest each live in a single file of about 100 to 150 lines, so you can follow a full training loop without hunting through a large codebase. Since every environment is pinned to CartPole-v1 and runs finish in around thirty seconds on a CPU, it is easy to experiment and to compare how value-based, policy-gradient, and actor-critic approaches differ. That makes it a good fit for students, educators, and engineers refreshing their RL knowledge who want to get from code to the underlying math quickly. Just remember it is built for clarity, not production scale, so treat it as a learning companion rather than a drop-in library.
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