Ponder-51M

50.9M Looped-GAB human chess engine (49.4 MiB INT8 desktop / 29.8 MiB W4 browser bundle) | 21 ms CPU

Honkware: Ponder Runtime: ONNX CPU 21ms Sibling: Ponder-24M

Ponder-51M (50,922,247 params, looped_gab: d_model=768, 12 heads, 5 unique blocks x 3 loops = 15 effective layers, trained strictly <= 2026-08) predicts human move distributions, game-outcome WDL, resignation probability, and think time conditioned on board state, 20-ply history, both players' Elo ratings, and clocks. It pairs with a compact Stockfish-guided System-2 reranker (Ponder-Sys2) and hierarchical HpdInfoProjector.

Bundles

Variant Repo Files (Sys1 + Sys2 + SF19 WASM) Total cal4k Top-1 / NLL elite2600 Top-1 / NLL CPU p50
Desktop INT8 this repo ponder_51m_int8.onnx (49.41) + sys2_l128_3l (2.69) + SF19 (1.20) 53.30 MiB 57.28% / 1.3282 62.57% / 1.1319 21.0 ms
Browser W4 (MatMulNBits) this repo ponder_51m_w4a16_matmul_nbits.onnx (28.01) + sys2_compact (0.56) + SF19 (1.20) 29.77 MiB 56.72% / 1.3338 61.63% / 1.1400 20.5 ms
Ponder-24M Browser INT8 sibling ponder_1_24m_int8.onnx (23.88) + sys2 v1 (0.49) + SF19 (1.20) 25.57 MiB 56.92% / 1.3410 61.63% / 1.1531 29.9 ms

Usage

hf download Honkware/ponder-51m --local-dir ./ponder-51m
pip install "ponder[onnx] @ git+https://github.com/Honkware/ponder.git"
from huggingface_hub import hf_hub_download
from ponder.export import OnnxSys1Adapter, OnnxSys2Reranker
from ponder.eval.adapters.sys2_wrapper import Sys2RerankedAdapter
from ponder.schema import EvalPosition

pos = EvalPosition.from_fen(
    moves_prefix=("e2e4", "c7c5", "g1f3", "d7d6"),
    clocks_prefix=(600.0, 600.0, 597.0, 595.0),
    think_prefix=(0.0, 0.0, 3.0, 5.0),
    self_elo=1800, opp_elo=1800, tc_base=600, tc_inc=0, self_clock_before=597.0, opp_clock_before=595.0,
)

# Pure ONNX CPU (no PyTorch): Desktop INT8 or Browser W4 MatMulNBits (requires onnxruntime >= 1.19)
sys1 = OnnxSys1Adapter(hf_hub_download("Honkware/ponder-51m", "ponder_51m_int8.onnx"))
pred = sys1.predict(pos)
top_move, top_prob = next(iter(pred.move_probs.items()))
print(f"Sys1: {top_move} ({top_prob:.1%}), WDL={pred.wdl}, think={pred.think_s:.1f}s")

# Optional System-2 ONNX reranker with local Stockfish 19 binary
sys2 = OnnxSys2Reranker(hf_hub_download("Honkware/ponder-51m", "ponder_51m_sys2_l128_3l.onnx"))
engine = Sys2RerankedAdapter(sys1, sys2, stockfish_path="stockfish", keep_horizons=(True, True, True, False))
reranked = engine.predict(pos)
engine.close()
Browser (onnxruntime-web) & Exact ONNX Tensor Contract
import * as ort from "onnxruntime-web";

const session = await ort.InferenceSession.create("./ponder_51m_w4a16_matmul_nbits.onnx", {
  executionProviders: ["webgpu", "wasm"],
});
const out = await session.run({
  board_feats: new ort.Tensor("float32", boardData, [1, 64, 18]),
  temporal_feats: new ort.Tensor("float32", temporalData, [1, 24]),
  history_feats: new ort.Tensor("float32", historyData, [1, 20, 12]),
  history_mask: new ort.Tensor("bool", historyMaskData, [1, 20]),
});
  • Perspective: vertically mirror board squares (sq ^ 56) and UCI moves whenever Black is to move.
  • History order: right-aligned oldest-to-newest (most recent ply in slot 19, padded left with history_mask = False).
  • System-1 inputs: board_feats [B, 64, 18] f32, temporal_feats [B, 24] f32, history_feats [B, 20, 12] f32, history_mask [B, 20] bool.
  • System-1 outputs: policy_logits [B, 1858] f32 (mask illegal moves), wdl_logits [B, 3] f32, resign_logit [B] f32, think_logits [B, 64] f32 (0..300s log-spaced bins).
  • System-2 inputs: cand_feats [B, K, 36] f32, cand_mask [B, K] bool, prior_probs [B, K] f32, ctx_feats [B, 32] f32, style_vec [B, 32] f32, prior_wdl [B, 3] f32.
  • System-2 outputs: logits [B, K], probs [B, K], wdl_logits [B, 3], wdl_probs [B, 3], log_scale [B], budget_frac_logit [B].

Evaluation (> 2026-08)

Strictly post-cutoff (2026-09 and 2026-10) BOT/TOS-verified Lichess splits: cal4k (4,300 rows / 3,900 moves), elite2600 (1,277 rows at >= 2600 Elo), and eval35k (35,479 rows). SF19 error shape is measured at 40k MultiPV nodes on cal4k (human empirical blunder rate: 11.28%, piece-drop share: 20.2%). Maia-3-79M has no clock/think/resign heads (n/a); Allie 2.1 (9.2B) was evaluated on cal4k + elite2600.

