Add a public model card.
Browse files
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: onnx
|
| 3 |
+
tags:
|
| 4 |
+
- chess
|
| 5 |
+
- chess-engine
|
| 6 |
+
- onnx
|
| 7 |
+
pipeline_tag: other
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# minichess-gpt
|
| 11 |
+
|
| 12 |
+
A small neural chess engine that runs in the browser. It looks at the current board, searches ahead, and plays one legal move.
|
| 13 |
+
|
| 14 |
+
Full-precision weights. Prefer this when the browser can use a GPU.
|
| 15 |
+
|
| 16 |
+
## What's in this repo
|
| 17 |
+
|
| 18 |
+
This is a browser chess engine package (`chess-gpt-package-v1`), not a Transformers checkpoint.
|
| 19 |
+
|
| 20 |
+
A compatible runner loads:
|
| 21 |
+
|
| 22 |
+
- `browser/manifest.json` — file list and hashes
|
| 23 |
+
- `browser/entry.js` — search and move picker
|
| 24 |
+
- the ONNX net named in that manifest
|
| 25 |
+
|
| 26 |
+
## Use
|
| 27 |
+
|
| 28 |
+
Point a chess-gpt-compatible runner at `burrowdweller/minichess-gpt-final-fp32`. It calls `loadPackage` → `newGame` → `chooseMove({ history, legalMoves })` and must return one of those legal moves.
|
| 29 |
+
|
| 30 |
+
The net is small on purpose. Strength comes from searching at move time.
|
| 31 |
+
|
| 32 |
+
Source: [junisbuilding/chessdb](https://github.com/junisbuilding/chessdb)
|