Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

movementor

Repository with code for training a LLM with Leela Chess Zero embeddings to explain Chesspositions. By FHNW University of Applied Sciences and Arts, Institute of Data Science, Windisch

Movementor overview

You can find used data here: https://doi.org/10.5281/zenodo.20666580

lm_training

Repository for training a language-model with chess embeddings from Leela Chess Zero. The Goal is to get the LLM to understand Leela Chess Zero Embeddings and then use them to explain Positions for Humans.

leela_inference

Repository with inference code for Leela Chess Zero used to generate the datasets to train the LLMs. This Repository contains scripts to generate new datasets in form of Chess Position Embeddings from Leela and new generated Text descriptions for the positions. This includes text descriptions with position features gathered from Stockfish 11 or also LLM generated Questions for these descriptions! For data generation scripts you need to have a Stockfish model and an onnx Version of Leela like BT4.

preprocessing

Preprocessing scripts for scraped chess and text data. The preprocessing includes converting the data to the format that Leela Chess Zero uses for its input and then generating the embeddings for the positions.

data_prediction

(proof of concept)

Repository to predict if a Text matches to its chess embedding from leela. Used as a Proof of concept if a model is able to understand if a text matches to the Leela embedding. Some of the text and embedding pairs are real some are shuffled. The model has to predict 1 or 0.

Funding

This work was supported by the Hasler Foundation (Hasler Stiftung) under grant no. 2025-05-05-522

Movementor overview

Movementor overview

About

Repository with data and code for training a LLM to explain Chesspositions. By FHNW I4DS Windisch

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages