https://github.com/ai-glimpse/toyrl
Reinforce learning is awesome!
https://github.com/ai-glimpse/toyrl
a2c aiglimpse build-your-own-x double-dqn dqn ppo python3 reinforce reinforcement-learning sarsa toyrl
Last synced: 4 months ago
JSON representation
Reinforce learning is awesome!
- Host: GitHub
- URL: https://github.com/ai-glimpse/toyrl
- Owner: ai-glimpse
- License: apache-2.0
- Created: 2025-04-24T04:55:03.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-06-08T13:46:04.000Z (4 months ago)
- Last Synced: 2025-06-08T14:32:52.345Z (4 months ago)
- Topics: a2c, aiglimpse, build-your-own-x, double-dqn, dqn, ppo, python3, reinforce, reinforcement-learning, sarsa, toyrl
- Language: Python
- Homepage: https://ai-glimpse.github.io/toyrl/
- Size: 2.78 MB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ToyRL
[](https://pypi.org/project/toyrl/)
[](https://pypi.org/project/toyrl/)
[](https://pepy.tech/projects/toyrl)
[](https://github.com/ai-glimpse/toyrl/blob/master/LICENSE)
[](https://deepwiki.com/ai-glimpse/toyrl)[](https://github.com/astral-sh/ruff)
[](https://mypy-lang.org/)
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/ai-glimpse/toyrl/actions/workflows/build_docs.yaml)
[](https://github.com/ai-glimpse/toyrl/actions/workflows/test.yaml)
[](https://codecov.io/gh/ai-glimpse/toyrl)## Documentation
[https://ai-glimpse.github.io/toyrl](https://ai-glimpse.github.io/toyrl)
## Installation
```bash
pip install toyrl
```## Algorithms
- [x] REINFORCE
- [x] SARSA
- [x] DQN & Double DQN
- [x] A2C
- [x] PPO## References
- [kengz/SLM-Lab](https://github.com/kengz/SLM-Lab): Our implementations are inspired by the book "Foundations of Deep Reinforcement Learning" and the implementation of SLM-Lab.
- [vwxyzjn/cleanrl](https://github.com/vwxyzjn/cleanrl): The main reference for the implementation of the PPO implementation.