File size: 853 Bytes
9da60b6
 
 
 
 
 
 
 
 
 
 
 
 
92932dc
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
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.