Views
No views yet
256 tokens207563844.0989704.11473227.68%87.29%30.97%66.82%1import mlx.core as mx
2from chess_model import ChessTokenizer, load_model
3
4model = load_model(".")
5tokenizer = ChessTokenizer.from_pretrained(".")
6tokens = mx.array([tokenizer.encode_tokens(["BOS"])])
7logits = model(tokens)AutoModelForCausalLM checkpoint. The repository includes chess_model.py for loading.legal_inference.py; it reconstructs the board from the full supplied move history before scoring only legal continuations.LICENSE.