benediamond / leela-chess Goto Github PK
View Code? Open in Web Editor NEWA chess adaption of GCP's Leela Zero
A chess adaption of GCP's Leela Zero
Line 72 in 3079185
The dictionary defined here will be used during the MCTS search, to use Move
s to index into the Network
's results, i.e. in:
Lines 116 to 120 in 3079185
I've already done something like this in my Python repository, see https://github.com/benediamond/chess-alpha-zero/blob/588b4d4f81978805be6a178faf8469948d891721/src/chess_zero/config.py#L19-L86
Though the UCTSearch
and UCTNode
classes should be all but functional as is (except for adapting the Network
, see Issue #1) I haven't integrated these with the scripts handling the command line interface and autogp
and so on. As it stands, I have just dumped into main.cpp
the beginnings of how to set everything up:
Lines 54 to 59 in c92efdb
But this should be handled by a smoother utility that orchestrates games of self-play, etc. (presumably this code is already written). Note: once this is done, the moves encountered should be properly emplace_back
ed onto states
, as in stockfish:
The get_scored_moves_internal
routine of Network.cpp
, together with the entirety of OpenCL.cpp
, are littered with constants specific to Go (19, 391, 392, etc.). Presumably, this is just a matter of changing a few numbers. Yet the whole thing is fairly complicated, so I have held off on doing this for the time being. Here are a few examples:
Lines 356 to 360 in 8675bd2
Lines 383 to 393 in 8675bd2
Lines 559 to 572 in 3079185
Hi, @benediamond. I like this approximation very much. I'll try to help in my possibilities.
I don't know yet the source code of this project too much but I think we should implement a supervised learning script able to create input files for checking the model is able to converge.
I thought about importing directly the python script we already have in order just to create the input files for feeding the model. How do we need to create this files? what's its format?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.