Model Size cal4k Top-1 / NLL elite2600 Top-1 / NLL eval35k Top-1 / NLL Think MAE Resign F1 SF19 Class L1 (mHPD-80)
Allie 2.1 (9.2B MoE) 18,400 MiB 57.26% / 1.3025 63.43% / 1.0412 n/a n/a n/a 2.79 pp (0.84)
Temporal-79M 316 MiB 57.54% / 1.3203 62.18% / 1.1091 56.57% / 1.3280 6.36s 0.734 3.10 pp (1.03)
Temporal-23M 92 MiB 56.85% / 1.3253 62.96% / 1.1270 56.24% / 1.3370 6.45s 0.728 2.90 pp (1.03)
Maia-3-79M (raw) 316 MiB 55.59% / 1.3632 59.51% / 1.2434 55.35% / 1.3726 n/a n/a 2.80 pp (0.34)
Ponder-51M (Sys1 BF16) 194 MiB 57.31% / 1.3284 62.57% / 1.1322 56.35% / 1.3425 6.37s 0.7358 3.04 pp (0.30)
Ponder-51M + Sys2 compact (60k) 29.8 MiB (W4) 57.31% / 1.3254 62.88% / 1.1212 56.34% / 1.3407 5.95s 0.7358 n/a (0.27)
Ponder-51M + Sys2 l128_3l (60k) 53.3 MiB (INT8) 57.10% / 1.3252 63.04% / 1.1206 56.30% / 1.3406 5.94s 0.7358 1.64 pp (0.20)

ONNX Quantization & CPU Latency (cal4k, onnxruntime 1.32.0 CPU)

Variant Disk Size Top-1 Top-5 NLL mHPD-80 WDL Brier Max Policy Diff CPU p50 CPU p95
fp32 194.77 MiB 57.23% 91.03% 1.3283 0.32 pp 0.1564 8.00e-06 20.47 ms 20.67 ms
fp16 97.71 MiB 57.23% 91.03% 1.3283 0.32 pp 0.1564 3.42e-03 20.02 ms 20.22 ms
int8 (shipped desktop) 49.41 MiB 57.28% 91.05% 1.3282 0.23 pp 0.1565 9.91e-02 21.02 ms 22.93 ms
fp8 49.65 MiB 57.10% 90.85% 1.3284 0.31 pp 0.1564 3.33e-01 21.12 ms 24.35 ms
w4a16 (MatMulNBits, browser) 28.01 MiB 56.72% 90.62% 1.3338 0.50 pp 0.1564 1.18e+00 20.45 ms 20.71 ms

Live 24-game SF19 gauntlets (model_elo=1800, 12 blitz 3+2 + 12 rapid 10+0, 0 flag losses): Desktop INT8 ONNX + Sys2 l128_3l (16k, CPU) scored 6.0 / 24 (1474 Elo, 1588 rapid, 55.0s); PyTorch BF16 + Sys2 l128_3l (16k) scored 5.5 / 24 (1444 Elo, 24.3s); Browser MatMulNBits W4 + Sys2 compact (16k, CPU) scored 3.5 / 24 (1309 Elo, 1474 rapid, 53.9s). Full receipts in quant_sweep_51m_cal4k.json, eval/, and gauntlet/.

Files & Artifacts
File Size Purpose
ponder_51m_int8.onnx 49.41 MiB Desktop per-channel INT8 System-1 ONNX
ponder_51m_w4a16_matmul_nbits.onnx 28.01 MiB Browser fused com.microsoft::MatMulNBits W4/INT8 System-1 ONNX
ponder_51m.pt 194.37 MiB PyTorch BF16/FP32 System-1 checkpoint (EMA weights)
ponder_51m_sys2_l128_3l.onnx / .pt 2.69 / 2.60 MiB Desktop System-2 reranker (128/3L, 577k params)
ponder_51m_sys2_compact.onnx / .pt 0.56 / 0.49 MiB Browser System-2 reranker (64/2L, 124k params)
ponder_51m_hpd_l128_3l.json, ponder_51m_hpd_compact.json 0.01 MiB Hierarchical HpdInfoProjector parameters (<= 2026-08)
quant_sweep_51m_cal4k.{json,md}, eval/, gauntlet/ 1.59 MiB Quantization sweep, post-cutoff summaries, clock probes, gauntlets
Training & Reproduction
Field Value
Repository Honkware/ponder
System-1 corpus 18.1M pre-cutoff (<= 2026-08) Lichess rows (54.6% 0.55 Allie 2.1 + 0.45 Temporal-79M, 45.4% Temporal-79M)
System-1 training 86.9k steps (B=1024), batched NorMuon + AdamW, BF16, EMA 0.999, Stage 3B 1-epoch pure 9.85M super-ensemble cooldown
System-2 corpus 217,144 strictly pre-cutoff OOS rows annotated with 4-horizon SF19 ladders (160 / 1.6k / 16k / 60k nodes)
Clock probes (cal4k) perm_nll_penalty = +0.0406 nats, hi90_vs_lo05 top-1 flip rate 18.0%, think delta +0.871s
SF19 forensics (Sys2 l128_3l) Severity MAE 3.7 cp, blunder rate 11.72% (human 11.28%), piece-drop share 21.2% (human 20.2%)

Limitations & License

  • Ponder models human move distributions, including human inaccuracies and blunders for the requested Elo and clock state; WDL outputs represent human outcome probabilities, not Stockfish evaluations.
  • Conditioning is best calibrated between 1000 and 2600 Lichess Elo (data above 2700 is sparse), and System-1 reads the most recent 20 plies rather than full-game sequences from ply 1.
  • Intended for sparring, analysis, research, and Lichess-compliant BOT accounts; do not use to assist human play in rated games.
  • Weights and code are released under the MIT License. Built clean-room by Honkware with PyTorch, ONNX Runtime, python-chess, Stockfish 19 (GPL-3.0, distributed separately), and public rated game archives from the Lichess open database.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support