Toolkit to train a net without gensfen nor selfplay

Moderators: Elijah, Igbo, timetraveller

deeds
I've been banned!
Points: 6 000,00 
Posts: 246
Joined: 08/11/2019, 7:32
Status: Offline (Active 1 Year, 9 Months, 1 Day, 16 Hours, 50 Minutes ago)
Topics: 12
Reputation: 218
1
Location: France
Been thanked: 288 times

Toolkit to train a net without gensfen nor selfplay

Post by deeds »

Hi all ! I plan to offer some private tools to reuse available data in order to train some nets.

First tool => nnue_eval : https://mega.nz/folder/OtRRlSLZ#ZfmDUuDTI7NIRQcdqcX6SA

Enjoy !
IbaiBuR
Administrators
Points: 7 707,00 
Forum Contributions
Posts: 149
Joined: 05/01/2021, 15:29
Status: Offline (Active 14 Hours, 30 Minutes ago)
Topics: 6
Reputation: 251
Location: Madrid, ES
Has thanked: 64 times
Been thanked: 319 times

Toolkit to train a net without gensfen nor selfplay

Post by IbaiBuR »

Thanks a lot for your tool! It is very simple to use and I have always wanted to train a net based on pgns but had failed rescoring with different programs. It is great that you shared this.
hazsan88
Forum Contributions
Points: 6 000,00 
Posts: 130
Joined: 23/11/2019, 19:48
Status: Offline (Active 1 Year, 7 Months, 10 Hours, 59 Minutes ago)
Topics: 2
Reputation: 196
Has thanked: 16 times
Been thanked: 204 times

Toolkit to train a net without gensfen nor selfplay

Post by hazsan88 »

Thank you very much for the tool that's shared
then, how to convert Plain Text into Bin :?:

xrf01
deeds
I've been banned!
Points: 6 000,00 
Posts: 246
Joined: 08/11/2019, 7:32
Status: Offline (Active 1 Year, 9 Months, 1 Day, 16 Hours, 50 Minutes ago)
Topics: 12
Reputation: 218
1
Location: France
Been thanked: 288 times

Toolkit to train a net without gensfen nor selfplay

Post by deeds »

My pleasure !

From PLAIN TEXT format to NNUE BIN format, you can use the (LEARN) CONVERT_BIN command from any NODCHIP executables.
ZamChess
I've been banned!
Points: 6 000,00 
Posts: 1828
Joined: 05/11/2019, 6:35
Status: Offline (Active 1 Year, 3 Months, 3 Weeks, 5 Days, 1 Hour, 21 Minutes ago)
Topics: 318
Reputation: 2765
1
Location: ARMONIA
Has thanked: 2241 times
Been thanked: 3120 times

Toolkit to train a net without gensfen nor selfplay

Post by ZamChess »

deeds wrote:My pleasure !

From PLAIN TEXT format to NNUE BIN format, you can use the (LEARN) CONVERT_BIN command from any NODCHIP executables.
Where can I find NODCHIP executables ?...
ImageMake Someone Happy Today...
deeds
I've been banned!
Points: 6 000,00 
Posts: 246
Joined: 08/11/2019, 7:32
Status: Offline (Active 1 Year, 9 Months, 1 Day, 16 Hours, 50 Minutes ago)
Topics: 12
Reputation: 218
1
Location: France
Been thanked: 288 times

Toolkit to train a net without gensfen nor selfplay

Post by deeds »

IbaiBuR
Administrators
Points: 7 707,00 
Forum Contributions
Posts: 149
Joined: 05/01/2021, 15:29
Status: Offline (Active 14 Hours, 30 Minutes ago)
Topics: 6
Reputation: 251
Location: Madrid, ES
Has thanked: 64 times
Been thanked: 319 times

Toolkit to train a net without gensfen nor selfplay

Post by IbaiBuR »

Hello, is it possible to resume rescoring or not? It says 3 days left and I wont be able to have my laptop that time running.
deeds
I've been banned!
Points: 6 000,00 
Posts: 246
Joined: 08/11/2019, 7:32
Status: Offline (Active 1 Year, 9 Months, 1 Day, 16 Hours, 50 Minutes ago)
Topics: 12
Reputation: 218
1
Location: France
Been thanked: 288 times

Toolkit to train a net without gensfen nor selfplay

Post by deeds »

Hard to say like that ...

Scenario # 1: converting a single large PGN file
The tool is optimized for multitasking so you should split your large PGN file into several small PGN files.

