#618 · Primary category: Education & Research
PPO-PyTorch
Minimal implementation of clipped objective Proximal Policy Optimization (PPO) in PyTorch
Project last updated:07/09/24
GitHub Stars
2.4K
Forks
424
Contributors
6
License
MIT
Why we included this project
This repo is a small, readable PyTorch implementation of the clipped-objective PPO algorithm, built for OpenAI Gym environments. The whole training loop, actor-critic networks, and Monte-Carlo advantage estimation sit in a few hundred lines, so you can follow each piece without a framework in the way. It deliberately leaves out GAE, parallel workers, and learnable action variance, and the README explains why each simplification was made, which turns the code into a teaching tool. A Colab notebook plus utilities for logging, plotting curves, and rendering gifs from checkpoints make it easy to run classroom or self-study experiments. It won't replace a production library like Stable-Baselines3, but it's a clear map of how PPO actually works.
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