NextBoard / README.md
fmorgens's picture
Add ONNX file for nextboard-27m-step26000
92932dc verified
|
Raw History Blame Contribute Delete
853 Bytes
metadata
tags:
  - chess

NextBoard

Checkpoints of NextBoard, a chess model that plays by generating the next board. It is a bidirectional transformer trained as a masked-diffusion model: given the last boards of a game, it fills in all 64 squares of the next board. There is no move list, no move scoring and no engine; chess rules are used only to check whether a generated board is a legal move.

models.json lists the checkpoints. Each folder holds model.safetensors (weights), config.json (model shape), tokenizer.json and model.onnx. The ONNX file is the same network for onnxruntime (web): inputs input_ids (int32, the token window) and t (float32, diffusion time), output logp, the log-probabilities for the 64 squares of the next board. Its weights are stored in half precision and cast back to float32 when the file is loaded.