Scenario # 2: converting multiple PGN files simultaneously
It will suffice to move the PGN+PLAIN files that are completed before restarting the process with the remaining PGN files.

There is a backdoor : create a file called override.ini and write the new ending date/time you want (by default the ending date/time is the starting date/time + 1 year). Then you have to move the PGN+PLAIN files that are completed.
IbaiBuR
Administrators
Points: 7 707,00 
Forum Contributions
Posts: 149
Joined: 05/01/2021, 15:29
Status: Offline (Active 14 Hours, 30 Minutes ago)
Topics: 6
Reputation: 251
Location: Madrid, ES
Has thanked: 64 times
Been thanked: 319 times

Toolkit to train a net without gensfen nor selfplay

Post by IbaiBuR »

Ok thanks, I'll see. Another question, you suggest using multiple small pgns at the same time, but that will create several plain files. Is there a way to merge the plain files? Thanks for your attention and kindness.
deeds
I've been banned!
Points: 6 000,00 
Posts: 246
Joined: 08/11/2019, 7:32
Status: Offline (Active 1 Year, 9 Months, 1 Day, 16 Hours, 50 Minutes ago)
Topics: 12
Reputation: 218
1
Location: France
Been thanked: 288 times

Toolkit to train a net without gensfen nor selfplay

Post by deeds »

yes then you can combine your PLAIN TEXT files by a command like this :
copy /b *_plain.txt big_plain.txt
Last edited by deeds on 24/01/2021, 15:58, edited 1 time in total.
deeds
I've been banned!
Points: 6 000,00 
Posts: 246
Joined: 08/11/2019, 7:32
Status: Offline (Active 1 Year, 9 Months, 1 Day, 16 Hours, 50 Minutes ago)
Topics: 12
Reputation: 218
1
Location: France
Been thanked: 288 times

Toolkit to train a net without gensfen nor selfplay

Post by deeds »

Second tool => nnue_extract : https://mega.nz/folder/2ohFXYqY#JTLEKhVjypvyTRI5zFPenQ

ENJOY !
IbaiBuR
Administrators
Points: 7 707,00 
Forum Contributions
Posts: 149
Joined: 05/01/2021, 15:29
Status: Offline (Active 14 Hours, 30 Minutes ago)
Topics: 6
Reputation: 251
Location: Madrid, ES
Has thanked: 64 times
Been thanked: 319 times

Toolkit to train a net without gensfen nor selfplay

Post by IbaiBuR »

Oh ok I had no idea about that. Where do I need to run that command? In the cmd I guess.
deeds
I've been banned!
Points: 6 000,00 
Posts: 246
Joined: 08/11/2019, 7:32
Status: Offline (Active 1 Year, 9 Months, 1 Day, 16 Hours, 50 Minutes ago)
Topics: 12
Reputation: 218
1
Location: France
Been thanked: 288 times

Toolkit to train a net without gensfen nor selfplay

Post by deeds »

yes into a CMD command console.

or you can use this trick :
stockfish.x86-64-bmi2.halfkp_256x2-32-32.profile-learn.2020-08-30.exe
learn convert_bin check_invalid_fen 1 check_illegal_move 1 output_file_name train_me.bin 01_plain.txt
learn convert_bin check_invalid_fen 1 check_illegal_move 1 output_file_name train_me.bin 02_plain.txt
learn convert_bin check_invalid_fen 1 check_illegal_move 1 output_file_name train_me.bin 03_plain.txt
...
quit

But at the end of this, you keep several PLAIN TEXT files but all their data are stored into only one NNUE BIN file.
IbaiBuR
Administrators
Points: 7 707,00 
Forum Contributions
Posts: 149
Joined: 05/01/2021, 15:29
Status: Offline (Active 14 Hours, 30 Minutes ago)
Topics: 6
Reputation: 251
Location: Madrid, ES
Has thanked: 64 times
Been thanked: 319 times

Toolkit to train a net without gensfen nor selfplay

Post by IbaiBuR »

Ok thats easier for me. Thanks for your help a ton.I wouldnt have realised how to do it on my own.
deeds
I've been banned!
Points: 6 000,00 
Posts: 246
Joined: 08/11/2019, 7:32
Status: Offline (Active 1 Year, 9 Months, 1 Day, 16 Hours, 50 Minutes ago)
Topics: 12
Reputation: 218
1
Location: France
Been thanked: 288 times

Toolkit to train a net without gensfen nor selfplay

Post by deeds »

Post Reply

Return to “GUI's, Chess Utility, NNUE Free Networks”