Views
No views yet
avewright/chess-transformer-200m-latest
onto compact move vocab (1968) using local Stockfish MultiPV soft targets
(avewright/exp186-sf-multipv-2m).best_model.pt (exp188 best.pt snapshot)MOVE_VOCAB_VERSION=compact)1import os
2os.environ["MOVE_VOCAB_VERSION"] = "compact"
3import torch
4from huggingface_hub import hf_hub_download
5from chess_transformer_factory import build_model, DEFAULT_200M_CONFIG
6
7path = hf_hub_download("avewright/chess-transformer-200m-compact-soft", "best_model.pt")
8model = build_model(DEFAULT_200M_CONFIG)
9ckpt = torch.load(path, map_location="cpu", weights_only=False)
10model.load_state_dict(ckpt["model_state_dict"], strict=False)
11model.eval()TRAINING_STATUS.md in this repo.