Downloads · 30 days
0
maojh15/GomokuZeroAI
GomokuZeroAI is a reinforcement learning model from maojh15. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
GomokuZeroAI is an AlphaZero-style Gomoku checkpoint trained with self-play, a PyTorch policy-value network, and Monte Carlo Tree Search.
Downloads · 30 days
0
Access
Public
Updated May 10, 2026
Repo size
8.3 MB
Likes
0
Public
Click a slice to open those files.
.pt8.3 MB · 100%
From the Hugging Face model README
GomokuZeroAI is an AlphaZero-style Gomoku checkpoint trained with self-play, a PyTorch policy-value network, and Monte Carlo Tree Search.
This repository hosts the model weights used by the companion project:
https://github.com/maojh15/GomokuZeroAI
The current checkpoint is:
iter_0150_15x15.pt
It is intended for local human-vs-AI play through the project's web UI.
Clone the code repository:
git clone https://github.com/maojh15/GomokuZeroAI.git
cd GomokuZeroAI
Install dependencies:
pip install numpy torch pyyaml huggingface_hub
Download the checkpoint:
hf download maojh15/GomokuZeroAI iter_0150_15x15.pt --local-dir result_15x15/checkpoints
Start the local human-vs-AI server:
python play_human.py --host 127.0.0.1 --port 8765
Open the web UI:
http://127.0.0.1:8765
Select iter_0150_15x15.pt in the checkpoint dropdown and click the new-game button to start playing.
iter_0150_15x15.pt1 and -1The network predicts:
[0, 1] from the current player's perspectiveThe local web UI can display both the raw network value and the MCTS root value.
This checkpoint is meant for:
This is not a Transformers model and is not intended for use through the Hugging Face pipeline() API.
For interactive human-vs-AI play, start with:
MCTS playouts: 2000c_puct: 5.0candidate distance: empty / all legal movesmcts_tactical_shortcuts: enabled for faster tactical responses in the web UIIf moves are too slow on your machine, reduce MCTS playouts to 400-1000.
iter_0150_15x15.pt
This file contains the model weights and training configuration payload used by the GomokuZeroAI checkpoint loader.
If you use this checkpoint or codebase in your own experiments, please reference the project repository:
https://github.com/maojh15/GomokuZeroAI