Developers

gnubg-nn

Python bindings for GNU Backgammon's neural-net evaluator, with tools to train your own nets.

Status
In development
Kind
Python library
Licence
Open source: the licence ships with the package.

What it is

gnubg-nn is a set of Python bindings to the GNU Backgammon neural-net evaluator: the position evaluation nets, not the whole game (no GUI and no match play).

It also comes with tools to train and build nets of your own.

Alpha: the API will keep changing on the way to a stable release.

  • A Trainer class for training your own nets.
  • A self-play training pipeline, with the gnubg-nn-download and gnubg-nn-buildnet console tools.
  • Linux, macOS (Apple Silicon) and Windows; Python 3.10 to 3.13.

Install

pip install gnubg-nn
gnubg-nn

All developer products