mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
| .. | ||
| __init__.py | ||
| helpers.py | ||
| pokemon_env_self_play.py | ||
| pokemon_environment.py | ||
| README.md | ||
| requirements.txt | ||
Pokemon Showdown Environment
This is a Pokemon Showdown environment that allows you to play Pokemon battles with the Pokemon Showdown Battle Simulator.
Overview Video
Video: TBD
Quickstart
- Set up the Pokemon Showdown Battle Simulator environment. This is necessary for the pokemon players to be able to connect to the battle simulator.
git clone https://github.com/smogon/pokemon-showdown.git
cd pokemon-showdown
npm install
node pokemon-showdown start --no-security
- Run the RL trainer
python environments/game_environments/pokemon-showdown/pokemon_environment.py process
TLDR: GPT player vs Max Damage Player
- GPT player is a player that uses a GPT model to decide what to do in a battle. - GPT player received battle history state at the end (binary win/loss) as feedback to the Atropos RL environment.
- Max Damage Player is a player that always pick the maximum damage move.