Leela-Cerebellum available

Discussion of anything and everything relating to chess playing software and machines.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
pohl4711
Posts: 1102
Joined: Sat Sep 03, 2011 5:25 am
Location: Berlin, Germany
Contact:

Leela-Cerebellum available

Post by pohl4711 » Sun Apr 14, 2019 7:39 pm

Leela Cerebellum book available
BrainFish can use two books parallel
Brainfish has a new UCI Parameter BookFile2:

When playing with two Books, Brainfish first tries the Book set with UCI - BookFile
When the position is not found inside the first book, it tries the second book (if set) UCI - BookFile2

When playing with the Leela and Stockfish book parallel, the Leela Book should be set as the first book

Another option could be to use a special Tournament book as the first book (BookFile),
(which for example exploits some temporary weaknesses of other books or engines),
and to use the Cerebellum Stockfish book as the backup book (BookFile2).

https://zipproth.de/#Brainfish_download

Testrun on SPCC will start tomorrow... stay tuned!

supersharp77
Posts: 763
Joined: Sat Jul 05, 2014 5:54 am
Location: Southwest USA

Re: Leela-Cerebellum available

Post by supersharp77 » Sun Apr 14, 2019 8:31 pm

pohl4711 wrote:
Sun Apr 14, 2019 7:39 pm
Leela Cerebellum book available
BrainFish can use two books parallel
Brainfish has a new UCI Parameter BookFile2:

When playing with two Books, Brainfish first tries the Book set with UCI - BookFile
When the position is not found inside the first book, it tries the second book (if set) UCI - BookFile2

When playing with the Leela and Stockfish book parallel, the Leela Book should be set as the first book

Another option could be to use a special Tournament book as the first book (BookFile),
(which for example exploits some temporary weaknesses of other books or engines),
and to use the Cerebellum Stockfish book as the backup book (BookFile2).

https://zipproth.de/#Brainfish_download

Testrun on SPCC will start tomorrow... stay tuned!
Leela book? what is it..LC0 games? Whats it for? Thx AR :) :wink:

Thomas Zipproth
Posts: 56
Joined: Sat Jan 01, 2011 4:33 pm

Re: Leela-Cerebellum available

Post by Thomas Zipproth » Sun Apr 14, 2019 9:25 pm

supersharp77 wrote:
Sun Apr 14, 2019 8:31 pm
Leela book? what is it..LC0 games? Whats it for? Thx AR :) :wink:
Cerebellum_Light_Net32930 is calculated with lc0 and Net 32930.
Cerebellum does not depend on a special engine :)

Some preliminary tests indicated that the Leela and Stockfish book can complement each other,
which means when they are used both together (using the new Brainfish with the two books option) as first and second book (first = Leela book),
then you have a stronger engine as with one of those books alone.

User avatar
Ozymandias
Posts: 1137
Joined: Sun Oct 25, 2009 12:30 am

Re: Leela-Cerebellum available

Post by Ozymandias » Sun Apr 14, 2019 9:42 pm

Thomas Zipproth wrote:
Sun Apr 14, 2019 9:25 pm
supersharp77 wrote:
Sun Apr 14, 2019 8:31 pm
Leela book? what is it..LC0 games? Whats it for? Thx AR :) :wink:
Cerebellum_Light_Net32930 is calculated with lc0 and Net 32930.
Cerebellum does not depend on a special engine :)

Some preliminary tests indicated that the Leela and Stockfish book can complement each other,
which means when they are used both together (using the new Brainfish with the two books option) as first and second book (first = Leela book),
then you have a stronger engine as with one of those books alone.
Long time no see, I'll take the opportunity to ask about the Sirius GUI.

Nay Lin Tun
Posts: 529
Joined: Mon Jan 16, 2012 5:34 am

Re: Leela-Cerebellum available

Post by Nay Lin Tun » Sun Apr 14, 2019 10:09 pm

Thomas Zipproth wrote:
Sun Apr 14, 2019 9:25 pm
supersharp77 wrote:
Sun Apr 14, 2019 8:31 pm
Leela book? what is it..LC0 games? Whats it for? Thx AR :) :wink:
Cerebellum_Light_Net32930 is calculated with lc0 and Net 32930.
Cerebellum does not depend on a special engine :)

