Repository navigation
Releases
v0.1.0 · Play the pretrained Othello agent
This first release includes the MLX training and search code for Connect4 and Othello and the weights from the Othello game in the README. Download the weights and play on an Apple Silicon Mac. The Othello agent trained from scratch for 120.0 training minutes (78,809 self-play games, about 2 h 29 min elapsed) on an Apple M5 with 24 GB, using MLX 0.32.4. The network has four residual blocks and 64 channels.
Asset: othello.safetensors (1,249,885 bytes).
SHA-256: 7f9d0a671fccd67ba6ac7b29b5719a91b1d27cea216449919efcb04138f66bb6.
In the terminal, supply the downloaded file to the play command from the repository root:
uv run python examples/play_othello.py /path/to/othello.safetensorsThe agent scored 0.905 against Edax 4.6 level 1 (90 wins, one draw, nine losses). It used 32 Gumbel simulations per move with PUCT below the root. The evaluation used seed 0 and 50 six-ply openings played once per color.
scripts/build_edax.sh
uv run python benchmarks/edax_match.py --checkpoint /path/to/othello.safetensors --search-only --levels 1 --games 100 --seed 0 --opening-plies 6 --simulations 32To train from scratch as in commit 5d22b64, build Edax and run:
uv run python examples/train_othello.py --minutes 120 --symmetries --seed 0 --save-eval-weights --checkpoint checkpoints/sym.safetensorsThe training curve is in docs/othello-sym-strength.png. The move record in benchmarks/data/othello/edax-level1-game.json identifies the weights used for the 36–28 win shown in the README.