Downloads · 30 days
6
14% of all-time downloads
Levdalba/advanced-magnus-chess-model
advanced-magnus-chess-model is a machine learning model from Levdalba. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
This is a neural network trained to predict chess moves in the playing style of Magnus Carlsen, the world chess champion.
Downloads · 30 days
6
14% of all-time downloads
All-time downloads
43
Public
Repo size
10.6 MB
Likes
0
Public
Click a slice to open those files.
.pth10.6 MB · 99%
From the Hugging Face model README
This is a neural network trained to predict chess moves in the playing style of Magnus Carlsen, the world chess champion.
# Load the model
from advanced_magnus_predictor import AdvancedMagnusPredictor
import chess
predictor = AdvancedMagnusPredictor()
# Analyze a position
board = chess.Board("rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1")
predictions = predictor.predict_moves(board, top_k=5)
for pred in predictions:
move = pred['move']
confidence = pred['confidence']
san = board.san(chess.Move.from_uci(move))
print(f"{san}: {confidence:.3f}")
model.pth: PyTorch model weightsconfig.yaml: Training configuration and metricsversion.json: Model version and metadataadvanced_magnus_predictor.py: Model loader and predictor classdemo.py: Example usage scriptrequirements.txt: Python dependenciesThe model predicts moves based on Magnus Carlsen's playing style, focusing on:
Perfect for chess analysis, training tools, and AI applications.
MIT License - Free for research, educational, and commercial use.