The 5M model (8 transformer blocks with generated attention bias) computed with plain f32 loops: no ML runtime, no Python. Weights in a small own format (f16, 10 MB) written by scripts/maia-convert.py from the published checkpoint; the shared bias tensor is kept once. Agrees with the original PyTorch model to four decimals on the reference positions (tests/reference.json, an ignored test that needs the weights); about 85 ms per position on one CPU core. Also the analyst's research for playing against it (docs/research/play-mode.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
341 B
TOML
14 lines
341 B
TOML
[package]
|
|
name = "maia"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
description = "A human-like chess move predictor (the Maia-3 network), computed in plain Rust"
|
|
|
|
[dependencies]
|
|
shakmaty.workspace = true
|
|
thiserror.workspace = true
|
|
|
|
[dev-dependencies]
|
|
serde_json.workspace = true
|