chess23b-sft-1ep-set1
SFT with Tulu 3 general chat data plus chess replay in the chess_gpt_eval format. Supervised fine-tune of Chess-23b, a 1.70B-parameter base model pretrained on 23.7B tokens of commoncrawl, code, math and chess games (Lichess >= 2200 and Stockfish self-play, PGN text).
Model
| Architecture | Qwen3-style decoder (Qwen3ForCausalLM): 28 layers, d_model 2304, 18 query / 6 KV heads, head_dim 128, FFN 6144, tied embeddings |
| Context | 4096 tokens |
| RoPE theta | 50,000 (the value the base was pretrained with) |
| Tokenizer | GPT-2 BPE + chat template (Tulu format); `< |
| Precision | bfloat16. blu_qk_gammas.safetensors holds the fp32 q/k-norm gains of the training checkpoint (transformers uses the bf16 copies in model.safetensors) |
Training
| Data | Tulu 3 SFT OLMo-2 mix (all 18 sources except olmo_hardcoded) once + 100k Stockfish-vs-Stockfish replay games from the pretraining shards (chess_gpt_eval prompt format, loss on White's moves) twice: 1,039,174 training rows (built from kave-23/chess-tulu-set1) |
| Recipe | 1 epoch, 2029 steps, global batch 512 conversations, lr 5e-5, 3% warmup then linear decay to 0, Muon + AdamW (ZeRO-1), loss on assistant / White-move tokens only |
| Tokens | 0.601B seen, 389.0M trained (chess: 26.8M (6.9%)) |
| Validation loss (512 held-out rows) | 1.1988 -> 0.9173 |
| Hardware | 4x RTX PRO 6000 Blackwell |
Evaluation (2026-10-16)
OLMES multiple-choice QA, 5-shot (score = max of cloze and letter formulations):
| Model | ARC-C | ARC-E | BoolQ | CSQA | HellaSwag | OBQA | PIQA | SIQA | WinoGrande | MMLU | Core 9 | OLMES-10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Base (Chess-23b) | 38.6 | 67.8 | 63.3 | 56.5 | 53.1 | 44.2 | 70.8 | 48.9 | 54.6 | 32.1 | 55.3 | 53.0 |
| set0 (Tulu) | 38.3 | 66.4 | 64.8 | 57.2 | 53.2 | 44.6 | 70.3 | 48.3 | 54.3 | 31.7 | 55.3 | 52.9 |
| set1 (Tulu + chess replay) | 37.8 | 66.5 | 64.9 | 57.0 | 53.0 | 44.4 | 70.2 | 47.9 | 54.4 | 31.7 | 55.1 | 52.8 |
chess_gpt_eval Stockfish sweep: model plays White vs Stockfish 19 at 0.1 s/move, 100 games per level, prompt
<|endoftext|>[White "Magnus Carlsen"]\n[Black "Stockfish"]\n\n1.e4 e5 2. (compact notation), up to 5 attempts per move:
| Model | L0 | L1 | L2 | L3 | L4 | All | Lost by illegal move | Illegal attempts / move | Rating* |
|---|---|---|---|---|---|---|---|---|---|
| Base | 78.0 | 52.0 | 40.5 | 22.5 | 17.0 | 42.0 | 10% | 0.017 | 1524 +- 18 |
| set0 | 73.0 | 56.0 | 37.5 | 23.5 | 16.5 | 41.3 | 11% | 0.018 | 1517 +- 18 |
| set1 | 75.5 | 54.0 | 31.0 | 21.0 | 27.0 | 41.7 | 7% | 0.013 | 1521 +- 18 |
*Performance rating against Stockfish 19's own skill-level calibration (CCRL Blitz, skill 0-4 = 1347 / 1444 / 1566 / 1729 / 1953); approximate, since that calibration is for blitz rather than 0.1 s/move.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("kave-23/chess23b-sft-1ep-set1")
model = AutoModelForCausalLM.from_pretrained("kave-23/chess23b-sft-1ep-set1", torch_dtype="bfloat16")
Chess move generation uses plain-text prompts (no chat template), as in the Stockfish table above.