Instructions to use joelseytre/chessq-lite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ChessQueries
How to use joelseytre/chessq-lite with ChessQueries:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
ChessQ Lite model weights
Resources: Demo · Paper · Code · Paper model weights
ChessQ Lite recognizes chessboard positions from images. These models are further trained on proprietary data; V5 and V6 also predict viewing direction.
ChessQ Lite V6
| Format | Download | Size | Use |
|---|---|---|---|
| FP16 safetensors | V6 FP16 | 63.45 MB | PyTorch, CUDA or CPU |
| INT8 ONNX | V6 INT8 | 35.91 MB | ONNX Runtime, including browser WASM |
Matching JSON manifests describe inputs, outputs and artifact checksums. See SHA256SUMS-v6. V6 Core ML is awaiting Apple validation; V4 Core ML remains available below.
Accuracy
V4/V5/V6 Lite and Large on our full proprietary test collection of 6,605 images, which is not publicly distributed. Scores use fixed category weights, independent of category size, with the same weights for every model and both metrics. An exact board has all 64 squares correct.
Download SVG. The plot compares FP32 reference models. V6 Lite exports achieve 79.62% weighted exact-board accuracy with FP16 CUDA and 79.20% with INT8 CPU; browser preprocessing may differ.
Quick start
With Python 3.12, install the inference package and download either V6 file above:
python -m pip install "git+https://github.com/JSeytre/chessqueries.git@f54c07b50ae27ec5516bc80efdfb4e0600adc007"
chessqueries-predict photo.jpg --checkpoint cq-vit-s-644-v6-seed1-safetensors-fp16-r1.safetensors --device cuda --json
For CPU, use --device cpu. For ONNX, also install onnxruntime==1.30.0 and select the .onnx file. Browser integration guide.
Previous releases
| Version | Downloads |
|---|---|
| V5 | FP16 · INT8 |
| V4 | FP16 · Core ML for iOS 17+ · iOS guide |
License
Weights use the PolyForm Noncommercial License 1.0.0. Commercial use requires separate permission. Third-party terms are listed in NOTICE.
Contact: contact "at" chessq.org.
- Downloads last month
- 1,492