Some preliminary tests indicated that the Leela and Stockfish book can complement each other,
which means when they are used both together (using the new Brainfish with the two books option) as first and second book (first = Leela book),
then you have a stronger engine as with one of those books alone.
Hi, I have a question.
Arena GUI recognize the book format *.abk .
The book come with *.bin. Which GUI or adaptor should I use.

Thomas Zipproth
Posts: 56
Joined: Sat Jan 01, 2011 4:33 pm

Re: Leela-Cerebellum available

Post by Thomas Zipproth » Sun Apr 14, 2019 10:50 pm

Ozymandias wrote:
Sun Apr 14, 2019 9:42 pm
Long time no see, I'll take the opportunity to ask about the Sirius GUI.
I'm sorry to say that the status of the Sirius GUI has not changed, in the last two years neither I or my brother had enough time to finish this project, because it takes an enormous amount of time to test everything, fix all bugs and make it user friendly. I had the time to make the Leela book, for which I needed about 4 days additional development time, but the Sirius GUI would need about two month, which is too much in the moment. I hope we will somehow manage to release the Siruis GUI (which also means Cerebellum full) before Chess is finally solved :)

Thomas Zipproth
Posts: 56
Joined: Sat Jan 01, 2011 4:33 pm

Re: Leela-Cerebellum available

Post by Thomas Zipproth » Sun Apr 14, 2019 11:01 pm

Nay Lin Tun wrote:
Sun Apr 14, 2019 10:09 pm
Hi, I have a question.
Arena GUI recognize the book format *.abk .
The book come with *.bin. Which GUI or adaptor should I use.
Many engines can use a .bin book directly with an UCI option, for example BrainFish, Houdini and Komodo.
BrainFish is able to handle two .bin books parallel.
The Scid Database GUI can display and edit .bin books.

User avatar
Ozymandias
Posts: 1137
Joined: Sun Oct 25, 2009 12:30 am

Re: Leela-Cerebellum available

Post by Ozymandias » Mon Apr 15, 2019 6:44 am

Thomas Zipproth wrote:
Sun Apr 14, 2019 10:50 pm
it takes an enormous amount of time to test everything
If you need help with that, you just have to ask. It would be a shame if you only released it once it's useless, after all the effort that must have gone into it already.

jp
Posts: 836
Joined: Mon Apr 23, 2018 5:54 am

Re: Leela-Cerebellum available

Post by jp » Mon Apr 15, 2019 9:46 am

Thomas Zipproth wrote:
Sun Apr 14, 2019 9:25 pm
Cerebellum_Light_Net32930 is calculated with lc0 and Net 32930.
Cerebellum does not depend on a special engine :)
But for either Lc or SF Cerebellum books, they don't calculate all by themselves, right? You steer them to analyze human opening positions, right?

Thomas Zipproth
Posts: 56
Joined: Sat Jan 01, 2011 4:33 pm

Re: Leela-Cerebellum available

Post by Thomas Zipproth » Mon Apr 15, 2019 2:42 pm

jp wrote:
Mon Apr 15, 2019 9:46 am
But for either Lc or SF Cerebellum books, they don't calculate all by themselves, right? You steer them to analyze human opening positions, right?
Cerebellum is basically a big tree (in reality a graph because chess lines can have repetitions) of recalculated positions from a selected chess engine. The original score of every position is recalculated with a special graph algorithm so that the new score is consistent with its child nodes and finally the leaf nodes. This includes repetitions which can lead to zero-scores.

How you obtain the positions which are calculated and added to the graph is completely free, the only constraint is that they must be connected to the root position.

Some examples which are used in reality are:
  • take the best move from a position calculation, calculate the position resulting from this move too and add it to the tree.
  • add the positions of games played with Cerebellum.
  • add positions which are played regularly in engine or human games.
  • add famous games which are considered to be important for chess theory.
  • add lines which leave the tree at some point but re-enter it after some moves.

Post Reply