Views
No views yet
jspaulsen/halluci-mate-v1a. Expect rough edges — move quality, strategy, and robustness are all unvalidated beyond basic smoke tests.Qwen3ForCausalLM), ~0.6B parameters
bfloat16, tied word embeddings, RoPE θ = 1,000,000<PAD>, <UNK>, <EOS>, <WHITE>, <BLACK>, <DRAW>) + ~1,792 geometric UCI moves + 176 promotion movesruns-v1a-ft/wise-hawk-672/checkpoint-1998AutoTokenizer.from_pretrained. It is defined in src/halluci_mate/chess_tokenizer.py in the source repo. Install the package and use ChessTokenizer() directly.<WHITE> or <BLACK> (or <DRAW>), followed by the sequence of UCI moves.1import chess
2import torch
3from transformers import AutoModelForCausalLM
4
5from halluci_mate.chess_tokenizer import ChessTokenizer
6from halluci_mate.game.game import Game
7from halluci_mate.inference import ChessInferenceEngine
8
9engine = ChessInferenceEngine.from_checkpoint(
10 "jspaulsen/halluci-mate-v1b",
11 constrained=True, # mask logits to legal moves
12 temperature=0.0, # greedy
13)
14
15game = Game(board=chess.Board(), condition="<WHITE>")
16move = engine.predict(game)
17print(move.uci())constrained=False) will occasionally produce illegal tokens — this is expected for an alpha.jspaulsen/halluci-mate-v1aNormal termination, SAN parsed to UCI with python-chessscripts/train.py in the source repoTODO.md in the source repo.Game constructs