Reinforcement Learning
stable-baselines3
deep-reinforcement-learning
ppo
minesweeper
custom-environment
Instructions to use Frenchwizz/MineSweeper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use Frenchwizz/MineSweeper with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="Frenchwizz/MineSweeper", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- deep-reinforcement-learning
|
| 4 |
+
- reinforcement-learning
|
| 5 |
+
- ppo
|
| 6 |
+
- minesweeper
|
| 7 |
+
- custom-environment
|
| 8 |
+
library_name: stable-baselines3
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# PPO Agent playing MineSweeper Mania
|
| 12 |
+
|
| 13 |
+
This is a trained **PPO** agent playing a custom web-based **Minesweeper** environment built using Playwright and Gymnasium.
|
| 14 |
+
|
| 15 |
+
## Video Replay
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
- **Algorithm:** PPO (Proximal Policy Optimization)
|
| 21 |
+
- **Policy:** MlpPolicy (9x9 numerical grid state)
|
| 22 |
+
- **Observation Space:** 9x9 Box (-1 = covered, 0-8 = revealed counts)
|
| 23 |
+
- **Action Space:** Discrete(81)
|