Rename model to chessforge-35m in model card
Browse files13 unmodified lines1415161718192035 unmodified lines5657585960616263646566677 unmodified lines7576777879808113 unmodified lines95969798991001013 unmodified lines1051061071081091101111121131141151161171181195 unmodified lines1251261271281291301318 unmodified lines14014114214314414514614714814915015115215312 unmodified lines16616716816917017117252 unmodified lines22522622722822923013 unmodified lines- chessformer- uci-enginemodel-index:- name: ChessformerV2-35M-Jointresults:- task:type: move-prediction35 unmodified linesname: WDL Value Accuracy (%)---# ChessformerV2-35M-Joint (35.24M Parameters)**Authors:** [Rishiraj Acharya](https://profile.google.com/@rishirajacharya) *(Independent Researcher)* and **Soumik Rakshit** *(Principal Scientist, [eka.care](https://eka.care))***Codebase:** [`chessforge`](https://github.com/soumik12345/chessforge) | **Organization:** [`chessforge`](https://huggingface.co/chessforge) | **Compact 5M Sibling:** [`chessforge/ChessformerV2-5M-Joint`](https://huggingface.co/chessforge/ChessformerV2-5M-Joint)**ChessformerV2-35M-Joint** is our flagship **35,241,837-parameter** searchless human chess behavioral & cognitive-effort foundation model built in **JAX / Flax NNX**. Using **2.24× fewer parameters and 8× fewer training examples** (`512M` vs. `4.10B`) than `MAIA-3-79M` (`78.90M`), it **surpasses `MAIA-3-79M` across every single evaluation metric on both Titled Online and FIDE Classical Over-The-Board (OTB) chess**, while jointly modeling **System-1 (fast intuition) vs. System-2 (deep calculation)** move distributions $p_\theta(a, u \mid s)$.This repository also includes the **Stage-3 KL-Anchored, Value-Frozen Anti-Engine DPO** weights (`dpo_c1p5/model.msgpack`), which explicitly suppress computer-like Stockfish #1 choices on sound human–engine disagreements while still statistically outperforming `MAIA-3-79M` on overall move accuracy.7 unmodified lines## Architectural Specification| Component | Specification (`ChessformerV2-35M-Joint`) || :--- | :--- || **Backbone** | 16 Pre-RMSNorm blocks, $D = 384$, 12 QK-Norm heads (`head_dim = 32`), SwiGLU MLP (`mlp_ratio = 2.67`), `fp32` residual stream || **Hardware Tiling & Readout** | Strict $S = 64$ square-token trunk (`3,235.6 pos/s` on single TPU `v6e-1`) + post-trunk 2-query `CrossAttentionPool` (`[CLS_VALUE, CLS_PONDER]`) |13 unmodified lines| `MAIA-3-5M` | 5.23M | 0.51B–1.02B | 59.00 ± 0.30 | 86.15 | 3.330 | 59.77 | 0.8553 | 49.51 | 19.16 | 65.69 || `MAIA-3-23M` | 22.94M | 4.10B | 61.33 ± 0.29 | 87.84 | 3.047 | 60.34 | 0.8464 | 51.64 | 19.33 | 66.65 || `MAIA-3-79M` | 78.90M | 4.10B | 62.52 ± 0.29 | 88.66 | 2.932 | 60.64 | 0.8431 | 52.61 | 19.33 | 67.13 || **`ChessformerV2-35M-Joint` (Ours)** | **35.24M** | **0.51B** | **62.98 ± 0.29** | **88.87** | **2.894** | **62.12** | **0.8194** | 53.23 | 19.08 | 67.55 || **`+ Anti-Engine DPO (c=1.5)` (`dpo_c1p5/`)** | **35.24M** | **+1.0M** | 62.76 ± 0.29 | 88.68 | 3.076 | 61.39 | 0.8308 | **53.43** | **18.10** | **69.84** |### 2. `Eval-FIDE-OTB` (`144,559` positions; `46,888` Anti-SF positions)3 unmodified lines| `MAIA-3-5M` | 5.23M | 0.51B–1.02B | 51.99 ± 0.26 | 81.15 | 4.198 | 55.86 | 1.0988 | 38.90 | 19.88 | 61.22 || `MAIA-3-23M` | 22.94M | 4.10B | 54.57 ± 0.26 | 83.45 | 3.809 | 56.75 | 1.0712 | 41.09 | 20.14 | 62.36 || `MAIA-3-79M` | 78.90M | 4.10B | 55.80 ± 0.26 | 84.48 | 3.650 | 57.08 | 1.0598 | 42.50 | **20.00** | 62.96 || **`ChessformerV2-35M-Joint` (Ours)** | **35.24M** | **0.51B** | 58.50 ± 0.25 | 86.37 | 3.300 | 63.89 | 0.7991 | 44.74 | 20.79 | 62.98 || **`ChessformerV2-35M-Joint` (`--mask_titles`)** | **35.24M** | **0.51B** | **58.86 ± 0.25** | **86.66** | **3.248** | **65.57** | **0.7516** | **45.05** | 21.01 | 62.67 || **`+ Anti-Engine DPO (c=1.5)` (`dpo_c1p5/`)** | **35.24M** | **+1.0M** | 58.03 ± 0.25 | 85.92 | 3.617 | 63.49 | 0.8085 | 44.64 | 20.18 | **64.68** |### 3. Cognitive Effort Calibration & System-1 vs. System-2 Example (`Eval-Titled-Online`)| Variant | Marginal Effort NLL $H(U \mid S)$ ↓ | Posterior Effort NLL $H(U \mid S, A)$ ↓ | MI $I(A; U \mid S)$ (nats) ↑ | Joint NLL ↓ | Effort MAE ↓ | Effort Pearson $r$ ↑ || :--- | :---: | :---: | :---: | :---: | :---: | :---: || **`ChessformerV2-35M-Joint` (Main)** | **2.0554** | **2.0289** | 0.0265 | **3.0916** | 0.0999 | **0.6747** || **`+ Anti-Engine DPO (c=1.5)` (`dpo_c1p5/`)** | 2.0618 | 2.0341 | **0.0277** | 3.1578 | **0.0998** | 0.6724 |* **Qualitative GM Example (`IM 2748` vs. `GM 2740`, Ply 51, Clock `76.0s`, FEN `2q3k1/1pp1rpp1/pnnr3p/2N1p3/3P4/2P3P1/PP3PBP/3RRQK1 b - - 0 1`):**5 unmodified lines## Repository Contents* `model.msgpack` (`~141.0 MB`) — Primary Stage-2 `ChessformerV2-35M-Joint` pure `float32` Flax NNX weights.* `checkpoints/250000/` — Native Orbax `TrainState` checkpoint for out-of-the-box use with `chessforge.cli.uci` and `chessforge.cli.eval`.* `dpo_c1p5/model.msgpack` (`~141.0 MB`) — Stage-3 KL-Anchored, Value-Frozen Anti-Engine DPO (`dpo_coef = 1.5`, step `1000`) pure `float32` Flax NNX weights + evaluation JSONs.* `config.yaml`, `model_config.json`, `train_config.json`, and `eval_results/` — Ready-to-run configs and full evaluation JSONs (including Elo-stratified curves).8 unmodified linescd chessforgepip install -e ".[cpu]" # or ".[cuda12]" / ".[tpu]"python -c "from huggingface_hub import snapshot_download; snapshot_download('chessforge/ChessformerV2-35M-Joint', local_dir='./ChessformerV2-35M-Joint')"```### 2. Play as a Human-Like UCI Engine (Nibbler / CuteChess / En Croissant / Lichess-Bot)```bashpython -m chessforge.cli.uci \--config ./ChessformerV2-35M-Joint/config.yaml \--set workdir=./ChessformerV2-35M-Joint \--step 250000 --title GM --elo 2650 --format otb```12 unmodified linesfrom chessforge.models import build_model, forward_modelfrom chessforge.models.joint_time import sample_joint_move_timeckpt_dir = Path("./ChessformerV2-35M-Joint")meta = json.loads((ckpt_dir / "model_config.json").read_text())model_cfg = ModelConfig(**meta["model_config"])52 unmodified linesauthor = {Acharya, Rishiraj and Rakshit, Soumik},year = {2026},publisher = {Hugging Face},howpublished = {\url{https://huggingface.co/chessforge/ChessformerV2-35M-Joint}}}```13 unmodified lines1415161718192035 unmodified lines5657585960616263646566677 unmodified lines7576777879808113 unmodified lines95969798991001013 unmodified lines1051061071081091101111121131141151161171181195 unmodified lines1251261271281291301318 unmodified lines14014114214314414514614714814915015115215312 unmodified lines16616716816917017117252 unmodified lines22522622722822923013 unmodified lines- chessformer- uci-enginemodel-index:- name: chessforge-35mresults:- task:type: move-prediction35 unmodified linesname: WDL Value Accuracy (%)---# chessforge-35m (35.24M Parameters)**Authors:** [Rishiraj Acharya](https://profile.google.com/@rishirajacharya) *(Independent Researcher)* and **Soumik Rakshit** *(Principal Scientist, [eka.care](https://eka.care))***Codebase:** [`chessforge`](https://github.com/soumik12345/chessforge) | **Organization:** [`chessforge`](https://huggingface.co/chessforge) | **Compact 5M Sibling:** [`chessforge/chessforge-5m`](https://huggingface.co/chessforge/chessforge-5m)**chessforge-35m** is our flagship **35,241,837-parameter** searchless human chess behavioral & cognitive-effort foundation model built in **JAX / Flax NNX**. Using **2.24× fewer parameters and 8× fewer training examples** (`512M` vs. `4.10B`) than `MAIA-3-79M` (`78.90M`), it **surpasses `MAIA-3-79M` across every single evaluation metric on both Titled Online and FIDE Classical Over-The-Board (OTB) chess**, while jointly modeling **System-1 (fast intuition) vs. System-2 (deep calculation)** move distributions $p_\theta(a, u \mid s)$.This repository also includes the **Stage-3 KL-Anchored, Value-Frozen Anti-Engine DPO** weights (`dpo_c1p5/model.msgpack`), which explicitly suppress computer-like Stockfish #1 choices on sound human–engine disagreements while still statistically outperforming `MAIA-3-79M` on overall move accuracy.7 unmodified lines## Architectural Specification| Component | Specification (`chessforge-35m`) || :--- | :--- || **Backbone** | 16 Pre-RMSNorm blocks, $D = 384$, 12 QK-Norm heads (`head_dim = 32`), SwiGLU MLP (`mlp_ratio = 2.67`), `fp32` residual stream || **Hardware Tiling & Readout** | Strict $S = 64$ square-token trunk (`3,235.6 pos/s` on single TPU `v6e-1`) + post-trunk 2-query `CrossAttentionPool` (`[CLS_VALUE, CLS_PONDER]`) |13 unmodified lines| `MAIA-3-5M` | 5.23M | 0.51B–1.02B | 59.00 ± 0.30 | 86.15 | 3.330 | 59.77 | 0.8553 | 49.51 | 19.16 | 65.69 || `MAIA-3-23M` | 22.94M | 4.10B | 61.33 ± 0.29 | 87.84 | 3.047 | 60.34 | 0.8464 | 51.64 | 19.33 | 66.65 || `MAIA-3-79M` | 78.90M | 4.10B | 62.52 ± 0.29 | 88.66 | 2.932 | 60.64 | 0.8431 | 52.61 | 19.33 | 67.13 || **`chessforge-35m` (Ours)** | **35.24M** | **0.51B** | **62.98 ± 0.29** | **88.87** | **2.894** | **62.12** | **0.8194** | 53.23 | 19.08 | 67.55 || **`+ Anti-Engine DPO (c=1.5)` (`dpo_c1p5/`)** | **35.24M** | **+1.0M** | 62.76 ± 0.29 | 88.68 | 3.076 | 61.39 | 0.8308 | **53.43** | **18.10** | **69.84** |### 2. `Eval-FIDE-OTB` (`144,559` positions; `46,888` Anti-SF positions)3 unmodified lines| `MAIA-3-5M` | 5.23M | 0.51B–1.02B | 51.99 ± 0.26 | 81.15 | 4.198 | 55.86 | 1.0988 | 38.90 | 19.88 | 61.22 || `MAIA-3-23M` | 22.94M | 4.10B | 54.57 ± 0.26 | 83.45 | 3.809 | 56.75 | 1.0712 | 41.09 | 20.14 | 62.36 || `MAIA-3-79M` | 78.90M | 4.10B | 55.80 ± 0.26 | 84.48 | 3.650 | 57.08 | 1.0598 | 42.50 | **20.00** | 62.96 || **`chessforge-35m` (Ours)** | **35.24M** | **0.51B** | 58.50 ± 0.25 | 86.37 | 3.300 | 63.89 | 0.7991 | 44.74 | 20.79 | 62.98 || **`chessforge-35m` (`--mask_titles`)** | **35.24M** | **0.51B** | **58.86 ± 0.25** | **86.66** | **3.248** | **65.57** | **0.7516** | **45.05** | 21.01 | 62.67 || **`+ Anti-Engine DPO (c=1.5)` (`dpo_c1p5/`)** | **35.24M** | **+1.0M** | 58.03 ± 0.25 | 85.92 | 3.617 | 63.49 | 0.8085 | 44.64 | 20.18 | **64.68** |### 3. Cognitive Effort Calibration & System-1 vs. System-2 Example (`Eval-Titled-Online`)| Variant | Marginal Effort NLL $H(U \mid S)$ ↓ | Posterior Effort NLL $H(U \mid S, A)$ ↓ | MI $I(A; U \mid S)$ (nats) ↑ | Joint NLL ↓ | Effort MAE ↓ | Effort Pearson $r$ ↑ || :--- | :---: | :---: | :---: | :---: | :---: | :---: || **`chessforge-35m` (Main)** | **2.0554** | **2.0289** | 0.0265 | **3.0916** | 0.0999 | **0.6747** || **`+ Anti-Engine DPO (c=1.5)` (`dpo_c1p5/`)** | 2.0618 | 2.0341 | **0.0277** | 3.1578 | **0.0998** | 0.6724 |* **Qualitative GM Example (`IM 2748` vs. `GM 2740`, Ply 51, Clock `76.0s`, FEN `2q3k1/1pp1rpp1/pnnr3p/2N1p3/3P4/2P3P1/PP3PBP/3RRQK1 b - - 0 1`):**5 unmodified lines## Repository Contents* `model.msgpack` (`~141.0 MB`) — Primary Stage-2 `chessforge-35m` pure `float32` Flax NNX weights.* `checkpoints/250000/` — Native Orbax `TrainState` checkpoint for out-of-the-box use with `chessforge.cli.uci` and `chessforge.cli.eval`.* `dpo_c1p5/model.msgpack` (`~141.0 MB`) — Stage-3 KL-Anchored, Value-Frozen Anti-Engine DPO (`dpo_coef = 1.5`, step `1000`) pure `float32` Flax NNX weights + evaluation JSONs.* `config.yaml`, `model_config.json`, `train_config.json`, and `eval_results/` — Ready-to-run configs and full evaluation JSONs (including Elo-stratified curves).8 unmodified linescd chessforgepip install -e ".[cpu]" # or ".[cuda12]" / ".[tpu]"python -c "from huggingface_hub import snapshot_download; snapshot_download('chessforge/chessforge-35m', local_dir='./chessforge-35m')"```### 2. Play as a Human-Like UCI Engine (Nibbler / CuteChess / En Croissant / Lichess-Bot)```bashpython -m chessforge.cli.uci \--config ./chessforge-35m/config.yaml \--set workdir=./chessforge-35m \--step 250000 --title GM --elo 2650 --format otb```12 unmodified linesfrom chessforge.models import build_model, forward_modelfrom chessforge.models.joint_time import sample_joint_move_timeckpt_dir = Path("./chessforge-35m")meta = json.loads((ckpt_dir / "model_config.json").read_text())model_cfg = ModelConfig(**meta["model_config"])52 unmodified linesauthor = {Acharya, Rishiraj and Rakshit, Soumik},year = {2026},publisher = {Hugging Face},howpublished = {\url{https://huggingface.co/chessforge/chessforge-35m}}}```
README.md+15-15