--- license: cc-by-4.0 tags: - chu-shogi - shogi - nnue - board-game - minase --- # minase-nets Evaluation networks for [minase](https://github.com/stepney141/minase), a chu shogi engine written in Rust. Each published file follows the naming convention `minase-----.`, using `.nnue` for NNUE weights and `.onnx` for AlphaZero-style PV-MCTS weights. When `minase` loads a file through the USI option `EvalFile` (or `NnModel` for PV-MCTS), it reports the full 64-character lowercase hexadecimal SHA-256 digest of the file in `info string network_sha256 ` immediately before `readyok`. For NNUE, `` follows the YaneuraOu architecture names and is read off the architecture string stored at the head of the file: - An optional `sfnn_` prefix marks the Stockfish-style LayerStack network (pairwise products of the two perspectives, squared clipped ReLU, and one skip output in the first hidden layer). Networks without the prefix concatenate the two perspectives, as in YaneuraOu's `halfkp_256x2-32-32`. - The input feature set is the `Features=` name in lowercase (`a`, `halfkpvm`). - The dimensions `xx` are the per-perspective feature transformer width and the output counts of the first and second hidden layers. For `sfnn_` networks, `` counts the skip output, as the architecture string does; YaneuraOu writes the same layer as 15 instead of 16. - A trailing `_psqt` marks a network whose architecture string contains `PSQT=1`. ## Directory layout - `nnue/a/minase-nnue-sfnn_a_xx_psqt---.nnue`: A-type NNUE networks in the tatara `LayerStack` format (for example `sfnn_a_256x16x32_psqt`). The A-type input covers every piece on the board, kings included, without conditioning on the king square. - `nnue/halfkp-vm/minase-nnue-halfkpvm_xx---.nnue`: `HalfKP_vm` NNUE networks in the tatara `Simple` format (for example `halfkpvm_256x32x32`). - `zero/minase-zero----.onnx`: AlphaZero-style ONNX networks for PV-MCTS (`--search mcts`). ## Published networks | Path | Format and structure | Compatible `minase` | Rule set | SHA-256 | Measurement record | |---|---|---|---|---|---| | `nnue/a/minase-nnue-sfnn_a_256x16x32_psqt-jcsa-20261118-9b686c93.nnue` | NNUE A-type (`tatara` LayerStack) | `>= 3.0.1` | `JCSA` (training data) | `9b686c93d8b376cf2c3493155a9c723648b780217fef06cf397cd48b7e0d9709` | [training](https://github.com/stepney141/minase/blob/master/docs/measurements/nnue-tatara-framework-and-halfkp-vm/nnue-tatara-framework-and-halfkp-vm-training.md), [STC](https://github.com/stepney141/minase/blob/master/docs/measurements/nnue-tatara-framework-and-halfkp-vm/nnue-tatara-framework-and-halfkp-vm-stc.md) | | `nnue/a/minase-nnue-sfnn_a_256x16x32_psqt-lishogi-20261124-41502087.nnue` | NNUE A-type (`tatara` LayerStack) | `>= 3.0.1` | `lishogi` (training data and matches) | `415020879b9086772acb168397dfa406a1432350c151f87b635b3f271153d1a9` | [training](https://github.com/stepney141/minase/blob/master/docs/measurements/nnue-generation-iteration/nnue-generation-iteration-gen3-training.md), [STC vs. generation 2](https://github.com/stepney141/minase/blob/master/docs/measurements/nnue-generation-iteration/nnue-generation-iteration-gen3-stc.md), [STC vs. the JCSA network](https://github.com/stepney141/minase/blob/master/docs/measurements/nnue-generation-iteration/nnue-generation-iteration-gen3-master-stc.md) | ### Networks for minase 3.0.0 Until 2026-11-25 the A-type feature set was called P-type, and minase 3.0.0 reads only network files that name it `P`. Those files are no longer on `main`; they remain at revision [`01ccc6f471e9696a37acfb3a2ac753c0add15a39`](https://huggingface.co/stepney141/minase-nets/tree/01ccc6f471e9696a37acfb3a2ac753c0add15a39/nnue/p). ## Usage Download a network file, verify its SHA-256 digest, and pass its path to `minase` via `EvalFile` before `isready` (USI) or `new` (CECP): ```text usi setoption name RuleSet value JCSA setoption name EvalFile value /path/to/minase-nnue-sfnn_a_256x16x32_psqt-jcsa-20261118-9b686c93.nnue isready ``` ## License All files in this repository, including the networks at earlier revisions, are licensed under the [Creative Commons Attribution 4.0 International License (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). When you share a network or a network derived from it, give credit and indicate the license, for example: > minase-nets by stepney141 (https://huggingface.co/stepney141/minase-nets), licensed under CC BY 4.0 The `minase` engine is licensed separately; see the License section of its [repository](https://github.com/stepney141/minase#license).