Run this model with HF Jobs
Run kave-23/chess23b-sft-1ep-set0 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/kave-23/chess23b-sft-1ep-set0. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/kave-23/chess23b-sft-1ep-set0 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/kave-23/chess23b-sft-1ep-set0. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/kave-23/chess23b-sft-1ep-set0. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use kave-23/chess23b-sft-1ep-set0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kave-23/chess23b-sft-1ep-set0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kave-23/chess23b-sft-1ep-set0") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("kave-23/chess23b-sft-1ep-set0") model = AutoModelForCausalLM.from_pretrained("kave-23/chess23b-sft-1ep-set0", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use kave-23/chess23b-sft-1ep-set0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kave-23/chess23b-sft-1ep-set0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kave-23/chess23b-sft-1ep-set0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kave-23/chess23b-sft-1ep-set0
- SGLang
How to use kave-23/chess23b-sft-1ep-set0 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "kave-23/chess23b-sft-1ep-set0" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kave-23/chess23b-sft-1ep-set0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "kave-23/chess23b-sft-1ep-set0" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kave-23/chess23b-sft-1ep-set0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use kave-23/chess23b-sft-1ep-set0 with Docker Model Runner:
docker model run hf.co/kave-23/chess23b-sft-1ep-set0
chess23b-sft-1ep-set0
SFT control: Tulu 3 general chat data only, no chess. 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), each conversation once: 839,741 conversations (built from kave-23/chess-tulu-set0) |
| Recipe | 1 epoch, 1639 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.528B seen, 362.2M trained (chess: 0) |
| Validation loss (512 held-out rows) | 1.2300 -> 0.9426 |
| 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-set0")
model = AutoModelForCausalLM.from_pretrained("kave-23/chess23b-sft-1ep-set0", torch_dtype="bfloat16")
Chess move generation uses plain-text prompts (no chat template), as in the Stockfish table above.
- Downloads last month
- 20